error: 'SOLUTION_DIR' does not name a type
hello when i try to run your code its shows me this error: 'SOLUTION_DIR' does not name a type, do you have any suggestions ?
BR
I think you need to use CMake, as SOLUTION_DIR is configured by CMakeLists.txt.
thank you os much for your quick answers, I tried to run it with Cmake and also didn't work I might have issue with my configuration PS D:\Mustafa\Data\SNNDPC-master\SNNDPC-master> cmake -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" -S . -B build\release CMake Error at CMakeLists.txt:3 (PROJECT): Running
'nmake' '-?'
failed with:
The system cannot find the file specified
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!
i have checked my Cmake tools and all works fine except its not working in visual studio
If you don't use Visual Studio, then it may not be able to find nmake generator. I also don't Visual Studio, but I have ninja build installed (and in PATH of course), so my -G argument is -G Ninja.