Hello Joe,
          Possibly because of the version of lib3ds.
          Try to install lib3ds-1.2.0 
[http://sourceforge.net/project/showfiles.php?group_id=4041] from source 
package, and then compile the gazebo again.
          Good luck!
         yang
         
[email protected] wrote:
> Hey,
> I am a noob to this forum so forgive me if I make some protocol errors. I am 
> trying to install Gazebo-0.7.0 on a new imac running Mac OS X 10.5 and am 
> having a lot of trouble. I went to the Mac OS X Gazebo install instructions 
> and 
> followed those but for some reason it didn't work.
> This is what i get when i run ./configure --prefix=/sw:
>
> roaming-195-103:gazebo-0.7.0 Joe$ ./configure --prefix=/sw
> checking build system type... i386-apple-darwin9.7.0
> checking host system type... i386-apple-darwin9.7.0
> checking target system type... i386-apple-darwin9.7.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU 
> ld... no
> checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload 
> object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for g77... no
> checking for xlf... no
> checking for f77... no
> checking for frt... no
> checking for pgf77... no
> checking for cf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for xlf90... no
> checking for f90... no
> checking for pgf90... no
> checking for pghpf... no
> checking for epcf90... no
> checking for gfortran... no
> checking for g95... no
> checking for xlf95... no
> checking for f95... no
> checking for fort... no
> checking for ifort... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for ftn... no
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether  accepts -g... no
> checking the maximum length of command line arguments... 196608
> checking command to parse /usr/bin/nm -p output from gcc object... rm: 
> conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking for correct ltmain.sh version... yes
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a 
> directory
> no
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a 
> directory
> yes
> checking if gcc static flag -static works... rm: conftest.dSYM: is a directory
> no
> checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory
> yes
> checking whether the gcc linker (/usr/libexec/gcc/i686-apple-
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin9.7.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU 
> ld... no
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple-
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fno-common
> checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a 
> directory
> yes
> checking if g++ static flag -static works... rm: conftest.dSYM: is a directory
> no
> checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory
> yes
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple-
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin9.7.0 dyld
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for stdint.h... (cached) yes
> checking for scandir... yes
> checking for poll... yes
> checking for dirname... yes
> checking for alphasort... yes
> checking for strndup... no
> checking for dlopen in -ldl... yes
> checking checking for union semun... yes
> checking GL/gl.h usability... yes
> checking GL/gl.h presence... yes
> checking for GL/gl.h... yes
> checking GL/glu.h usability... yes
> checking GL/glu.h presence... yes
> checking for GL/glu.h... yes
> checking GL/glut.h usability... yes
> checking GL/glut.h presence... yes
> checking for GL/glut.h... yes
> checking whether glXCreateGLXPbufferSGIX is declared... yes
> checking for xml2-config... yes
> checking for ode
> checking ode/ode.h usability... yes
> checking ode/ode.h presence... yes
> checking for ode/ode.h... yes
> checking for dWorldCreate in -lode... yes
> checking for dJointGetHinge2Anchor2 in -lode... yes
> checking for dGeomTriMeshDataCreate in -lode... yes
> checking for pkg-config... /sw/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GDK_PIXBUF... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for lib3ds-config... yes
> checking projects.h usability... yes
> checking projects.h presence... yes
> checking for projects.h... yes
> checking for PLAYER... yes
> checking for python... yes
> checking for swig... yes
> checking for python... (cached) yes
> checking gdal_priv.h usability... yes
> checking gdal_priv.h presence... yes
> checking for gdal_priv.h... yes
> checking for GDALAllRegister in -lgdal... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating worlds/Makefile
> config.status: creating replace/Makefile
> config.status: creating libgazebo/Makefile
> config.status: creating libgazebo/bindings/Makefile
> config.status: creating libgazebo/bindings/python/Makefile
> config.status: creating server/Makefile
> config.status: creating server/bodies/Makefile
> config.status: creating server/models/Makefile
> config.status: creating server/models/AvatarHeli/Makefile
> config.status: creating server/models/Blimp/Makefile
> config.status: creating server/models/CarChassis/Makefile
> config.status: creating server/models/ClodBuster/Makefile
> config.status: creating server/models/Factory/Makefile
> config.status: creating server/models/GarminGPS/Makefile
> config.status: creating server/models/GroundPlane/Makefile
> config.status: creating server/models/LightSource/Makefile
> config.status: creating server/models/MonoCam/Makefile
> config.status: creating server/models/Pioneer2AT/Makefile
> config.status: creating server/models/Pioneer2DX/Makefile
> config.status: creating server/models/PeopleBot/Makefile
> config.status: creating server/models/Road/Makefile
> config.status: creating server/models/SegwayRMP/Makefile
> config.status: creating server/models/Shrimp/Makefile
> config.status: creating server/models/SickLMS200/Makefile
> config.status: creating server/models/SimpleSolid/Makefile
> config.status: creating server/models/SkyDome/Makefile
> config.status: creating server/models/SonyVID30/Makefile
> config.status: creating server/models/CanonVCC4/Makefile
> config.status: creating server/models/StereoHead/Makefile
> config.status: creating server/models/Terrain/Makefile
> config.status: creating server/models/TruthWidget/Makefile
> config.status: creating server/models/WheelChair/Makefile
> config.status: creating server/models/Pioneer2Gripper/Makefile
> config.status: creating server/models/ObserverCam/Makefile
> config.status: creating server/models/B21R/Makefile
> config.status: creating server/models/Atrv/Makefile
> config.status: creating server/models/Bandit/Makefile
> config.status: creating server/sensors/Makefile
> config.status: creating server/sensors/Camera/Makefile
> config.status: creating server/sensors/RayProximity/Makefile
> config.status: creating gui/Makefile
> config.status: creating gui/wx/Makefile
> config.status: creating gui/wx/panels/Makefile
> config.status: creating examples/Makefile
> config.status: creating examples/plugins/Makefile
> config.status: creating examples/plugins/ExampleModel/Makefile
> config.status: creating examples/libgazebo/Makefile
> config.status: creating examples/libgazebo/simple/Makefile
> config.status: creating examples/libgazebo/python/Makefile
> config.status: creating utils/Makefile
> config.status: creating utils/builder/Makefile
> config.status: creating player/Makefile
> config.status: creating gazebo.pc
> config.status: creating config.h
> config.status: executing depfiles commands
>
> *************************************************************
>
> Gazebo will be built on a i386-apple-darwin9.7.0 system to run
> on a i386-apple-darwin9.7.0 system, with the following tools:
>     Preprocessor: -no-cpp-precomp -DGLX_GLXEXT_PROTOTYPES=1
>     C   compiler: gcc -g -O2
>     C++ compiler: g++ -g -g -O2
>
> Gazebo will build models using:
>     CPPFLAGS: -Wall -I. -I$(top_srcdir)/server -I$(top_srcdir)/server/bodies -
> I$(top_srcdir)/server/sensors -I$(top_srcdir)/server/gui -
> I$(top_srcdir)/libgazebo -I/sw/include/libxml2 -I/sw/include  -
> I/usr/local/include
>
> Gazebo will build sensors using:
>     CPPFLAGS: -Wall -I. -I$(top_srcdir)/server -I$(top_srcdir)/server/bodies -
> I$(top_srcdir)/server/sensors -I$(top_srcdir)/server/gui -
> I$(top_srcdir)/libgazebo -I/sw/include/libxml2 -I/sw/include  -
> I/usr/local/include
>
> Gazebo will build the server using:
>     CPPFLAGS: -Wall -I. -I$(top_srcdir)/replace -I$(top_srcdir)/libgazebo -
> I$(top_srcdir)/server -I$(top_srcdir)/server/bodies -
> I$(top_srcdir)/server/sensors -I$(top_srcdir)/libgazebo -I/sw/include/libxml2 
> -
> I/sw/include  -I/usr/local/include -I/sw/include/glib-2.0 -I/sw/lib/glib-
> 2.0/include -I/sw/include/gtk-2.0  
>     LDFLAGS: -L$(top_builddir)/libgazebo -L$(top_builddir)/server/bodies -
> L/usr/X11R6/lib
>     LDADD: -lm -lpthread  models/AvatarHeli/libavatarheli.a 
> models/Blimp/libblimp.a models/ClodBuster/libclodbuster.a 
> models/CarChassis/libcarchassis.a models/Factory/libfactory.a 
> models/GarminGPS/libgarmingps.a models/GroundPlane/libgroundplane.a 
> models/LightSource/liblightsource.a models/MonoCam/libmonocam.a 
> models/ObserverCam/libobservercam.a models/Pioneer2AT/libpioneer2at.a 
> models/Pioneer2DX/libpioneer2dx.a 
> models/Pioneer2Gripper/libpioneer2gripper.a models/PeopleBot/libpeoplebot.a 
> models/SegwayRMP/libsegwayrmp.a models/Shrimp/libshrimp.a 
> models/SickLMS200/libsicklms200.a models/SimpleSolid/libsimplesolid.a 
> models/SkyDome/libskydome.a models/SonyVID30/libsonyvid30.a 
> models/CanonVCC4/libcanonvcc4.a models/StereoHead/libstereohead.a 
> models/TruthWidget/libtruthwidget.a models/WheelChair/libwheelchair.a   
> models/Bandit/libbandit.a models/Road/libroad.a models/Terrain/libterrain.a  
> sensors/Camera/libcamera.a sensors/RayProximity/librayproximity.a             
>                      
> -lgazebobodies $(top_builddir)/replace/libreplace.a -lgazebo  -lX11 -lXi 
> -lXmu 
> -L/sw/lib -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -lode -lGL -lGLU -lglut -
> L/usr/local/lib -l3ds -lproj -L/sw/lib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -
> lgmodule-2.0 -lglib-2.0 -lintl -liconv  
>
> Gazebo will build Python bindings
>
> Gazebo will build wxgazebo (GUI)
>
> Gazebo will build the gzbuilder utility
>
> The following device models will be included:
>     AvatarHeli
>     Blimp
>     ClodBuster
>     CarChassis
>     Factory
>     GarminGPS
>     GroundPlane
>     LightSource
>     MonoCam
>     ObserverCam
>     Pioneer2AT
>     Pioneer2DX
>     Pioneer2Gripper
>     PeopleBot
>     SegwayRMP
>     Shrimp
>     SickLMS200
>     SimpleSolid
>     SkyDome
>     SonyVID30
>     CanonVCC4
>     StereoHead
>     TruthWidget
>     WheelChair
>     Bandit
>     Road
>     Terrain
>
> The following device sensors will be included:
>     camera
>     rayproximity
>
> The following device models will NOT be included:
>     B21R -- disabled by default; use --enable-b21r to enable
>     Atrv -- disabled by default; use --enable-atrv to enable
>
> The following device sensors will NOT be included:
>
> Gazebo will be installed in:
>     /sw/
>
> You can specify a different installation directory like this:
>     ./configure --prefix=<install dir>
>
> To see the other configuration options, do:
>     ./configure --help
>
> Apple OS X users should read the build instructions included in the manual:
>   http://playerstage.sourceforge.net/doc/
>
> When you're satisfied with the configuration, type 'make install'. 
>
> To me it seems like all the necessary components are there but when i run 
> make 
> this is what I get:
>
> roaming-195-103:gazebo-0.7.0 Joe$ make
> make  all-recursive
> Making all in .
> make[2]: Nothing to be done for `all-am'.
> Making all in replace
> make[2]: Nothing to be done for `all'.
> Making all in libgazebo
> Making all in .
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../replace -no-cpp-precomp -
> DGLX_GLXEXT_PROTOTYPES=1  -g -O2 -MT gz_server.o -MD -MP -MF 
> ".deps/gz_server.Tpo" \
>         -c -o gz_server.o `test -f 'gz_server.c' || echo './'`gz_server.c; \
>       then mv -f ".deps/gz_server.Tpo" ".deps/gz_server.Po"; \
>       else rm -f ".deps/gz_server.Tpo"; exit 1; \
>       fi
> rm -f libgazebo.a
> ar cru libgazebo.a gz_error.o gz_server.o gz_client.o gz_iface.o gz_sim.o 
> gz_camera.o gz_factory.o gz_fiducial.o gz_gripper.o gz_gps.o gz_guicam.o 
> gz_laser.o gz_position.o gz_power.o gz_ptz.o gz_sonar.o gz_stereo.o 
> gz_truth.o gz_wifi.o gz_joint.o gz_ir.o gz_actarray.o 
> ranlib libgazebo.a
> Making all in bindings
> Making all in python
> make  all-am
> python ./setup.py build
> running build
> running build_py
> running build_ext
> make[4]: Nothing to be done for `all-am'.
> Making all in server
> Making all in bodies
> if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -Wall -I. -I../../server 
> -I../../toolkit   -
> no-cpp-precomp -DGLX_GLXEXT_PROTOTYPES=1  -g -g -O2 -MT Geom.o -
> MD -MP -MF ".deps/Geom.Tpo" \
>         -c -o Geom.o `test -f 'Geom.cc' || echo './'`Geom.cc; \
>       then mv -f ".deps/Geom.Tpo" ".deps/Geom.Po"; \
>       else rm -f ".deps/Geom.Tpo"; exit 1; \
>       fi
> Geom.cc:43:25: error: lib3ds/file.h: No such file or directory
> Geom.cc:44:25: error: lib3ds/node.h: No such file or directory
> Geom.cc:45:25: error: lib3ds/mesh.h: No such file or directory
> Geom.cc:46:27: error: lib3ds/vector.h: No such file or directory
> Geom.cc:47:27: error: lib3ds/matrix.h: No such file or directory
> Geom.cc:48:29: error: lib3ds/material.h: No such file or directory
> Geom.cc: In destructor ‘virtual Geom::~Geom()’:
> Geom.cc:92: error: ‘lib3ds_file_free’ was not declared in this scope
> Geom.cc: In member function ‘int Geom::SetSkinFile(const char*)’:
> Geom.cc:210: error: ‘lib3ds_file_load’ was not declared in this scope
> Geom.cc:217: error: ‘lib3ds_file_eval’ was not declared in this scope
> Geom.cc: In member function ‘void Geom::RenderSkin(RenderOptions*)’:
> Geom.cc:505: error: invalid use of undefined type ‘struct _Lib3dsFile’
> Geom.hh:41: error: forward declaration of ‘struct _Lib3dsFile’
> Geom.cc:506: error: invalid use of undefined type ‘struct _Lib3dsFile’
> Geom.hh:41: error: forward declaration of ‘struct _Lib3dsFile’
> Geom.cc:506: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:508: error: invalid use of undefined type ‘struct _Lib3dsFile’
> Geom.hh:41: error: forward declaration of ‘struct _Lib3dsFile’
> Geom.cc:514: error: invalid use of undefined type ‘struct _Lib3dsFile’
> Geom.hh:41: error: forward declaration of ‘struct _Lib3dsFile’
> Geom.cc:514: error: invalid use of undefined type ‘struct _Lib3dsMesh’
> Geom.hh:42: error: forward declaration of ‘struct _Lib3dsMesh’
> Geom.cc: In member function ‘void Geom::RenderSkinNode(Lib3dsNode*)’:
> Geom.cc:541: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:541: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:544: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:544: error: ‘LIB3DS_OBJECT_NODE’ was not declared in this scope
> Geom.cc:546: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:567: error: ‘Lib3dsObjectData’ was not declared in this scope
> Geom.cc:567: error: ‘d’ was not declared in this scope
> Geom.cc:572: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:573: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:576: error: invalid use of undefined type ‘struct _Lib3dsNode’
> Geom.hh:40: error: forward declaration of ‘struct _Lib3dsNode’
> Geom.cc:576: error: ‘lib3ds_file_mesh_by_name’ was not declared in this scope
> Geom.cc: In member function ‘void Geom::RenderSkinMesh(Lib3dsMesh*)’:
> Geom.cc:597: error: ‘Lib3dsVector’ was not declared in this scope
> Geom.cc:597: error: ‘normalL’ was not declared in this scope
> Geom.cc:597: error: expected primary-expression before ‘)’ token
> Geom.cc:597: error: expected `;' before ‘malloc’
> Geom.cc:600: error: ‘Lib3dsMatrix’ was not declared in this scope
> Geom.cc:600: error: expected `;' before ‘M’
> Geom.cc:601: error: ‘M’ was not declared in this scope
> Geom.cc:601: error: invalid use of undefined type ‘struct _Lib3dsMesh’
> Geom.hh:42: error: forward declaration of ‘struct _Lib3dsMesh’
> Geom.cc:601: error: ‘lib3ds_matrix_copy’ was not declared in this scope
> Geom.cc:602: error: ‘lib3ds_matrix_inv’ was not declared in this scope
> Geom.cc:605: error: ‘lib3ds_mesh_calculate_normals’ was not declared in this 
> scope
> Geom.cc:607: error: invalid use of undefined type ‘struct _Lib3dsMesh’
> Geom.hh:42: error: forward declaration of ‘struct _Lib3dsMesh’
> Geom.cc:608: error: ‘Lib3dsFace’ was not declared in this scope
> Geom.cc:608: error: ‘f’ was not declared in this scope
> Geom.cc:608: error: invalid use of undefined type ‘struct _Lib3dsMesh’
> Geom.hh:42: error: forward declaration of ‘struct _Lib3dsMesh’
> Geom.cc:609: error: ‘Lib3dsMaterial’ was not declared in this scope
> Geom.cc:609: error: ‘mat’ was not declared in this scope
> Geom.cc:611: error: ‘lib3ds_file_material_by_name’ was not declared in this 
> scope
> Geom.cc:627: error: ‘Lib3dsRgba’ was not declared in this scope
> Geom.cc:627: error: expected `;' before ‘a’
> Geom.cc:628: error: expected `;' before ‘d’
> Geom.cc:629: error: expected `;' before ‘s’
> Geom.cc:630: error: ‘a’ was not declared in this scope
> Geom.cc:631: error: ‘d’ was not declared in this scope
> Geom.cc:632: error: ‘s’ was not declared in this scope
> Geom.cc:640: error: invalid use of undefined type ‘struct _Lib3dsMesh’
> Geom.hh:42: error: forward declaration of ‘struct _Lib3dsMesh’
> make[3]: *** [Geom.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I have looked around online but have not found a suitable answer to this 
> error. If 
> you need any additional information feel free to ask. Thank you ahead of time 
> for the help.
> Sincerely,
> Joe Adelmann
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>   

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to