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

Ubuntu 18 - Compilation error using with glut and Mesa #733

Open
swkonz opened this issue Nov 8, 2018 · 1 comment
Open

Ubuntu 18 - Compilation error using with glut and Mesa #733

swkonz opened this issue Nov 8, 2018 · 1 comment

Comments

@swkonz
Copy link

swkonz commented Nov 8, 2018

Trying to build the desktop examples on Ubuntu 18 and getting an error:

make[4]: Entering directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
/usr/bin/make -f glm/CMakeFiles/glm_dummy.dir/build.make glm/CMakeFiles/glm_dummy.dir/depend
make[5]: Entering directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
cd /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build/glm /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build/glm/CMakeFiles/glm_dummy.dir/DependInfo.cmake --color=
Scanning dependencies of target glm_dummy
make[5]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
/usr/bin/make -f glm/CMakeFiles/glm_dummy.dir/build.make glm/CMakeFiles/glm_dummy.dir/build
make[5]: Entering directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
[ 66%] Building CXX object glm/CMakeFiles/glm_dummy.dir/detail/dummy.cpp.o
[ 66%] Building CXX object glm/CMakeFiles/glm_dummy.dir/detail/glm.cpp.o
cd /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build/glm && /usr/bin/c++  -D_CRT_SECURE_NO_WARNINGS -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/test/external -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/..  -O3 -DNDEBUG   -pedantic -O2 -std=gnu++11 -o CMakeFiles/glm_dummy.dir/detail/dummy.cpp.o -c /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/dummy.cpp
cd /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build/glm && /usr/bin/c++  -D_CRT_SECURE_NO_WARNINGS -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/test/external -I/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/..  -O3 -DNDEBUG   -pedantic -O2 -std=gnu++11 -o CMakeFiles/glm_dummy.dir/detail/glm.cpp.o -c /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/glm.cpp
In file included from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_int.hpp:6:0,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/fwd.hpp:6,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/glm.hpp:61,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/glm.cpp:4:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/setup.hpp:456:100: note: #pragma message: GLM: GCC older than 4.6 has a bug presenting the use of rgba and stpq components
 # pragma message("GLM: GCC older than 4.6 has a bug presenting the use of rgba and stpq components")
                                                                                                    ^
