[Bf-committers] mingw cmake Vista with cycles complains
Peter K.H. Gragert
pkhgragert at gmail.com
Tue Apr 10 08:33:58 CEST 2012
;-(
Trying to follow you advice (new mingw) ... cmake does not work anymore and
my old compilation cannot even use gcc
Now getting this:
CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "c:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: C:/BlenderSVN/cmake_all3/CMakeFiles/CMakeTmp
Run Build Command:c:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
c:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory
`C:/BlenderSVN/cmake_all3/CMakeFiles/CMakeTmp'
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\BlenderSVN\cmake_all3\CMakeFiles\CMakeTmp\CMakeFiles 1
De syntaxis van de bestandsnaam, mapnaam of volumenaam is onjuist.
Er is een fout opgetreden tijdens het verwerken van: \C:\Program.
De syntaxis van de bestandsnaam, mapnaam of volumenaam is onjuist.
Er is een fout opgetreden tijdens het verwerken van: 2.8\bin\cmake.exe\ -E
cmake_progress_report
C:\BlenderSVN\cmake_all3\CMakeFiles\CMakeTmp\CMakeFiles 1.
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory
`C:/BlenderSVN/cmake_all3/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
Will see if I am able to repair (have an image ... of C:)
Greetings
Peter
Op 9 april 2012 20:33 schreef Antony Riakiotakis <kalast at gmail.com> het
volgende:
> -j4 means "use 4 threads (jobs) for make execution". I am not sure if
> mingw32-make uses it properly but I have it there just in case..make
> on unix does use it. The WITH_IMAGE_OPENEXR exists for sure, even in
> cmakegui. Check for it because it is needed to compile openimageio. It
> seems though that your errors are compiler-conflict related. Make sure
> you have the latest MinGW installed, that you have MinGW in your path
> and that you use the MinGW makefile generator for cmake. A clean
> build(delete everything from your build directory) with the correct
> parameters may be needed or some libraries may still reference
> functions for another compiler.
>
> About the command line, yes, it's a batch file located in the build
> directory. My own directory structure is blender/ , blender-build/ ,
> lib/ and build.bat in C:/src/ To build I simply double click
> build.bat. The batch file also does an automatic update of svn(needs
> latest tortoisesvn with command line tools option during install to
> work) and prints the latest changes from svn. In the end I also strip
> the executables to make them smaller. The entire contents of the file
> are:
>
>
> cd c:\src\blender
> svn log -r BASE:HEAD
> svn up
>
> cd c:\src\blender-build
>
> del CMakeCache.txt
> cmake -G "MinGW Makefiles" -DWITH_RAYOPTIMIZATION=ON
> -DWITH_CODEC_FFMPEG=ON -DWITH_PLAYER=ON -DWITH_IMAGE_OPENEXR=ON
> -DWITH_OPENCOLLADA=ON -DWITH_CYCLES=ON -DWITH_CYCLES_CUDA_BINARIES=ON
> -DWITH_MOD_OCEANSIM=ON -DWITH_FFTW3=ON -DWITH_LIBMV=ON ..\blender
> mingw32-make install -j4
> cd bin
> strip blender.exe
> strip blenderplayer.exe
> cd ..\..\
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list