在dev分支中编译PositionalSound.cpp时出错

时间:2015-07-17 09:09:55

标签: minko

正如我在关于minko的另一个问题中向我建议的那样,我试图使用dev分支。 编译" minko / audio / PositionalSound.cpp"时出错。 命令为make config=linux64_debug,输出为

...
PositionalSound.cpp
+ g++ -MMD -MP -DDEBUG -DJSON_IS_AMALGAMATION -Iinclude -Ilib/sparsehash/src -Isrc -Ilib/jsoncpp/src -Ilib/glm -Ilib/sparsehash/include -g -m64 -std=c++11 -o obj/linux64/debug/PositionalSound.o -MF obj/linux64/debug/PositionalSound.d -c src/minko/audio/PositionalSound.cpp
In file included from include/minko/render/Effect.hpp:25:0,
                 from include/minko/render/DrawCallPool.hpp:25,
                 from include/minko/component/Renderer.hpp:25,
                 from include/minko/component/Transform.hpp:26,
                 from src/minko/audio/PositionalSound.cpp:25:
include/minko/render/Pass.hpp: In lambda function:
include/minko/render/Pass.hpp:200:62: error: parameter packs not expanded with ‘...’:
                 setUniformOnProgram<T...>(program, name, values...);
                                                          ^
include/minko/render/Pass.hpp:200:62: note:         ‘values’
include/minko/render/Pass.hpp:200:68: error: expansion pattern ‘values’ contains no argument packs
                 setUniformOnProgram<T...>(program, name, values...);
                                                                ^
make[1]: *** [obj/linux64/debug/PositionalSound.o] Errore 1
make: *** [minko-framework] Errore 2

我在&#34; Linux Mint 17 Qiana&#34;,使用gcc 4.8.4。

如何成功编译它?

1 个答案:

答案 0 :(得分:1)

我可以使用GCC 4.8.2重现该问题,但不能重现GCC 4.9.2。

您应该将编译器升级到GCC 4.9.2。由于Linux Mint基于Ubuntu,因此您应该可以使用此Ubuntu Toolchain PPA