Hi guys.
First, thank you quarnster (and any other developer I’m not aware of) for this incredibly useful plugin.
I’m attempting to switch from VS to Sublime for all my C++ coding needs on Win7. I’ve successfully built my C++ code from within SLT2 using MSVC. The functionality I miss the most that’s left to integrate is code competition / checking. I’ve been following this plugin for awhile and unfortunately I do not know enough to figure this one out. I’ve researched and have attempted numerous times but to no avail. Please help.
I’m writing a game and have my code separated into two directories under a single folder.
F:/Game/EngineCode
“” / “” /GameCode
My VS install is standard.
Whenever I open a game source file, clang freaks out claiming that it cannot find any includes. Here is my sublime options and project settings.
[code]{
“folders”:
{
"path": "/F/C4-2.10/VisualStudio2012/C4"
},
{
"path": "/F/C4-2.10/EngineCode"
},
{
"path": "/F/C4-2.10/GameCode"
}
],
"settings":
{
"sublimeclang_options":
"-IF:/C4-2.10/EngineCode"
]
}
}[/code]
"options":
"-isystem", "F:/C4-2.10/EngineCode",
"-IF:/C4-2.10/GameCode",
"-ferror-limit=0",
"-Wall"
],
And for the strange part. In my game code, sometimes it will report the file locations with their directory slash reversed. It’s not uncommon to see
F:\Game\GameCode/someFile.h:19,10 - Fatal - ‘someInclude.h’ file not found (“someInclude” is not ever in the same directory as “someFile”).
If anyone would assist I’d be very grateful.
Thank you in advanced.
JM