Page 1 of 1

Generate Solution Error

Posted: Sat Jul 08, 2017 4:03 pm
by pati6op
Hello. I installed a visual studio, Smake. I press Generate Solution on my project and I get this error:

< CMake Error at CMakeLists.txt:2 (Project):
NMake MakeFiles
does not support platform specification, but platform x64 was specified.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage >

-- Building for: NMake Makefiles
-- Configuring incomplete, errors occurred!
See also "C:/Users/PaTi6op/Documents/CRYENGINE Projects/C++ Project/Solutions/Game.win_x64/CMakeFiles/CMakeOutput.log".
"C:\Program Files\CMake\bin\cmake.exe" "-Wno-dev" "-Ax64" "-DPROJECT_FILE:FILEPATH=C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\Game.cryproject" "-DCryEngine_DIR:PATH=C:\Program Files (x86)\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.3" "-DCMAKE_PREFIX_PATH:PATH=C:\Program Files (x86)\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.3\Tools\CMake\modules" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG:PATH=C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\bin/win_x64" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE:PATH=C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\bin/win_x64" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_MINSIZEREL:PATH=C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\bin/win_x64" "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO:PATH=C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\bin/win_x64" "C:\Users\PaTi6op\Documents\CRYENGINE Projects\C++ Project\Code"

What can be wrong?

Thank you in advance for your cooperation!

Re: Generate Solution Error

Posted: Sat Jul 08, 2017 5:23 pm
by Cry-Flare
hmm, Looks like cmake cannot find your compiler.

What version of cryengine are you using? github or launcher? 5.3.4?
Where did you install VS? what version 2015/2017? community/pro? (same drive even?)
Did you install the universal windows SDK when installing VS?


Can you post a dxdiag log,
and your cmakelists.txt file for your project.

Re: Generate Solution Error

Posted: Sat Jul 08, 2017 5:37 pm
by pati6op
I use the launcher, version 5.3.4
Visual studio installed from the official site, community 2017.

Not sure, like no, there was a choice of installing additional components to develop games on Unity, Unreal engine 4. Among them there was nothing about CE5.

If you tell me how to do what you ask, I will do it. I do not quite understand this.

Thank you for such a quick reaction to my problem and so quick help!

Re: Generate Solution Error

Posted: Sat Jul 08, 2017 6:59 pm
by pati6op
It seems the problem has been solved. I installed Visual Studio 2015 and it all worked.

Re: Generate Solution Error

Posted: Mon Oct 29, 2018 1:46 pm
by raffica
Image
The screenshot;
Actually not sent a report, for it is in fact not a crash. More exactly, it is a jam or lock.
I am only able to end it by taskmgr

Re: Generate Solution Error

Posted: Fri Nov 09, 2018 6:42 pm
by Cry-Flare
Hi there,

Glad you managed to sort it.
For future reference these should be the minimal components required for Visual Studio 2017 to build CRYENGINE 5.5 projects, or the engine with Sandbox:


VSMinimalComponents.PNG
VSMinimalComponents.PNG (127.08 KiB) Viewed 596 times