Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ConDotBones123 opened this issue Mar 24, 2017 · 4 comments
Open

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

ConDotBones123 opened this issue Mar 24, 2017 · 4 comments

Comments

@ConDotBones123
Copy link

ConDotBones123 commented Mar 24, 2017

@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
Copy link
Owner

cnlohr commented Mar 25, 2017

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

@ConDotBones123
Copy link
Author

Ubuntu 12.04(32-bit).

@cnlohr
Copy link
Owner

cnlohr commented Mar 25, 2017

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
Copy link
Author

Ok. Thanks for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants