is it an option for you to update to 3.3.x ? if I remember correctly updating solve the issue on my side.
-- do it yourself http://antoine.villeret.free.fr
2016-11-29 10:19 GMT+01:00 pierre@314r.net:
Salut Antoine,
Le 2016-11-29 09:50, Antoine Villeret a écrit :
Hi,
your log remember me something but it's too far in my memory for now...
which assimp version are you using ? ( $ pkg-config --modversion assimp ) here I'm fine with 3.3.1
rep@reep73jw:~$ pkg-config --modversion assimp 3.0.1264
rep@reep73jw:~$ cat /etc/debian_version 8.6
rep@reep73jw:~$ uname -a Linux reep73jw 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
It seems that the problem come from this commit : https://github.com/umlaeute/Gem/commit/4d4c2becf23b297d0c14e d6bc0898ecada11f835
because when i revert this changes, the code compile fine...
p.
--
do it yourself http://antoine.villeret.free.fr
2016-11-28 19:59 GMT+01:00 pierre@314r.net:
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
GEM-dev mailing list GEM-dev@lists.iem.at https://lists.puredata.info/listinfo/gem-dev [1]
Links:
GEM-dev mailing list GEM-dev@lists.iem.at https://lists.puredata.info/listinfo/gem-dev