As per my previous post 'Using g++ and cc in conjunction', I am now
attempting to compile my simulation using g++. I am getting the following
output during the compile stage of my simulation build. I have no clue what
the error is and why the build stopped. Can anyone tell me why I received
the error?
g++ -o /usr/people/adam/HIDA/SWIFT++_version/obj/hidaObject.o -c
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp -O2 -Wall -I/usr/pe
ople/adam/HIDA/SWIFT++_version/include -I/usr/local/STI/GHOST/lib -I/usr/loc
al/STI/GHOST/externalLibs/stl -I/usr/local/STI/GHOST/helperLibs/reset_screen
-I/usr/local/STI/GHOST/helperLibs/pmouse/inc -I/usr/local/STI/GHOST/extern
alLibs/collide/SWIFT++_1.1_g++/include -I/usr/local/STI/GHOST/externalLibs/
GLUIv2.0 -I/usr/local/STI/GHOST/externalLibs/glut-3.7/include
In file included from /usr/local/STI/GHOST/lib/gstErrorHandler.h:28,
from /usr/local/STI/GHOST/lib/gstTransformMatrix.h:31,
from /usr/local/STI/GHOST/lib/gstTransform.h:30,
from
/usr/people/adam/HIDA/SWIFT++_version/include/hidaObject.h:16,
from
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp:2:
/usr/local/STI/GHOST/lib/gstVector.h: In method `double
gstVector::distance(const gstPoint &)':
/usr/local/STI/GHOST/lib/gstVector.h:183: warning: unused variable `class
gstVector proj2'
In file included from /usr/local/STI/GHOST/lib/gstSpatialObject.h:49,
from /usr/local/STI/GHOST/lib/gstPlane.h:37,
from /usr/local/STI/GHOST/lib/gstShape.h:46,
from /usr/local/STI/GHOST/lib/gstBoundary.h:33,
from /usr/local/STI/GHOST/lib/gstBoundaryCube.h:30,
from
/usr/people/adam/HIDA/SWIFT++_version/include/GHOST.h:3,
from
/usr/people/adam/HIDA/SWIFT++_version/include/coda_math.h:4,
from
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp:3:
/usr/local/STI/GHOST/lib/gstLine.h: At top level:
/usr/local/STI/GHOST/lib/gstLine.h:149: declaration of `typedef class
gstLineBase gstLine::_Inherited'
/usr/local/STI/GHOST/lib/gstLine.h:41: conflicts with previous declaration
`typedef class gstLineBase gstLine::_Inherited'
In file included from
/usr/people/adam/HIDA/SWIFT++_version/include/GHOST.h:12,
from
/usr/people/adam/HIDA/SWIFT++_version/include/coda_math.h:4,
from
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp:3:
/usr/local/STI/GHOST/lib/gstScene.h: In method `void gstScene::lock()':
/usr/local/STI/GHOST/lib/gstScene.h:60: implicit declaration of function
`int Sleep(...)'
In file included from /usr/local/STI/GHOST/externalLibs/stl/hash_map.h:31,
from /usr/local/STI/GHOST/lib/gstVertex.h:25,
from
/usr/people/adam/HIDA/SWIFT++_version/include/GHOST.h:16,
from
/usr/people/adam/HIDA/SWIFT++_version/include/coda_math.h:4,
from
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp:3:
/usr/local/STI/GHOST/externalLibs/stl/stl_hashtable.h: At top level:
/usr/local/STI/GHOST/externalLibs/stl/stl_hashtable.h:150: warning: decimal
integer constant is so large that it is unsigned
/usr/local/STI/GHOST/externalLibs/stl/stl_hashtable.h:150: warning: decimal
integer constant is so large that it is unsigned
/usr/local/STI/GHOST/lib/gstErrorHandler.h:47: warning: `gstBoolean
printErrorMessage' defined but not used
/usr/people/adam/HIDA/SWIFT++_version/src/hidaObject.cpp:15: warning: `int
number_created' defined but not used
*** Error code 1 (bu21)
I apologize if I am posting in the wrong group.
Thanks in advance for the help,
Adam