Not sure what’s going on but suddenly I’m having troubles building with emscripten. I can generate the build files with cmake_emscripten.bat, but while building I get this error:
[code]-- Check for working C compiler: F:/Emscripten/python/2.7.5.3_64bit/python.exe – broken
CMake Error at F:/msys64/mingw64/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler “F:/Emscripten/python/2.7.5.3_64bit/python.exe” is not able
to compile a simple test program.
It fails with the following output:
Change Dir: F:/Urho3D/Master/BuildEmscripten/Source/Urho3D/tolua+±prefix/src/tolua+±build/CMakeFiles/CMakeTmp
Run Build Command:“F:/msys64/mingw64/bin/mingw32-make.exe”
“cmTC_b45c6/fast”
mingw32-make.exe[4]: Entering directory
’F:/Urho3D/Master/BuildEmscripten/Source/Urho3D/tolua+±prefix/src/tolua+±build/CMakeFiles/CMakeTmp’
F:/msys64/mingw64/bin/mingw32-make.exe -f
CMakeFiles\cmTC_b45c6.dir\build.make CMakeFiles/cmTC_b45c6.dir/build
mingw32-make.exe[5]: Entering directory
’F:/Urho3D/Master/BuildEmscripten/Source/Urho3D/tolua+±prefix/src/tolua+±build/CMakeFiles/CMakeTmp’
Building C object CMakeFiles/cmTC_b45c6.dir/testCCompiler.c.obj
F:\Emscripten\python\2.7.5.3_64bit\python.exe
’F:\Emscripten\emscripten\1.35.0\emcc’ -o
CMakeFiles\cmTC_b45c6.dir\testCCompiler.c.obj -c
F:\Urho3D\Master\BuildEmscripten\Source\Urho3D\tolua+±prefix\src\tolua+±build\CMakeFiles\CMakeTmp\testCCompiler.c
Linking C executable cmTC_b45c6.exe
F:\msys64\mingw64\bin\cmake.exe -E cmake_link_script
CMakeFiles\cmTC_b45c6.dir\link.txt --verbose=1
F:\Emscripten\python\2.7.5.3_64bit\python.exe
’F:\Emscripten\emscripten\1.35.0\emcc’
CMakeFiles/cmTC_b45c6.dir/testCCompiler.c.obj -o cmTC_b45c6.exe
F:\Emscripten\python\2.7.5.3_64bit\python.exe: can’t open file
’‘F:\Emscripten\emscripten\1.35.0\emcc’’: [Errno 22] Invalid argument
CMakeFiles\cmTC_b45c6.dir\build.make:96: recipe for target 'cmTC_b45c6.exe’
failed
mingw32-make.exe[5]: *** [cmTC_b45c6.exe] Error 2
mingw32-make.exe[5]: Leaving directory
’F:/Urho3D/Master/BuildEmscripten/Source/Urho3D/tolua+±prefix/src/tolua+±build/CMakeFiles/CMakeTmp’
clang.exe: warningcipe for target ‘cmTC_b45c6/fast’ failed
mingw32-make.exe[4]: *** [cmTC_b45c6/fast] Error 2
mingw32-make.exe[4]: Leaving directory
: 'F:/Urho3D/Master/BuildEmscripten/Source/Urho3D/tolua+±prefix/src/tolua+±build/CMargument unused during compilation: ‘-mno-sse’
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:45 (project)
[/code]