cnlohr / noeuclid

Non-euclidean GPU Raytraced Game
BSD 3-Clause "New" or "Revised" License
644 stars 48 forks source link

Compile issue(Error 1) when compiling on linux virtualbox #39

Open ConDotBones123 opened 7 years ago

ConDotBones123 commented 7 years ago

@phiresky tried to get this to work on my linux virtualbox, and got this error:

g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o noeuclid.o noeuclid.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o GameMap.o GameMap.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o Map.o Map.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o OGLParts.o OGLParts.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o Room.o Room.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o RTHelper.o RTHelper.cpp g++ -std=c++11 -DGLEW_STATIC -DGL_GLEXT_PROTOTYPES -g -Wall -O2 -c -o scripthelpers.o scripthelpers.cpp cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ make: [GameMap.o] Error 1 make: Waiting for unfinished jobs.... make: [noeuclid.o] Error 1 make: [Map.o] Error 1 make: [OGLParts.o] Error 1 make: [Room.o] Error 1 make: [RTHelper.o] Error 1 make: [scripthelpers.o] Error 1

I'm not familiar with c++ so I have no idea what to do.

cnlohr commented 7 years ago

You probably need a newer installation of Linux. What Linux OS are you using?

ConDotBones123 commented 7 years ago

Ubuntu 12.04(32-bit).

cnlohr commented 7 years ago

ooph. You're going to have to use something much more modern. It wasn't my decision to use C++11, but you'll probably need at least 16.04.

ConDotBones123 commented 7 years ago

Ok. Thanks for your time!