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

linux mint install error #159

Closed
axaluss opened this issue Mar 4, 2014 · 3 comments
Closed

linux mint install error #159

axaluss opened this issue Mar 4, 2014 · 3 comments

Comments

@axaluss
Copy link

axaluss commented Mar 4, 2014

When i install openspades as described like that: https://gist.github.com/axaluss/9353193
i get this error in the last step:
https://gist.github.com/axaluss/9353176

Ubuntu / Linux Mint
3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@7histle
Copy link

7histle commented Mar 4, 2014

Hi! I have similar (same?) problem with build (#152), I am getting this error

/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.h: In constructor ‘spades::draw::SWRenderer::SWRenderer(spades::draw::SWPort*, spades::draw::SWFeatureLevel)’:
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.h:126:9: warning: ‘spades::draw::SWRenderer::duringSceneRendering’ will be initialized after [-Wreorder]
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.h:52:19: warning:   ‘spades::draw::SWFeatureLevel spades::draw::SWRenderer::featureLevel’ [-Wreorder]
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp:44:3: warning:   when initialized here [-Wreorder]
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp: In lambda function:
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp:671:46: error: could not convert ‘{0, (int)screenSize}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<int, 2ul>’
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp:687:8: error: could not convert ‘{trans.spades::draw::SWRenderer::AddLight(const spades::client::DynamicLightParam&)::<lambda(float, float, float, float)>::<lambda(float)>(((cx * cy) - dist)), (int)screenSize}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<int, 2ul>’
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp:692:8: error: could not convert ‘{0, trans.spades::draw::SWRenderer::AddLight(const spades::client::DynamicLightParam&)::<lambda(float, float, float, float)>::<lambda(float)>(((cx * cy) + dist))}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<int, 2ul>’
/home/dmk/data/src/openspades/Sources/Draw/SWRenderer.cpp:698:7: error: could not convert ‘{trans.spades::draw::SWRenderer::AddLight(const spades::client::DynamicLightParam&)::<lambda(float, float, float, float)>::<lambda(float)>(((cx * cy) - dist)), trans.spades::draw::SWRenderer::AddLight(const spades::client::DynamicLightParam&)::<lambda(float, float, float, float)>::<lambda(float)>(((cx * cy) + dist))}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<int, 2ul>’

@axaluss
Copy link
Author

axaluss commented Mar 4, 2014

yes looks like same/similar error

@VelocityRa
Copy link
Collaborator

Fixed (see more info in the issue above)

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

3 participants