In file included from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4.inl:968:0,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4.hpp:453,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/vec4.hpp:6,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/glm.hpp:70,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/glm.cpp:4:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In static member function ‘static glm::tvec4<float, (glm::precision)5> glm::detail::compute_vec4_div<float, (glm::precision)5, true>::call(const glm::tvec4<float, (glm::precision)5>&, const glm::tvec4<float, (glm::precision)5>&)’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:156:11: error: ‘struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
    Result.data = _mm_mul_ps(a.data, _mm_rcp_ps(b.data));
           ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:156:31: error: ‘const struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
    Result.data = _mm_mul_ps(a.data, _mm_rcp_ps(b.data));
                               ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:156:50: error: ‘const struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
    Result.data = _mm_mul_ps(a.data, _mm_rcp_ps(b.data));
                                                  ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = float; glm::precision P = (glm::precision)5]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:367:3: error: class ‘glm::tvec4<float, (glm::precision)5>’ does not have any field named ‘data’
   data(_mm_set1_ps(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = float; glm::precision P = (glm::precision)4]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:372:3: error: class ‘glm::tvec4<float, (glm::precision)4>’ does not have any field named ‘data’
   data(_mm_set1_ps(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = float; glm::precision P = (glm::precision)3]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:377:3: error: class ‘glm::tvec4<float, (glm::precision)3>’ does not have any field named ‘data’
   data(_mm_set1_ps(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = int; glm::precision P = (glm::precision)5]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:399:3: error: class ‘glm::tvec4<int, (glm::precision)5>’ does not have any field named ‘data’
   data(_mm_set1_epi32(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = int; glm::precision P = (glm::precision)4]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:404:3: error: class ‘glm::tvec4<int, (glm::precision)4>’ does not have any field named ‘data’
   data(_mm_set1_epi32(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T) [with T = int; glm::precision P = (glm::precision)3]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:409:3: error: class ‘glm::tvec4<int, (glm::precision)3>’ does not have any field named ‘data’
   data(_mm_set1_epi32(s))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T, T, T, T) [with T = float; glm::precision P = (glm::precision)5]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:431:3: error: class ‘glm::tvec4<float, (glm::precision)5>’ does not have any field named ‘data’
   data(_mm_set_ps(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T, T, T, T) [with T = float; glm::precision P = (glm::precision)4]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:436:3: error: class ‘glm::tvec4<float, (glm::precision)4>’ does not have any field named ‘data’
   data(_mm_set_ps(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(T, T, T, T) [with T = float; glm::precision P = (glm::precision)3]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:441:3: error: class ‘glm::tvec4<float, (glm::precision)3>’ does not have any field named ‘data’
   data(_mm_set_ps(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = int; glm::precision P = (glm::precision)5]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:447:3: error: class ‘glm::tvec4<int, (glm::precision)5>’ does not have any field named ‘data’
   data(_mm_set_epi32(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = int; glm::precision P = (glm::precision)4]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:453:3: error: class ‘glm::tvec4<int, (glm::precision)4>’ does not have any field named ‘data’
   data(_mm_set_epi32(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = int; glm::precision P = (glm::precision)3]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:459:3: error: class ‘glm::tvec4<int, (glm::precision)3>’ does not have any field named ‘data’
   data(_mm_set_epi32(d, c, b, a))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = float; glm::precision P = (glm::precision)5]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:465:3: error: class ‘glm::tvec4<float, (glm::precision)5>’ does not have any field named ‘data’
   data(_mm_castsi128_ps(_mm_set_epi32(d, c, b, a)))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = float; glm::precision P = (glm::precision)4]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:471:3: error: class ‘glm::tvec4<float, (glm::precision)4>’ does not have any field named ‘data’
   data(_mm_castsi128_ps(_mm_set_epi32(d, c, b, a)))
   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl: In constructor ‘glm::tvec4<T, P>::tvec4(A, B, C, D) [with A = int; B = int; C = int; D = int; T = float; glm::precision P = (glm::precision)3]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_vec4_simd.inl:477:3: error: class ‘glm::tvec4<float, (glm::precision)3>’ does not have any field named ‘data’
   data(_mm_castsi128_ps(_mm_set_epi32(d, c, b, a)))
   ^~~~
In file included from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_exponential.inl:144:0,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_exponential.hpp:103,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_geometric.inl:4,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_geometric.hpp:113,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../geometric.hpp:6,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix.inl:4,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix.hpp:149,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_mat2x2.inl:4,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_mat2x2.hpp:182,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/mat2x2.hpp:6,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/glm.hpp:71,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/glm.cpp:4:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_exponential_simd.inl: In static member function ‘static glm::tvec4<float, (glm::precision)5> glm::detail::compute_sqrt<glm::tvec4, float, (glm::precision)5, true>::call(const glm::tvec4<float, (glm::precision)5>&)’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_exponential_simd.inl:28:11: error: ‘struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
    result.data = glm_vec4_sqrt_lowp(v.data);
           ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/../detail/func_exponential_simd.inl:28:39: error: ‘const struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
    result.data = glm_vec4_sqrt_lowp(v.data);
                                       ^~~~
In file included from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix.inl:399:0,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix.hpp:149,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_mat2x2.inl:4,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/type_mat2x2.hpp:182,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/mat2x2.hpp:6,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/glm.hpp:71,
                 from /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/glm.cpp:4:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl: In function ‘typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type glm::outerProduct(const vecTypeA<T, P>&, const vecTypeB<T, P>&) [with T = float; glm::precision P = (glm::precision)5; vecTypeA = glm::tvec4; vecTypeB = glm::tvec4; typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type = glm::tmat4x4<float, (glm::precision)5>]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:67:27: error: ‘const struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                           ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:67:35: error: ‘const struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:67:79: error: ‘glm::tmat4x4<float, (glm::precision)5>::col_type {aka struct glm::tvec4<float, (glm::precision)5>}’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                                                               ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl: In function ‘typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type glm::outerProduct(const vecTypeA<T, P>&, const vecTypeB<T, P>&) [with T = float; glm::precision P = (glm::precision)4; vecTypeA = glm::tvec4; vecTypeB = glm::tvec4; typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type = glm::tmat4x4<float, (glm::precision)4>]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:75:27: error: ‘const struct glm::tvec4<float, (glm::precision)4>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                           ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:75:35: error: ‘const struct glm::tvec4<float, (glm::precision)4>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:75:79: error: ‘glm::tmat4x4<float, (glm::precision)4>::col_type {aka struct glm::tvec4<float, (glm::precision)4>}’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                                                               ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl: In function ‘typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type glm::outerProduct(const vecTypeA<T, P>&, const vecTypeB<T, P>&) [with T = float; glm::precision P = (glm::precision)3; vecTypeA = glm::tvec4; vecTypeB = glm::tvec4; typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type = glm::tmat4x4<float, (glm::precision)3>]’:
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:83:27: error: ‘const struct glm::tvec4<float, (glm::precision)3>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                           ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:83:35: error: ‘const struct glm::tvec4<float, (glm::precision)3>’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                   ^~~~
/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Source/glm/detail/func_matrix_simd.inl:83:79: error: ‘glm::tmat4x4<float, (glm::precision)3>::col_type {aka struct glm::tvec4<float, (glm::precision)3>}’ has no member named ‘data’
   glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data));
                                                                               ^~~~
glm/CMakeFiles/glm_dummy.dir/build.make:78: recipe for target 'glm/CMakeFiles/glm_dummy.dir/detail/glm.cpp.o' failed
make[5]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
make[5]: *** [glm/CMakeFiles/glm_dummy.dir/detail/glm.cpp.o] Error 1
CMakeFiles/Makefile2:93: recipe for target 'glm/CMakeFiles/glm_dummy.dir/all' failed
make[4]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
make[4]: *** [glm/CMakeFiles/glm_dummy.dir/all] Error 2
Makefile:143: recipe for target 'all' failed
make[3]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build/glm-Release-prefix/src/glm-Release-build'
make[3]: *** [all] Error 2
CMakeFiles/glm-Release.dir/build.make:117: recipe for target 'glm-Release-prefix/src/glm-Release-stamp/glm-Release-build' failed
make[2]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build'
make[2]: *** [glm-Release-prefix/src/glm-Release-stamp/glm-Release-build] Error 2
CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/glm-Release.dir/all' failed
make[1]: Leaving directory '/home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm/Build'
make[1]: *** [CMakeFiles/glm-Release.dir/all] Error 2
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2

[hunter ** FATAL ERROR **] Build step failed (dir: /home/sean/.hunter/_Base/f58bcf2/540c241/d613c04/Build/glm
[hunter ** FATAL ERROR **] [Directory:/home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/projects/glm]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.external.build.failed
-------------------------------------------------------------------

CMake Error at /home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
  /home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
  /home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/modules/hunter_download.cmake:608 (hunter_fatal_error)
  /home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/projects/glm/hunter.cmake:51 (hunter_download)
  /home/sean/.hunter/_Base/Download/Hunter/0.23.14/f58bcf2/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
  src/CMakeLists.txt:83 (hunter_add_package)


-- Configuring incomplete, errors occurred!
See also "/home/sean/Documents/Invicted/Development/drishti/_builds/CMakeFiles/CMakeOutput.log".
See also "/home/sean/Documents/Invicted/Development/drishti/_builds/CMakeFiles/CMakeError.log".

Seems to be a problem with glut and mesa on Ubuntu 18. I'm using OpenGL version 4.6 . Since it seems to be a problem with a GL package, I'm wondering if this is a versioning issue with OpenGL, and maybe I'll need to revert my opengl version to an earlier release. Any help is appreciated.

@headupinclouds
Copy link
Collaborator

Can you share the build command you are using?

GCC older than 4.6 has a bug presenting the use of rgba and stpq components

Did you try a more recent gcc? Maybe something from polly like

polly.py --toolchain gcc-7-cxx14-pic --config-all Release --reconfig --verbose

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