[GEM-dev] ASSIMP3 build error

pierre at 314r.net pierre at 314r.net
Mon Nov 28 19:59:56 CET 2016


Hello all,
when compiling Gem I get this error (on a fresh git clone copy) :


Making all in modelASSIMP3
make[2]: Entering directory 
'/home/rep/Sources/Gem.new/Gem/plugins/modelASSIMP3'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../../src  -I../../src   -DPD -I/usr/include/assimp  
-I/usr/include/libdrm  -g -O2 -freg-struct-return -O3 -falign-loops 
-falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -MT 
gem_modelASSIMP3_la-modelASSIMP3.lo -MD -MP -MF 
.deps/gem_modelASSIMP3_la-modelASSIMP3.Tpo -c -o 
gem_modelASSIMP3_la-modelASSIMP3.lo `test -f 'modelASSIMP3.cpp' || echo 
'./'`modelASSIMP3.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD 
-I/usr/include/assimp -I/usr/include/libdrm -g -O2 -freg-struct-return 
-O3 -falign-loops -falign-functions -falign-jumps -funroll-loops 
-ffast-math -mmmx -MT gem_modelASSIMP3_la-modelASSIMP3.lo -MD -MP -MF 
.deps/gem_modelASSIMP3_la-modelASSIMP3.Tpo -c modelASSIMP3.cpp  -fPIC 
-DPIC -o .libs/gem_modelASSIMP3_la-modelASSIMP3.o
modelASSIMP3.cpp: In member function 'virtual bool 
gem::plugins::modelASSIMP3::compile()':
modelASSIMP3.cpp:448:95: error: no matching function for call to 
'aiMatrix4x4t<float>::aiMatrix4x4t(aiVector3t<float>, 
aiQuaterniont<float>, aiVector3D&)'
    aiMatrix4x4 trafo = aiMatrix4x4(aiVector3t<float>(m_scale), 
aiQuaterniont<float>(), m_offset);
                                                                          
                       ^
modelASSIMP3.cpp:448:95: note: candidates are:
In file included from /usr/include/assimp/types.h:498:0,
                  from /usr/include/assimp/cimport.h:47,
                  from modelASSIMP3.h:18,
                  from modelASSIMP3.cpp:14:
/usr/include/assimp/matrix4x4.inl:97:8: note: 
aiMatrix4x4t<TReal>::aiMatrix4x4t(const aiMatrix3x3t<TReal>&) [with 
TReal = float]
  inline aiMatrix4x4t<TReal>::aiMatrix4x4t (const aiMatrix3x3t<TReal>& m)
         ^
/usr/include/assimp/matrix4x4.inl:97:8: note:   candidate expects 1 
argument, 3 provided
/usr/include/assimp/matrix4x4.inl:71:1: note: 
aiMatrix4x4t<TReal>::aiMatrix4x4t(TReal, TReal, TReal, TReal, TReal, 
TReal, TReal, TReal, TReal, TReal, TReal, TReal, TReal, TReal, TReal, 
TReal) [with TReal = float]
  aiMatrix4x4t<TReal> ::aiMatrix4x4t (TReal _a1, TReal _a2, TReal _a3, 
TReal _a4,
  ^
/usr/include/assimp/matrix4x4.inl:71:1: note:   candidate expects 16 
arguments, 3 provided
/usr/include/assimp/matrix4x4.inl:60:1: note: 
aiMatrix4x4t<TReal>::aiMatrix4x4t() [with TReal = float]
  aiMatrix4x4t<TReal> ::aiMatrix4x4t () :
  ^
/usr/include/assimp/matrix4x4.inl:60:1: note:   candidate expects 0 
arguments, 3 provided
In file included from /usr/include/assimp/types.h:62:0,
                  from /usr/include/assimp/cimport.h:47,
                  from modelASSIMP3.h:18,
                  from modelASSIMP3.cpp:14:
/usr/include/assimp/matrix4x4.h:65:7: note: 
aiMatrix4x4t<float>::aiMatrix4x4t(const aiMatrix4x4t<float>&)
  class aiMatrix4x4t
        ^
/usr/include/assimp/matrix4x4.h:65:7: note:   candidate expects 1 
argument, 3 provided
Makefile:653: recipe for target 'gem_modelASSIMP3_la-modelASSIMP3.lo' 
failed
make[2]: *** [gem_modelASSIMP3_la-modelASSIMP3.lo] Error 1
make[2]: Leaving directory 
'/home/rep/Sources/Gem.new/Gem/plugins/modelASSIMP3'
Makefile:536: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/rep/Sources/Gem.new/Gem/plugins'
Makefile:651: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1



More information about the GEM-dev mailing list