I am trying to install gazebo-0.8-pre2 on Mac OS 10.5.2. When I run
scons, I get an error, saying that OGRE is not installed. However, I
installed the OGRE 1.4.7 SDK for Mac OSX. Part of the error msg is:
Package OGRE was not found in the pkg-config search path.
Perhaps you should add the directory containing `OGRE.pc'
But there is no 'OGRE.pc' on my entire harddrive. This file is only in
the OGRE 1.4.7 Source for Linux / OSX, but the source-installation
doesnt compile as well. Btw, "pkg-config" has not been available in
the first place, so I installed it from source.
With ode-0.9 its not much different. When compiling, I get a lot of
warnings, like:
drawstuff.cpp:200: warning: deprecated conversion from string constant
to ‘char*’
The make ends with errors:
...
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:64:
error: conflicting declaration ‘typedef uint32_t uint32’
../../include/ode/config.h:348: error: ‘uint32’ has a previous
declaration as ‘typedef short unsigned int uint32’
...
make[2]: *** [libdrawstuff_a-osx.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Did anyone get this running on Mac OS? What could be the problem?
Ulrich
some console logs:
-----------------------------------------------------------------------------------------------
mbp-2:gazebo-0.8-pre2 daddy$ scons
scons: Reading SConscript files ...
detected CPU atributes:
Checking for [pkg-config --cflags --libs OGRE]
Package OGRE was not found in the pkg-config search path.
Perhaps you should add the directory containing `OGRE.pc'
to the PKG_CONFIG_PATH environment variable
No package 'OGRE' found
Unable to parse config [pkg-config --cflags --libs OGRE]
Ogre3d and development files are required, but not found.
http://www.ogre3d.org/
--
mbp-2:ode-0.9 daddy$ make
Making all in include
Making all in ode
make all-am
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all-am'.
Making all in drawstuff
Making all in src
g++ -DHAVE_CONFIG_H -I. -I../../include/ode -g -I../../include -
I../../include -g -I/usr/X11/include -L/usr/X11/lib -MT libdrawstuff_a-
drawstuff.o -MD -MP -MF .deps/libdrawstuff_a-drawstuff.Tpo -c -o
libdrawstuff_a-drawstuff.o `test -f 'drawstuff.cpp' || echo
'./'`drawstuff.cpp
drawstuff.cpp: In function ‘void skipWhiteSpace(char*, FILE*)’:
drawstuff.cpp:142: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp:148: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp: In function ‘int readNumber(char*, FILE*)’:
drawstuff.cpp:169: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp: In constructor ‘Image::Image(char*)’:
drawstuff.cpp:182: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp:186: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp:198: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp:200: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp:217: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp: In function ‘void dsStartGraphics(int, int,
dsFunctions*)’:
drawstuff.cpp:893: warning: deprecated conversion from string constant
to ‘char*’
drawstuff.cpp: In function ‘void dsDrawFrame(int, int, dsFunctions*,
int)’:
drawstuff.cpp:1079: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsSimulationLoop(int, char**, int,
int, dsFunctions*)’:
drawstuff.cpp:1260: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp:1273: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsSetViewpoint(float*, float*)’:
drawstuff.cpp:1284: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsGetViewpoint(float*, float*)’:
drawstuff.cpp:1301: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsSetTexture(int)’:
drawstuff.cpp:1317: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsSetColor(float, float, float)’:
drawstuff.cpp:1324: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsSetColorAlpha(float, float, float,
float)’:
drawstuff.cpp:1335: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawBox(const float*, const float*,
const float*)’:
drawstuff.cpp:1346: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawConvex(const float*, const
float*, float*, unsigned int, float*, unsigned int, unsigned int*)’:
drawstuff.cpp:1370: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawSphere(const float*, const
float*, float)’:
drawstuff.cpp:1391: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawTriangle(const float*, const
float*, const float*, const float*, const float*, int)’:
drawstuff.cpp:1428: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawCylinder(const float*, const
float*, float, float)’:
drawstuff.cpp:1440: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawCapsule(const float*, const
float*, float, float)’:
drawstuff.cpp:1462: warning: deprecated conversion from string
constant to ‘char*’
drawstuff.cpp: In function ‘void dsDrawConvexD(const double*, const
double*, double*, unsigned int, double*, unsigned int, unsigned int*)’:
drawstuff.cpp:1512: warning: deprecated conversion from string
constant to ‘char*’
mv -f .deps/libdrawstuff_a-drawstuff.Tpo .deps/libdrawstuff_a-
drawstuff.Po
g++ -DHAVE_CONFIG_H -I. -I../../include/ode -g -I../../include -
I../../include -g -I/usr/X11/include -L/usr/X11/lib -MT libdrawstuff_a-
osx.o -MD -MP -MF .deps/libdrawstuff_a-osx.Tpo -c -o libdrawstuff_a-
osx.o `test -f 'osx.cpp' || echo './'`osx.cpp
In file included from /System/Library/Frameworks/Security.framework/
Headers/Security.h:24,
from /System/Library/Frameworks/
CoreServices.framework/Frameworks/LaunchServices.framework/Headers/
LSSharedFileList.h:32,
from /System/Library/Frameworks/
CoreServices.framework/Frameworks/LaunchServices.framework/Headers/
LaunchServices.h:37,
from /System/Library/Frameworks/
CoreServices.framework/Headers/CoreServices.h:41,
from /System/Library/Frameworks/Carbon.framework/
Headers/Carbon.h:20,
from osx.cpp:42:
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:64:
error: conflicting declaration ‘typedef uint32_t uint32’
../../include/ode/config.h:348: error: ‘uint32’ has a previous
declaration as ‘typedef short unsigned int uint32’
osx.cpp: In function ‘void dsError(char*, ...)’:
osx.cpp:106: warning: deprecated conversion from string constant to
‘char*’
osx.cpp: In function ‘void dsDebug(char*, ...)’:
osx.cpp:115: warning: deprecated conversion from string constant to
‘char*’
osx.cpp: In function ‘void captureFrame(int)’:
osx.cpp:136: warning: deprecated conversion from string constant to
‘char*’
osx.cpp: In function ‘OSStatus
osxKeyEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)’:
osx.cpp:183: warning: ‘long int GetScriptVariable(short int, short
int)’ is deprecated (declared at /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
Script.h:1174)
osx.cpp:183: warning: ‘long int GetScriptVariable(short int, short
int)’ is deprecated (declared at /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
Script.h:1174)
osx.cpp:186: warning: ‘void UppercaseText(char*, short int,
ScriptCode)’ is deprecated (declared at /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
TextUtils.h:323)
osx.cpp:186: warning: ‘void UppercaseText(char*, short int,
ScriptCode)’ is deprecated (declared at /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
TextUtils.h:323)
osx.cpp: In function ‘void osxCloseMainWindow()’:
osx.cpp:318: warning: ‘GLboolean aglSetDrawable(__AGLContextRec*,
OpaqueGrafPtr*)’ is deprecated (declared at /System/Library/Frameworks/
AGL.framework/Headers/agl.h:322)
osx.cpp:318: warning: ‘GLboolean aglSetDrawable(__AGLContextRec*,
OpaqueGrafPtr*)’ is deprecated (declared at /System/Library/Frameworks/
AGL.framework/Headers/agl.h:322)
osx.cpp:324: warning: ‘OSStatus ReleaseWindow(OpaqueWindowPtr*)’ is
deprecated (declared at /System/Library/Frameworks/Carbon.framework/
Frameworks/HIToolbox.framework/Headers/MacWindows.h:11118)
osx.cpp:324: warning: ‘OSStatus ReleaseWindow(OpaqueWindowPtr*)’ is
deprecated (declared at /System/Library/Frameworks/Carbon.framework/
Frameworks/HIToolbox.framework/Headers/MacWindows.h:11118)
osx.cpp: In function ‘void osxCreateMainWindow(int, int)’:
osx.cpp:387: warning: ‘AGLDevice’ is deprecated (declared at /System/
Library/Frameworks/AGL.framework/Headers/agl.h:53)
osx.cpp:387: warning: ‘GDevice** GetMainDevice()’ is deprecated
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/QuickdrawAPI.h:3314)
osx.cpp:387: warning: ‘GDevice** GetMainDevice()’ is deprecated
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/QD.framework/Headers/QuickdrawAPI.h:3314)
osx.cpp:442: warning: ‘GLboolean aglSetDrawable(__AGLContextRec*,
OpaqueGrafPtr*)’ is deprecated (declared at /System/Library/Frameworks/
AGL.framework/Headers/agl.h:322)
osx.cpp:442: warning: ‘GLboolean aglSetDrawable(__AGLContextRec*,
OpaqueGrafPtr*)’ is deprecated (declared at /System/Library/Frameworks/
AGL.framework/Headers/agl.h:322)
make[2]: *** [libdrawstuff_a-osx.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
|