[Bf-committers] Compiling Blender on CodeBlocks/MinGW
Campbell Barton
ideasman42 at gmail.com
Fri May 21 16:11:16 CEST 2010
this was requested on IRC today.
Take a look at CMakeList.txt:270 - 440
The flags used look like they are only for MSVC, Im guessing someone
could look at scons build flags for mingw and copy to CMake.
Just have a check for mingw / msvc.
On Fri, May 21, 2010 at 4:03 PM, Raul Fernandez Hernandez
<raulf at info.upr.edu.cu> wrote:
> Hi
>
> I generate the Makefiles and the CodeBlocks files with CMake without
> problems but when I compile the project in Codeblocks I get this errors
>
>
>
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:45: error:
> `__int64' does not name a type
> mingw32-make.exe[1]: Leaving directory `C:/Users/Raul/Desktop'
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:46: error:
> `__int64' does not name a type
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:438: error:
> `GHOST_TUns64' does not name a type
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:439: error:
> `GHOST_TUns64' does not name a type
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:443: error:
> `GHOST_TUns64' does not name a type
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:444: error:
> `GHOST_TUns64' does not name a type
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:492: error:
> `GHOST_TUns64' has not been declared
> C:/Blender_Build/blenderSVN/intern/ghost/./GHOST_Types.h:492: error: ISO
> C++ forbids declaration of `time' with no type
> mingw32-make.exe[2]: ***
> [intern/ghost/CMakeFiles/bf_ghost.dir/intern/GHOST_Buttons.cpp.obj] Error
> 1
> mingw32-make.exe[1]: *** [intern/ghost/CMakeFiles/bf_ghost.dir/all] Error 2
> mingw32-make.exe: *** [all] Error 2
> Process terminated with status 2 (0 minutes, 17 seconds)
> 8 errors, 11 warnings
>
> any help/hint? I'm compiling on Win7 64 bits
>
> Cheers Farsthary
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
--
- Campbell
More information about the Bf-committers
mailing list