-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
Hey all, trying to just get started with the project but I keep running into weird errors right off the bat.
- Downloaded OF for Windows and extracted onto my external drive in my dev folder.
- Ran the project generator, platform was set to Windows (VS) and Template was OpenGL 4.3 Emscriptem. Also to note - there were 2 sets of Emscriptem options in dropdown - so there are 2 OpenGL 4.3s. I tried the first one.
- Opened the generated project folder, only found a
.vcxproj
file -- opened that. - I get the following error from Visual Studio 2022:
I tried the process again with a different template (VS Code) and the project generated with only .make
files and no source files. Also tried the second OpenGL 4.3 option in the dropdown with Visual Studio - same results as the first time.
So then I moved on to using the examples.
- Opened the "emptyExample" folder (
examples\templates\emptyExample
). - Opened the
.sln
file there. - Tried building the project in VS 2022, got the following error:
Severity Code Description Project File Line Suppression State
Error MSB3191 Unable to create directory "E:\Development\C++\of_v0.12.1_vs_64_release\examples\templates\emptyExample\obj\x64\Debug\Build\C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\modules\Debug". The given path's format is not supported. emptyExample C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets 1016
I checked the Project Settings and it seems the output folder is correct (you can see it in the error) - but for some reason Visual Studio keeps appending the VS path to it - which causes the error since it's adding to "Program Files" folder. I can't seem to find a reference to it anywhere in VS settings or the .make
files.
Metadata
Metadata
Assignees
Labels
No labels