Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
libtool: link: g++ -g -O2 -o .libs/ConsoleApp OISConsole.o -L../src /root/build/ois-1.2.0/ois/src/.libs/libOIS.so
/usr/bin/ld: OISConsole.o: undefined reference to symbol 'XNextEvent'
/usr/bin/ld: note: 'XNextEvent' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [ConsoleApp] Error 1
make[1]: Leaving directory `/root/build/ois-1.2.0/ois/demos'
make: *** [install-recursive] Error 1
In file included from /root/build/ogre/src/OgreMain/src/OgreEdgeListBuilder.cpp:34:0:
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:212:52: error: ‘ptrdiff_t’ has not been declared
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:222:56: error: ‘ptrdiff_t’ has not been declared
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreEdgeListBuilder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
In file included from /root/build/ogre/src/OgreMain/src/OgreEntity.cpp:51:0:
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:212:52: error: ‘ptrdiff_t’ has not been declared
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:222:56: error: ‘ptrdiff_t’ has not been declared
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreEntity.cpp.o] Error 1
make[1]: *** [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
make: *** [all] Error 2
[ 1%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreEdgeListBuilder.cpp.o
In file included from /root/build/ogre/src/OgreMain/src/OgreEdgeListBuilder.cpp:34:0:
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:212:52: error: ‘ptrdiff_t’ has not been declared
/root/build/ogre/src/OgreMain/include/OgreOptimisedUtil.h:222:56: error: ‘ptrdiff_t’ has not been declared
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreEdgeListBuilder.cpp.o] Error 1
make[1]: *** [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
make: *** [all] Error 2
In file included from ../../cegui/include/CEGUIEvent.h:31:0,
from ../../cegui/include/CEGUIAnimationInstance.h:34,
from CEGUIAnimationInstance.cpp:30:
../../cegui/include/CEGUIString.h:65:11: error: 'ptrdiff_t' does not name a type
In file included from ../../cegui/include/CEGUIAffector.h:33:0,
from CEGUIAffector.cpp:30:
../../cegui/include/CEGUIString.h:65:11: error: 'ptrdiff_t' does not name a type
In file included from ../../cegui/include/CEGUIAnimation.h:33:0,
from CEGUIAnimation.cpp:30:
../../cegui/include/CEGUIString.h:65:11: error: 'ptrdiff_t' does not name a type
make[3]: *** [libCEGUIBase_la-CEGUIAnimationInstance.lo] Error 1
make[3]: *** Waiting for unfinished jobs…
make[3]: *** [libCEGUIBase_la-CEGUIAnimation.lo] Error 1
make[3]: *** [libCEGUIBase_la-CEGUIAffector.lo] Error 1
make[3]: Leaving directory `/root/build/cegui/cegui/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/build/cegui/cegui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/cegui/cegui'
make: *** [all-recursive] Error 1
Making install in.
make[1]: Entering directory `/root/build/cegui'
make[2]: Entering directory `/root/build/cegui'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/build/cegui'
make[1]: Leaving directory `/root/build/cegui'
Making install in cegui
make[1]: Entering directory `/root/build/cegui/cegui'
Making install in.
make[2]: Entering directory `/root/build/cegui/cegui'
make[3]: Entering directory `/root/build/cegui/cegui'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 CEGUI.pc CEGUI-OPENGL.pc '/usr/local/lib/pkgconfig'
make[3]: Leaving directory `/root/build/cegui/cegui'
make[2]: Leaving directory `/root/build/cegui/cegui'
Making install in src
make[2]: Entering directory `/root/build/cegui/cegui/src'
Making install in.
make[3]: Entering directory `/root/build/cegui/cegui/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../cegui/include -I../../cegui/include -I/usr/include/freetype2 -g -O2 -MT libCEGUIBase_la-CEGUIAffector.lo -MD -MP -MF .deps/libCEGUIBase_la-CEGUIAffector.Tpo -c -o libCEGUIBase_la-CEGUIAffector.lo `test -f 'CEGUIAffector.cpp' || echo './'`CEGUIAffector.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../cegui/include -I../../cegui/include -I/usr/include/freetype2 -g -O2 -MT libCEGUIBase_la-CEGUIAffector.lo -MD -MP -MF .deps/libCEGUIBase_la-CEGUIAffector.Tpo -c CEGUIAffector.cpp -fPIC -DPIC -o .libs/libCEGUIBase_la-CEGUIAffector.o
In file included from ../../cegui/include/CEGUIAffector.h:33:0,
from CEGUIAffector.cpp:30:
../../cegui/include/CEGUIString.h:65:11: error: 'ptrdiff_t' does not name a type
make[3]: *** [libCEGUIBase_la-CEGUIAffector.lo] Error 1
make[3]: Leaving directory `/root/build/cegui/cegui/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/build/cegui/cegui/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/build/cegui/cegui'
make: *** [install-recursive] Error 1
OGS Mahjong 0.7