Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'SOLUTION_DIR' does not name a type #5

Open
mustafimo opened this issue Jan 28, 2022 · 3 comments
Open

error: 'SOLUTION_DIR' does not name a type #5

mustafimo opened this issue Jan 28, 2022 · 3 comments

Comments

@mustafimo
Copy link

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

@liurui39660
Copy link
Owner

I think you need to use CMake, as SOLUTION_DIR is configured by CMakeLists.txt.

@mustafimo
Copy link
Author

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

@liurui39660
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants