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

[arch] build fails - lwop_ivec3 not defined #70

Closed
marinjurjevic opened this issue May 28, 2020 · 2 comments
Closed

[arch] build fails - lwop_ivec3 not defined #70

marinjurjevic opened this issue May 28, 2020 · 2 comments

Comments

@marinjurjevic
Copy link

I have glm-0.9.9.8-1 installed. Build fails on following file/line:

error log
 Build files have been written to: /home/marin/magnum-root/magnum-integration/build
[3/4] Building CXX object src/Magnum/GlmIntegration...eFiles/GlmIntegrationTest.dir/IntegrationTest.cpp.o
FAILED: src/Magnum/GlmIntegration/Test/CMakeFiles/GlmIntegrationTest.dir/IntegrationTest.cpp.o 
/usr/bin/c++  -DCORRADE_IS_DEBUG_BUILD -I../src -Isrc -isystem /usr/include/MagnumExternal/OpenGL -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g   -std=c++11 -Wall -Wextra -Wold-style-cast -Winit-self -Werror=return-type -Wmissing-declarations -Wpedantic -fvisibility=hidden -fvisibility-inlines-hidden -Wzero-as-null-pointer-constant -Wdouble-promotion -MD -MT src/Magnum/GlmIntegration/Test/CMakeFiles/GlmIntegrationTest.dir/IntegrationTest.cpp.o -MF src/Magnum/GlmIntegration/Test/CMakeFiles/GlmIntegrationTest.dir/IntegrationTest.cpp.o.d -o src/Magnum/GlmIntegration/Test/CMakeFiles/GlmIntegrationTest.dir/IntegrationTest.cpp.o -c ../src/Magnum/GlmIntegration/Test/IntegrationTest.cpp
../src/Magnum/GlmIntegration/Test/IntegrationTest.cpp: In member function ‘void Magnum::GlmIntegration::Test::{anonymous}::IntegrationTest::debugVec()’:
../src/Magnum/GlmIntegration/Test/IntegrationTest.cpp:470:25: error: ‘lowp_ivec3’ is not a member of ‘glm’; did you mean ‘lowp_dvec3’?
  470 |     Debug{&out} << glm::lowp_ivec3{1, 42, -3};
      |                         ^~~~~~~~~~
      |                         lowp_dvec3
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

I have searched for this lowp_ivec3 and on my machine it is defined in /usr/include/glm/gtc/type_precision.hpp:1295

On the official API doc of type_precision.hpp, in that same file type is not defined nor mentioned.
After some digging, I found in API docs that lwop_ivec3 is defined in glm/ext/vector_int3_precision.hpp.

I am totally confused now, I honestly just want build to pass at this point.

@marinjurjevic marinjurjevic changed the title [arch] build fails [arch] build fails - lwop_ivec3 not defined May 28, 2020
@mosra mosra added this to the 2020.0a milestone May 28, 2020
@marinjurjevic
Copy link
Author

marinjurjevic commented May 28, 2020

Well, it seems API docs are relative to 0.9.9.7 version which is the one available to download from official website...
Is there anywhere info on which library versions are specific (magnum) repos depending on?

@mosra
Copy link
Owner

mosra commented May 28, 2020

I have no idea either, these types just disappeared in the latest release and nothing in the changelog mentioned them (as usual).

I had fixed this locally for quite some while, but forgot to push it -- sorry about that. Should be working with 63084d6 again.

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

No branches or pull requests

2 participants