Created
April 8, 2013 09:09
-
-
Save SamWhited/5335415 to your computer and use it in GitHub Desktop.
Build error in coin3d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Making all in fonts | |
make[4]: Entering directory `/home/sam/Downloads/coin/src/Coin-3.1.3/src/fonts' | |
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_FORTIFY_SOURCE=2 -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DCOIN_INTERNAL -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -c -o freetype.lo freetype.cpp | |
g++ -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -D_FORTIFY_SOURCE=2 -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DCOIN_INTERNAL -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -c freetype.cpp -fPIC -DPIC -o .libs/freetype.o | |
In file included from ../../src/base/dict.h:31:0, | |
from freetype.cpp:142: | |
/usr/include/c++/4.8.0/cstdlib: In function 'long long int std::abs(long long int)': | |
/usr/include/c++/4.8.0/cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with | |
abs(long long __x) { return __builtin_llabs (__x); } | |
^ | |
/usr/include/c++/4.8.0/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here | |
abs(long __i) { return __builtin_labs(__i); } | |
^ | |
/usr/include/c++/4.8.0/cstdlib: In function '__int128 std::abs(__int128)': | |
/usr/include/c++/4.8.0/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with | |
abs(__int128 __x) { return __x >= 0 ? __x : -__x; } | |
^ | |
/usr/include/c++/4.8.0/cstdlib:174:3: error: previous declaration 'long long int std::abs(long long int)' here | |
abs(long long __x) { return __builtin_llabs (__x); } | |
^ | |
/usr/include/c++/4.8.0/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with | |
abs(__int128 __x) { return __x >= 0 ? __x : -__x; } | |
^ | |
/usr/include/c++/4.8.0/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here | |
abs(long __i) { return __builtin_labs(__i); } | |
^ | |
freetype.cpp: At global scope: | |
freetype.cpp:456:1: warning: unused parameter 'key' [-Wunused-parameter] | |
clean_fontmap_hash(uintptr_t key, void * val, void * closure) | |
^ | |
freetype.cpp:456:1: warning: unused parameter 'closure' [-Wunused-parameter] | |
freetype.cpp:872:1: warning: unused parameter 'font' [-Wunused-parameter] | |
cc_flwft_done_glyph(void * font, int glyph) | |
^ | |
freetype.cpp:872:1: warning: unused parameter 'glyph' [-Wunused-parameter] | |
freetype.cpp:1133:1: warning: unused parameter 'user' [-Wunused-parameter] | |
flwft_moveToCallback(FT_Vector * to, void * user) | |
^ | |
freetype.cpp:1156:1: warning: unused parameter 'user' [-Wunused-parameter] | |
flwft_lineToCallback(FT_Vector * to, void * user) | |
^ | |
freetype.cpp:1174:1: warning: unused parameter 'user' [-Wunused-parameter] | |
flwft_conicToCallback(FT_Vector * control, FT_Vector * to, void * user) | |
^ | |
freetype.cpp:1229:1: warning: unused parameter 'user' [-Wunused-parameter] | |
flwft_cubicToCallback(FT_Vector * control1, FT_Vector * control2, FT_Vector * to, void * user) | |
^ | |
freetype.cpp:1394:1: warning: unused parameter 'vertex_data' [-Wunused-parameter] | |
flwft_combineCallback(GLdouble coords[3], GLvoid * vertex_data, GLfloat weight[4], int **dataOut) | |
^ | |
freetype.cpp:1394:1: warning: unused parameter 'weight' [-Wunused-parameter] | |
make[4]: *** [freetype.lo] Error 1 | |
make[4]: Leaving directory `/home/sam/Downloads/coin/src/Coin-3.1.3/src/fonts' | |
make[3]: *** [all-recursive] Error 1 | |
make[3]: Leaving directory `/home/sam/Downloads/coin/src/Coin-3.1.3/src' | |
make[2]: *** [all] Error 2 | |
make[2]: Leaving directory `/home/sam/Downloads/coin/src/Coin-3.1.3/src' | |
make[1]: *** [all-recursive] Error 1 | |
make[1]: Leaving directory `/home/sam/Downloads/coin/src/Coin-3.1.3' | |
make: *** [all] Error 2 | |
==> ERROR: A failure occurred in build(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same problem....
Have you found the solution of this?