No quite sure (I don’t use Mac) but I believe it could have to do with the fact that you dont really have a “debug” version (if you don’t build one yourself) of Panda3D coming with the SDK.
Did you try build that in “release” mode ?
[EDIT]
ups didn’t see rdb had already answered
[/EDIT]
I have included:
panda3d/includes
panda3d/lib
and the python header files of python2.5
I am not exactly sure what this means but I typed the following command
touch t.c; gcc -arch i386 t.c
it gives this:
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Thanks for any help.
I just try to build while working in Code Blocks. Still learning about different settings so I might have some wrong settings…using default values at this point.
First you create an empty t.c file, and then you try to compile it. But the linker errors because you don’t have a main function - of course, because it’s empty.
But I don’t see how this is related to anything. You just need to set the appropriate linker definitions, so that your compiler links against the Panda3D libraries.
I finally got the linker settings correct…I think. I was putting the search folders in the compiler section that needed to be put in the linker settings.
Now I only get warnings related to 64 bit architecture…
warning: option -s is obsolete and being ignored
warning: in /Developer/Panda/lib/libp3framework.dylib, missing required architecture x86_64 in file
and several more of the exact same warning but related to different dylib files.