You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a beginner developer who's recently started learning the basics of programming and compilation. I've come across a question about compilation that might be quite basic, but I'm still confused. I'm hoping experienced developers can help me with this. Here I have a question regarding compiling on Windows.I'm trying to compile slang in MSYS2, and it's showing a lack of header file paths.
Then I added the following content to the CMakeList.txt file in the root directory. include_directories(${PROJECT_SOURCE_DIR}/build/source
After re-executing the above steps, the problem still persists. It can be seen that the compilation command does not include '-I'.
I'm not sure if I've written the header file path correctly. Should I try compiling using a different method on Windows, such as using Visual Studio?
Any explanations about compilation, resource links, or suggestions would be highly appreciated. Thank you for your support!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm a beginner developer who's recently started learning the basics of programming and compilation. I've come across a question about compilation that might be quite basic, but I'm still confused. I'm hoping experienced developers can help me with this. Here I have a question regarding compiling on Windows.I'm trying to compile slang in MSYS2, and it's showing a lack of header file paths.
Then I added the following content to the CMakeList.txt file in the root directory.
include_directories(${PROJECT_SOURCE_DIR}/build/source
After re-executing the above steps, the problem still persists. It can be seen that the compilation command does not include '-I'.
I'm not sure if I've written the header file path correctly. Should I try compiling using a different method on Windows, such as using Visual Studio?
Any explanations about compilation, resource links, or suggestions would be highly appreciated. Thank you for your support!
Beta Was this translation helpful? Give feedback.
All reactions