-
July 11th, 2013, 02:39 AM
#1
Compiling blender with mingw64 / mingw32-make.exe
Code:
In file included from E:\blender\source\intern\guardedalloc/MEM_guardedalloc.h:63:0,
from E:\blender\source\source\gameengine\BlenderRoutines\KX_BlenderGL.cpp:48:
c:\progra~1\mingw-~1\x64-47~1.2-p\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include
/stdio.h:343:5: error: previous declaration of 'int _snprintf(char*, size_t, const char*, ...)' with 'C++' linkage
In file included from E:\blender\source\intern\guardedalloc/MEM_guardedalloc.h:63:0,
from E:\blender\source\source\gameengine\BlenderRoutines\KX_BlenderGL.cpp:48:
c:\progra~1\mingw-~1\x64-47~1.2-p\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include
/stdio.h:538:110: error: conflicts with new declaration with 'C' linkage
source\gameengine\BlenderRoutines\CMakeFiles\ge_blen_routines.dir\build.make:122: recipe for target 'source/gameengine/B
lenderRoutines/CMakeFiles/ge_blen_routines.dir/KX_BlenderGL.cpp.obj' failed
mingw32-make[3]: *** [source/gameengine/BlenderRoutines/CMakeFiles/ge_blen_routines.dir/KX_BlenderGL.cpp.obj] Error 1
CMakeFiles\Makefile2:3672: recipe for target 'source/gameengine/BlenderRoutines/CMakeFiles/ge_blen_routines.dir/all' fai
led
mingw32-make[2]: *** [source/gameengine/BlenderRoutines/CMakeFiles/ge_blen_routines.dir/all] Error 2
makefile:142: recipe for target 'all' failed
mingw32-make[1]: *** [all] Error 2
A second question, how can I graphically debug blender with mingw64?
Thanks
Jack
-
July 11th, 2013, 05:12 PM
#2
Re: Compiling blender with mingw64 / mingw32-make.exe
Since your code doesn't build a debugger session isn't possible. If it build's, use gdb (make sure to compile with debug flags) to debug it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|