Hi Boost Experts,
I am using boost geometry headers in our code. While compiling the code on
HPUX IA64 with +std=c++11 and +stl=gnu flags, we get a cryptic assembler
error.
Appreciate any help to understand/debug this error.
The testcase:
*bash-4.3$ cat geom1.cpp*
#include
#include
#include
#include
typedef boost::geometry::model::pointboost::geometry::degree > point_t;
typedef boost::geometry::model::linestring linestring_t;
typedef boost::geometry::model::multi_linestring
multilinestring_t;
using namespace std;
template
bool Inside(string one, string two)
{
T objOne;
S objTwo;
bool inside = false;
boost::geometry::read_wkt(one, objOne);
boost::geometry::read_wkt(two, objTwo);
inside = boost::geometry::within(objOne, objTwo);
return inside;
}
bool Inside(string wktOne, string wktTwo)
{
bool inside;
inside = Inside(wktOne, wktTwo);
return inside;
}
Compilation command:
*bash-4.3$ aCC -c +DD64 +std=c++11 +stl=gnu -I
geom1.cpp*
*ASM_BACKEND fatal error: symbol*
`_ZN5boost8geometry6detail7overlay27get_turn_info_linear_linearINS1_6relate5turns13assign_policyILb1EEEE22append_opposite_spikesILNS3_INS6_ILb1EEEE14append_versionE1ENS2_9turn_infoINS0_5model5pointIdLm2ENS0_2cs10geographicINS0_6degreeEEEEENS0_13segment_ratioIdEENS2_21turn_operation_linearINSB_IdLm2ENSD_ISE_EEEENSF_IdEEEENS_5arrayINSG_INSB_IdLm2ENSD_ISE_EEEENSF_IdEEEELm2EEEEENS2_17intersection_infoINS1_9get_turns29unique_sub_range_from_sectionILb0ENS0_7sectionINSA_3boxINSB_IdLm2ENSD_ISE_EEEEEELm2EEENSB_IdLm2ENSD_ISE_EEEENS0_22ever_circling_iteratorIN9__gnu_cxx17__normal_iteratorIPKNSB_IdLm2ENSD_ISE_EEEESt6vectorINSB_IdLm2ENSD_ISE_EEEESaINSB_IdLm2ENSD_ISE_EEEEEEEEEENS0_8strategy12intersection18spherical_segmentsIvEENS1_17no_rescale_policyEEENSK_ILb0ENSL_INSM_INSB_IdLm2ENSD_ISE_EEEEEELm2EEENSB_IdLm2ENSD_ISE_EEEENSN_INSP_ISR_SS_INSB_IdLm2ENSD_ISE_EEEESaINSB_IdLm2ENSD_ISE_EEEEEEEEEENSV_IvEESW_EENSB_IdLm2ENSD_ISE_EEEENSV_IvEESW_EESt20back_insert_iteratorISS_INS9_INSB_IdLm2ENSD_ISE_EEEENSF_IdEENSG_INSB_IdLm2ENSD_ISE_EEEENSF_IdEEEENSH_INSG_INSB_IdLm2ENSD_ISE_EEEENSF_IdEEEELm2EEEEESaINS9_INSB_IdLm2ENSD_ISE_EEEENSF_IdEENSG_INSB_IdLm2ENSD_ISE_EEEENSF_IdEEEENSH_INSG_INSB_IdLm2ENSD_ISE_EEEENSF_IdEEEELm2EEEEEEEEEEbRT0_RKT1_T2_'
already defined
Thanks,
Ananta