Issue with my dev environment, during compile it cannot find files
A while ago we started writing a Sourcemod, originally our sourcemod dependencies were just in the include folder of our project.
After a while, we divided our include folder into include/engine containing sourcemod and include/thirdparty to include other libraries. On my computer, Visiual Studio is unable to compile. It gives an error: Code:
\scripting\include\engine/json.inc(40) : fatal error 183: cannot read from file: "json/definitions" My co-author doesn't have this issue and doesn't remember changing any config. So I don't understand why I'm having issues. Is there a config for the Visual Studio Sourcemod plugin where you need to change a sourcemod path or something? I've checked and don't see any. :/ |
Re: Issue with my dev environment, during compile it cannot find files
The relative include path behaviour is different pre-1.11 between Linux and Windows (due to a bug).
|
Re: Issue with my dev environment, during compile it cannot find files
Quote:
|
Re: Issue with my dev environment, during compile it cannot find files
My preferred approach here is to have third-party includes in a separate directory within the project, then pass -i to specify the additional include paths.
Not sure how well your IDE of choice handles project-specific compile flags though; I have my own mostly free-standing build tooling for it. |
Re: Issue with my dev environment, during compile it cannot find files
1 Attachment(s)
...pure guess.
From project "properties", try add folder in here "Additional Include Directories" Attachment 194939 |
All times are GMT -4. The time now is 04:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.