[Bf-committers] scons, Xcode, Make errors
Vio
vmilitaru at sympatico.ca
Sat Jul 30 19:31:29 CEST 2005
I am no Mac guy, but generically speaking, linker errors usually mean
that you forgot
to include some lib in the linker command. General syntax is (in linux,
at least):
-L/path/to/lib/dir -llibname
in scons you usually add the path to 'LIBPATH' and the libname to 'LIBS'
in your
SConscript or SConstruct file. Your big question will be to find out in
what libs are those
missing symbols making a living, then edit your SConscript or SConstruct
file accordingly.
Blenders' scons files do look somewhat complicated, perhaps because of
the multi-platform nature
of the beast.
Hope this helps a little. Good luck!
vio
Jasper Mine wrote:
> Using gcc4:
> /usr/bin/ld: Undefined symbols:
> std::__default_alloc_template<true, 0>::deallocate(void*,
> unsigned long)
> std::__default_alloc_template<true, 0>::_S_free_list
> __ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
> __ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
> std::__default_alloc_template<true, 0>::allocate(unsigned long)
> collect2: ld returned 1 exit status
> make[1]: *** [/Volumes/MacFilez/Development/Blender/blender/obj/
> darwin-8.2.0-powerpc/bin/blender] Error 1
> make: *** [all] Error 1
>
>
> Using gcc3.3:
> ld: Undefined symbols:
> _printf$LDBLStub
> _fprintf$LDBLStub
> _fscanf$LDBLStub
> _sscanf$LDBLStub
> make[1]: *** [/Volumes/MacFilez/Development/Blender/blender/obj/
> darwin-8.2.0-powerpc/bin/blender] Error 1
> make: *** [all] Error 1
More information about the Bf-committers
mailing list