Has anyone been able to compile projects from older solutions in Visual Studio 2017? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Has anyone been able to compile projects from older solutions in Visual Studio 2017?

More specificaly in C++? Everytime it converts the solution to 2017, there are some files it cannot find when I compile. For example, assert.h is never found, even though it is in the solution path! This is getting annoying.

7th Jun 2017, 9:35 PM
Karl T.
Karl T. - avatar
23 Answers
+ 9
fatal error C1083: cannot open include file 'assert.h" : no such file or directory. Win7 64bits, as for the sdk Ive tried Windows 8.1, and Windows 10 with the same results.
7th Jun 2017, 11:25 PM
Karl T.
Karl T. - avatar
+ 9
@Manual, DirectX Win 64 apps mostly. But this project is not mine. I'm trying to compile Doom 3's source code with some added modifications in it. The project version is VS 2010 I think.
8th Jun 2017, 6:46 AM
Karl T.
Karl T. - avatar
+ 9
I was not able to compile Unreal's engine...the batch installer files kept failing. Too bad because I really like the code structure, it is really OOP, unlike ID's codes. My XP count is a palindromic number, 23332. lol :D
22nd Jun 2017, 12:31 PM
Karl T.
Karl T. - avatar
+ 8
Not long a couple of weeks.
8th Jun 2017, 7:30 AM
Karl T.
Karl T. - avatar
+ 8
Finally got the thing to compile! After hours of research on stackoverflow, I have found that I needed to install the Universal CRT lib in VS 2017 because it was not installed by default. I'm currently working on Id Tech Engine (Quake/RTCW/Doom 3 engines) mod. I want to port it to Android eventually.
22nd Jun 2017, 8:37 AM
Karl T.
Karl T. - avatar
+ 7
Yes luka.
7th Jun 2017, 11:15 PM
Karl T.
Karl T. - avatar
+ 7
I've stopped working on it the code just won't compile. Doom 3's source is over 600 000 lines of code including the tools. xD
8th Jun 2017, 5:33 PM
Karl T.
Karl T. - avatar
+ 7
The CRT was obtained from the VS2017 installer. Just had to check it.
22nd Jun 2017, 11:49 AM
Karl T.
Karl T. - avatar
+ 7
Yeah.The version of Unity on the installer is not the latest though, I think.
22nd Jun 2017, 11:55 AM
Karl T.
Karl T. - avatar
+ 6
One of my assignments in my online course was to make a solar system simulation with Unity. It's almost done. I will post the WebGL link in a project here in a few days prolly.
22nd Jun 2017, 12:03 PM
Karl T.
Karl T. - avatar
+ 6
VS 2017 is so buggy it's unbelievable...I updated it and it would not start so I uninstalled it. Tried 4 times to reinstall it but it would fail everytime. I feel like installing pirated version damn you Microsoft. =/
26th Jun 2017, 4:37 PM
Karl T.
Karl T. - avatar
+ 5
That sounds cool. I have not moded games or used DirectX on visual studio yet. How long have you been working on that project?
8th Jun 2017, 6:58 AM
Manual
Manual - avatar
+ 5
@Karl T From the installer. That makes sense, I got the unity from the VS installer and other game tools.
22nd Jun 2017, 11:54 AM
Manual
Manual - avatar
+ 4
@Helioform what kind of projects have you made? And what version of Visual Studio did it last compile in?
8th Jun 2017, 6:37 AM
Manual
Manual - avatar
+ 4
How much progress have you made on it so far? How large is the source code?
8th Jun 2017, 4:44 PM
Manual
Manual - avatar
+ 4
Could you create an assert.h of your own by making a header using the "assert.h" source code from a copy of the library? using #ifndef and #endef.
8th Jun 2017, 7:09 PM
Manual
Manual - avatar
+ 4
@Karl T Very nice👌 I am trying to get the basics of windows programing. I used OpenCV 3 recently to open images from C++ code. It went well!
22nd Jun 2017, 11:46 AM
Manual
Manual - avatar
+ 4
Sounds cool! After I download the library I will check out the Unity. And maybe Unreal for C++.
22nd Jun 2017, 12:19 PM
Manual
Manual - avatar
+ 4
@Manual How did you open pictures in c++?
22nd Jun 2017, 4:44 PM
Luyanda
Luyanda - avatar
+ 3
Did you get the library from github?
22nd Jun 2017, 11:47 AM
Manual
Manual - avatar