Closed Jatts-Art closed 6 years ago
Uninstall express and install community edition instead. And make sure you have the Visual C++ component installed.
GitHub Issues is not really a place to put build problems for future reference.
The issues your seeing are more likely something external from a bad install of VS which aren't related to OpenJK. You should also be not using "Win64" option for CMake, its unnecessary for building this game and not compatible with most/any mods.
The reason I went with Express in the first place was due to the guide I was following here: https://jkhub.org/tutorials/article/145-compiling-openjk-win32-must-read-for-new-coders/
As for other versions I can't really find them available anywhere online for 2013, should I go with 2017 even though I don't see it as an option in CMake? But thank you very much for the information regardless!
That tutorial should not be followed, it's old and not maintained. Use the wiki here instead. And you should use a newer version of cmake from their site if you want to use 2017. A batch file on the repository is merely convenience, and is not necessary. However a version that supports the corresponding VS is necessary.
I'm sorry for posting in this area even if it may not seem to be the best place to ask, but your responses have definitely helped! That being said, I followed what you said and everything built smoothly! Thanks alot, I think I'm good now!
Hey there, so I'm new to this and decided to try some modding experiments with OpenJK. First I managed to figure out how to setup a project using CMake and then open it using Visual Studio. Since I was only testing the waters, I had made zero changes to the content and then decided to build it... and then it gave me these 4 errors (along with many warnings) and says the "build failed" once it finishes. It seems most of the issue relates to line 68 as seen above, but sadly I don't know what the error actually is because like I said I'm new to this haha... so I was hoping someone here has an idea of what might be wrong? Like I said I made zero changes.
I'm using Windows 7 with Visual Studio Express 2013. Also used CMake version 3.10.1. This is what I generated for Visual Studio, in case that info helps too.