Hello,
I have a game which I originally wrote in DevCpp and Opengl2.0, but now I switched to Visual Studio (2010) and Opengl3.0, cause it allows a lot of things that are mandatory for making the game cool. I had to take VS cause there doesnt exist Devpack for anything else than OpenGl2. So I have run an OpenGl sample in VS2010, and everything is good. But when I loaded my game, it started to throw me a lot of errors, which DevCpp didnt throw, and instead it normally compiled. It is mainly error C2864: "only static const integral data members can be initialized within a class", but there are even some others. I know that I could fix it manually in program, but the rework would be brutal and time-consuming cause the project is BIG. I dont wanna do that. I just want the VS2010 compiler to behave like DevC++ one and normally do its job and compile it for me. I tried some additional command line options like /std=c++11 but it said it doesnt know them. I tried /O1 cause I read somewhere it helps (didnt). It would be really cool if there existed a solution cause I really dont want to manually recheck 70k+ lines (and make additional mistakes during it).
Please help
↧