[MacPorts] #71978: ode build failure: collision_trimesh_internal.cpp:178: error: expected primary-expression before ‘)’ token
MacPorts
noreply at macports.org
Thu Jan 30 14:37:12 UTC 2025
#71978: ode build failure: collision_trimesh_internal.cpp:178: error: expected
primary-expression before ‘)’ token
--------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: ode
--------------------------+------------------------
{{{
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../include
-I../../include -D__ODE__ -I../../ou/include -I../../OPCODE
-I../../OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE -DdLIBCCD_ENABLED
-I../../libccd/src/custom -DdLIBCCD_SYSTEM -DdLIBCCD_BOX_CYL
-DdLIBCCD_CYL_CYL -DdLIBCCD_CAP_CYL -DdLIBCCD_CONVEX_BOX
-DdLIBCCD_CONVEX_CAP -DdLIBCCD_CONVEX_CYL -DdLIBCCD_CONVEX_SPHERE
-DdLIBCCD_CONVEX_CONVEX -I/opt/local/include -pipe -Os -arch ppc -MT
collision_trimesh_trimesh.lo -MD -MP -MF
.deps/collision_trimesh_trimesh.Tpo -c collision_trimesh_trimesh.cpp
-fno-common -DPIC -o .libs/collision_trimesh_trimesh.o
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateStorageSizeForTriangleCount(unsigned
int)’:
collision_trimesh_internal.cpp:178: error: expected primary-expression
before ‘)’ token
collision_trimesh_internal.cpp:178: error: expected `)' before ‘sizeof’
collision_trimesh_internal.cpp:178: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:178: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:179: error: expected primary-expression
before ‘)’ token
collision_trimesh_internal.cpp:179: error: expected `)' before numeric
constant
collision_trimesh_internal.cpp:179: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:179: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateTriangleCountForStorageSize(sizeint)’:
collision_trimesh_internal.cpp:187: error: expected primary-expression
before ‘)’ token
collision_trimesh_internal.cpp:187: error: expected `)' before ‘sizeof’
collision_trimesh_internal.cpp:187: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:187: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:188: error: expected primary-expression
before ‘)’ token
collision_trimesh_internal.cpp:188: error: expected `)' before numeric
constant
collision_trimesh_internal.cpp:188: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp:188: error: expected `)' before ‘;’ token
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateTriangleCountForStorageSize(sizeint)
[with TStorageCodec = FaceAngleStorageCodec<unsigned char, SSI__MIN>]’:
collision_trimesh_internal.cpp:276: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI__MIN>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec =
FaceAngleStorageCodec<unsigned char, SSI__MIN>]’
collision_trimesh_internal.cpp:339: instantiated from here
collision_trimesh_internal.cpp:187: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:187: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:188: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:188: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateStorageSizeForTriangleCount(unsigned
int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI__MIN>]’:
collision_trimesh_internal.cpp:284: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI__MIN>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec =
FaceAngleStorageCodec<unsigned char, SSI__MIN>]’
collision_trimesh_internal.cpp:339: instantiated from here
collision_trimesh_internal.cpp:178: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:178: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:179: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:179: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateTriangleCountForStorageSize(sizeint)
[with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI_POSITIVE_STORED>]’:
collision_trimesh_internal.cpp:276: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI_POSITIVE_STORED>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec =
FaceAngleStorageCodec<unsigned char, SSI_POSITIVE_STORED>]’
collision_trimesh_internal.cpp:340: instantiated from here
collision_trimesh_internal.cpp:187: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:187: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:188: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:188: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateStorageSizeForTriangleCount(unsigned
int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI_POSITIVE_STORED>]’:
collision_trimesh_internal.cpp:284: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<unsigned char,
SSI_POSITIVE_STORED>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec =
FaceAngleStorageCodec<unsigned char, SSI_POSITIVE_STORED>]’
collision_trimesh_internal.cpp:340: instantiated from here
collision_trimesh_internal.cpp:178: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:178: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:179: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:179: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateTriangleCountForStorageSize(sizeint)
[with TStorageCodec = FaceAngleStorageCodec<short unsigned int,
SSI__MIN>]’:
collision_trimesh_internal.cpp:276: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<short unsigned
int, SSI__MIN>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec = FaceAngleStorageCodec<short
unsigned int, SSI__MIN>]’
collision_trimesh_internal.cpp:341: instantiated from here
collision_trimesh_internal.cpp:187: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:187: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:188: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:188: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp: In static member function ‘static sizeint
FaceAnglesWrapper<TStorageCodec>::calculateStorageSizeForTriangleCount(unsigned
int) [with TStorageCodec = FaceAngleStorageCodec<short unsigned int,
SSI__MIN>]’:
collision_trimesh_internal.cpp:284: instantiated from ‘static bool
FaceAnglesWrapper<TStorageCodec>::calculateInstanceSizeRequired(sizeint&,
unsigned int) [with TStorageCodec = FaceAngleStorageCodec<short unsigned
int, SSI__MIN>]’
collision_trimesh_internal.cpp:247: instantiated from ‘static
IFaceAngleStorageControl*
FaceAnglesWrapper<TStorageCodec>::allocateInstance(unsigned int,
IFaceAngleStorageView*&) [with TStorageCodec = FaceAngleStorageCodec<short
unsigned int, SSI__MIN>]’
collision_trimesh_internal.cpp:341: instantiated from here
collision_trimesh_internal.cpp:178: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:178: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
collision_trimesh_internal.cpp:179: error: dependent-name
‘FaceAnglesWrapper<TStorageCodec>::StorageRecord’ is parsed as a non-type,
but instantiation yields a type
collision_trimesh_internal.cpp:179: note: say ‘typename
FaceAnglesWrapper<TStorageCodec>::StorageRecord’ if a type is meant
gnumake[4]: *** [collision_trimesh_internal.lo] Error 1
gnumake[4]: *** Waiting for unfinished jobs....
mv -f .deps/threading_impl.Tpo .deps/threading_impl.Plo
mv -f .deps/util.Tpo .deps/util.Plo
mv -f .deps/timer.Tpo .deps/timer.Plo
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../include
-I../../include -D__ODE__ -I../../ou/include -I../../OPCODE
-I../../OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE -DdLIBCCD_ENABLED
-I../../libccd/src/custom -DdLIBCCD_SYSTEM -DdLIBCCD_BOX_CYL
-DdLIBCCD_CYL_CYL -DdLIBCCD_CAP_CYL -DdLIBCCD_CONVEX_BOX
-DdLIBCCD_CONVEX_CAP -DdLIBCCD_CONVEX_CYL -DdLIBCCD_CONVEX_SPHERE
-DdLIBCCD_CONVEX_CONVEX -I/opt/local/include -pipe -Os -arch ppc -MT
collision_trimesh_opcode.lo -MD -MP -MF .deps/collision_trimesh_opcode.Tpo
-c collision_trimesh_opcode.cpp -o collision_trimesh_opcode.o >/dev/null
2>&1
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../include
-I../../include -D__ODE__ -I../../ou/include -I../../OPCODE
-I../../OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE -DdLIBCCD_ENABLED
-I../../libccd/src/custom -DdLIBCCD_SYSTEM -DdLIBCCD_BOX_CYL
-DdLIBCCD_CYL_CYL -DdLIBCCD_CAP_CYL -DdLIBCCD_CONVEX_BOX
-DdLIBCCD_CONVEX_CAP -DdLIBCCD_CONVEX_CYL -DdLIBCCD_CONVEX_SPHERE
-DdLIBCCD_CONVEX_CONVEX -I/opt/local/include -pipe -Os -arch ppc -MT
collision_trimesh_trimesh.lo -MD -MP -MF
.deps/collision_trimesh_trimesh.Tpo -c collision_trimesh_trimesh.cpp -o
collision_trimesh_trimesh.o >/dev/null 2>&1
mv -f .deps/collision_trimesh_trimesh.Tpo
.deps/collision_trimesh_trimesh.Plo
mv -f .deps/collision_trimesh_opcode.Tpo
.deps/collision_trimesh_opcode.Plo
gnumake[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6/ode/src'
gnumake[3]: *** [all-recursive] Error 1
gnumake[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6/ode/src'
gnumake[2]: *** [all] Error 2
gnumake[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6/ode/src'
gnumake[1]: *** [all-recursive] Error 1
gnumake[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6/ode'
gnumake: *** [all-recursive] Error 1
gnumake: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ode/ode/work/ode-0.16.6"
&& /usr/bin/gnumake -j6 -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71978>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list