[Bf-committers] Multiple compiling errors with libraries (-lpng, lfreetype, -ltiff)
Kursad Karatas
gonderici at plecxus.com
Sun Dec 2 05:34:25 CET 2012
Hi
I am trying to build the latest Blender svn on Windows using
Mingw-32bit, Cmake, Eclipse(Indigo) and also with QtCreator. For some
reason I am unable to past this stage. Qtcreator gives me the exact same
message. I was not able to compile with Scons either.
I have compiled the Boost1.49 libraries with Bjam for Mingw, and
additional zlib and png libs(tried different version) and they are all
residing in standard MingGW folders but those steps did not help me
either. I have all the Blender external libs from svn repos (mingw,
mingw64 and windows). And I know that there are png libs there. I am
really puzzled that it cannot find the png. I have directed Eclipse to
add the -l directive with png libs (tried multiple versions). but that
did not do much either. The compiler compiles %100 then after linking
stage I believe I am stuck.
I am wondering if anyone else on the list had similar compiler issues.
Maybe it is a configuration problem. I am not able to distinguish the
issue at this point. I am not sure if this is directly to do with the
png or tiff libraries.
Here is the Cmake skips
Blender Skipping:
(bf_collada;bf_intern_ctr;bf_intern_elbeem;bf_intern_smoke;cycles_bvh;cycles_device;cycles_kernel;cycles_render;cycles_subd;
cycles_util;extern_bullet;extern_recastnavigation;extern_redcode;ge_blen_routines;ge_converter;ge_logic;ge_logic_expressions;ge_logic_ketsji;
ge_logic_loopbacknetwork;ge_logic_network;ge_logic_ngnetwork;ge_oglrasterizer;ge_phys_bullet;ge_phys_common;ge_phys_dummy;ge_rasterizer;ge_scenegraph;ge_videotex)
Compiler error
"
\..\lib\libbf_intern_itasc.a ..\..\lib\libextern_carve.a -lopengl32
-lglu32 -lpng -lz -lfreetype
C:\DEV_SOURCES\blender-svn\blender\..\lib\mingw32\python\lib\python33mw.lib
-lwrap_oal -lSDL -ltiff -lOpenImageIO -lboost_date_time-mgw46-mt-s-1_49
-lboost_filesystem-mgw46-mt-s-1_49 -lboost_regex-mgw46-mt-s-1_49
-lboost_system-mgw46-mt-s-1_49 -lboost_thread-mgw46-mt-s-1_49
-lboost_filesystem-mgw46-mt-sd-1_49 -lboost_regex-mgw46-mt-sd-1_49
-lboost_system-mgw46-mt-sd-1_49 -lboost_thread-mgw46-mt-sd-1_49
-llibjpeg -lHalf -lIlmImf -lImath -lIlmThread -lIex -lpthreadGC2
-lshell32 -lshfolder -lgdi32 -lmsvcrt -lwinmm -lmingw32 -lm -lws2_32 -lz
-lstdc++ -lole32 -luuid -lwsock32 -lpsapi
c:/devtools/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
cannot find -lpng
c:/devtools/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
cannot find -lfreetype
c:/devtools/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
cannot find -ltiff
C:\DEV_SOURCES\blender-svn\blender\..\lib\mingw32\openimageio\lib/OpenImageIO.lib(CMakeFiles/OpenImageIO.dir/imagebufalgo_yee.cpp.obj):(.text[_powf]+0x0):
multiple definition of `powf'
mingw32-make[2]: Leaving directory
`C:/DEV_SOURCES/blender-svn/Cmake_Eclipse_MinGW32'
mingw32-make[1]: Leaving directory
`C:/DEV_SOURCES/blender-svn/Cmake_Eclipse_MinGW32'
..\..\lib\libcycles_kernel.a(kernel.cpp.obj):kernel.cpp:(.text$powf[_powf]+0x0):
first defined here
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/blender.exe] Error 1
mingw32-make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
mingw32-make: *** [all] Error 2
"
thanks
k
More information about the Bf-committers
mailing list