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

sb6render #14

Open
sajis997 opened this issue Mar 24, 2014 · 0 comments
Open

sb6render #14

sajis997 opened this issue Mar 24, 2014 · 0 comments

Comments

@sajis997
Copy link

Having the following error if i want to compile the "sb6mrender":

////////////////////////////////////////////////////////////////////////////
[ 71%] Building CXX object CMakeFiles/sb6mrender.dir/src/sb6mrender/sb6mrender.cpp.o
In file included from /home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/src/sb6mrender/sb6mrender.cpp:25:0:
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/vmath.h: In instantiation of ‘vmath::Tquaternion::’:
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/vmath.h:677:5: instantiated from ‘vmath::Tquaternion’
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/arcball.h:112:25: instantiated from here
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/vmath.h:682:25: error: member ‘vmath::Tvec3 vmath::Tquaternion::::::v’ with constructor not allowed in union
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/vmath.h:682:25: error: member ‘vmath::Tvec3 vmath::Tquaternion::::::v’ with copy assignment operator not allowed in union
/home/sajjad/Downloads/OpenGL/SuperBible/code/sb6code/include/vmath.h:682:25: note: unrestricted unions only available with -std=c++0x or -std=gnu++0x
make[2]: *** [CMakeFiles/sb6mrender.dir/src/sb6mrender/sb6mrender.cpp.o] Error 1
make[1]: *** [CMakeFiles/sb6mrender.dir/all] Error 2
make: *** [all] Error 2

///////////////////////////////////////////////////////////////////////////

Any way to get rid of it ? Do i have to edit the Makefile ?

Thanks

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

1 participant