- Code: Select all
don@don-lx:~$ cd NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ cmake .
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/local/include
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.51")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ make -j4
Scanning dependencies of target nodeboxeditor
[ 3%] [ 7%] [ 11%] [ 14%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/EditorState.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/main.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/GUIHelpers.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/Configuration.cpp.o
[ 18%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/MenuState.cpp.o
[ 22%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/Editor.cpp.o
[ 25%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/minetest.cpp.o
[ 29%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/project.cpp.o
[ 33%] /home/don/NodeBoxEditor/src/Editor.cpp: In member function ‘bool Editor::run(irr::IrrlichtDevice*, Configuration*, bool)’:
/home/don/NodeBoxEditor/src/Editor.cpp:98:72: warning: ‘bool irr::video::IVideoDriver::beginScene(bool, bool, irr::video::SColor, const irr::video::SExposedVideoData&, irr::core::rect<int>*)’ is deprecated [-Wdeprecated-declarations]
driver->beginScene(true, true, irr::video::SColor(255, 150, 150, 150));
^
In file included from /usr/local/include/IQ3Shader.h:11:0,
from /usr/local/include/IAnimatedMeshMD3.h:9,
from /usr/local/include/irrlicht.h:59,
from /home/don/NodeBoxEditor/src/common.hpp:3,
from /home/don/NodeBoxEditor/src/Editor.hpp:4,
from /home/don/NodeBoxEditor/src/Editor.cpp:1:
/usr/local/include/IVideoDriver.h:251:25: note: declared here
_IRR_DEPRECATED_ bool beginScene(bool backBuffer = true, bool zBuffer = true, SColor color = SColor(255,0,0,0),
^
Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/media.cpp.o
[ 37%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/node.cpp.o
[ 40%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/nodebox.cpp.o
[ 44%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NBEditor.cpp.o
[ 48%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NodeEditor.cpp.o
[ 51%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/TextureEditor.cpp.o
[ 55%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/FileDialog.cpp.o
[ 59%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/TextureDialog.cpp.o
[ 62%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/ImageDialog.cpp.o
[ 66%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/FileFormat.cpp.o
[ 70%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/helpers.cpp.o
[ 74%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/NBE.cpp.o
[ 77%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/Lua.cpp.o
[ 81%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/CPP.cpp.o
[ 85%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/obj.cpp.o
[ 88%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/string.cpp.o
[ 92%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/filesys.cpp.o
[ 96%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/SimpleFileCombiner.cpp.o
[100%] Building C object CMakeFiles/nodeboxeditor.dir/src/util/tinyfiledialogs.c.o
Linking CXX executable bin/nodeboxeditor
[100%] Built target nodeboxeditor
don@don-lx:~/NodeBoxEditor$ cd..
cd..: command not found
don@don-lx:~/NodeBoxEditor$ cd ..
don@don-lx:~$ sudo apt-get install gdb
[sudo] password for don:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gdb is already the newest version.
The following packages were automatically installed and are no longer required:
libao-common libao4 libcec-platform1v5 libcec3 libfstrcmp0 liblockdev1
libplatform1 libshairplay0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
don@don-lx:~$ cd NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ cmake . -DDEBUG=1
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Is debug
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/local/include
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.51")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/NodeBoxEditor
don@don-lx:~/NodeBoxEditor$ make -j3
Scanning dependencies of target nodeboxeditor
[ 3%] [ 7%] [ 11%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/main.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/GUIHelpers.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/Configuration.cpp.o
[ 14%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/EditorState.cpp.o
[ 18%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/MenuState.cpp.o
[ 22%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/Editor.cpp.o
[ 25%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/minetest.cpp.o
/home/don/NodeBoxEditor/src/Editor.cpp: In member function ‘bool Editor::run(irr::IrrlichtDevice*, Configuration*, bool)’:
/home/don/NodeBoxEditor/src/Editor.cpp:98:72: warning: ‘bool irr::video::IVideoDriver::beginScene(bool, bool, irr::video::SColor, const irr::video::SExposedVideoData&, irr::core::rect<int>*)’ is deprecated [-Wdeprecated-declarations]
driver->beginScene(true, true, irr::video::SColor(255, 150, 150, 150));
^
In file included from /usr/local/include/IQ3Shader.h:11:0,
from /usr/local/include/IAnimatedMeshMD3.h:9,
from /usr/local/include/irrlicht.h:59,
from /home/don/NodeBoxEditor/src/common.hpp:3,
from /home/don/NodeBoxEditor/src/Editor.hpp:4,
from /home/don/NodeBoxEditor/src/Editor.cpp:1:
/usr/local/include/IVideoDriver.h:251:25: note: declared here
_IRR_DEPRECATED_ bool beginScene(bool backBuffer = true, bool zBuffer = true,
^
[ 29%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/project.cpp.o
[ 33%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/media.cpp.o
[ 37%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/node.cpp.o
[ 40%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/project/nodebox.cpp.o
[ 44%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NBEditor.cpp.o
[ 48%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/NodeEditor.cpp.o
[ 51%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/modes/TextureEditor.cpp.o
[ 55%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/FileDialog.cpp.o
[ 59%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/TextureDialog.cpp.o
[ 62%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/dialogs/ImageDialog.cpp.o
[ 66%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/FileFormat.cpp.o
[ 70%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/helpers.cpp.o
[ 74%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/NBE.cpp.o
[ 77%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/Lua.cpp.o
[ 81%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/CPP.cpp.o
[ 85%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/FileFormat/obj.cpp.o
[ 88%] [ 92%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/string.cpp.o
Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/filesys.cpp.o
[ 96%] Building CXX object CMakeFiles/nodeboxeditor.dir/src/util/SimpleFileCombiner.cpp.o
[100%] Building C object CMakeFiles/nodeboxeditor.dir/src/util/tinyfiledialogs.c.o
Linking CXX executable bin/nodeboxeditor
[100%] Built target nodeboxeditor
don@don-lx:~/NodeBoxEditor$ gdb --ex run --args bin/nodeboxeditor
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/nodeboxeditor...done.
Starting program: /home/don/NodeBoxEditor/bin/nodeboxeditor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
_ _ _ ____ _____ _ _ _
| \ | | ___ __| | ___ | __ ) _____ __ | ____|__| (_) |_ ___ _ __
| \| |/ _ \ / _` |/ _ \ | _ \ / _ \ \/ / | _| / _` | | __/ _ \| '__|
| |\ | (_) | (_| | __/ | |_) | (_) > < | |__| (_| | | || (_) | |
|_| \_|\___/ \__,_|\___| |____/ \___/_/\_\ |_____\__,_|_|\__\___/|_|
Debug mode enabled!
Looking for the working directory...
Irrlicht Engine version 1.9.0
Linux 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64
Creating X window...
[New Thread 0x7ffff046a700 (LWP 9658)]
Visual chosen: : 769
Using renderer: OpenGL 3.0
Gallium 0.4 on AMD SUMO (DRM 2.43.0, LLVM 3.6.2): X.Org
OpenGL driver version is 1.2 or better.
GLSL version: 1.3
Media Manager created!
Media Manager:
Loaded texture: /home/don/NodeBoxEditor/media/texture_terrain.png
Loaded texture: /home/don/NodeBoxEditor/media/sky.jpg
Needed 0ms to create OctreeTriangleSelector.(1 nodes, 12 polys)
PNG warning: iCCP: Not recognizing known sRGB profile that has been edited
Loaded texture: /home/don/NodeBoxEditor/media/flip_x.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_y.png
Loaded texture: /home/don/NodeBoxEditor/media/flip_z.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_x.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_y.png
Loaded texture: /home/don/NodeBoxEditor/media/rotate_z.png
Loaded texture: /home/don/NodeBoxEditor/media/gui_scale.png
Loaded texture: /home/don/NodeBoxEditor/media/coordinates.png
Loaded texture: /home/don/NodeBoxEditor/media/icon_mode_nodebox.png
Program received signal SIGSEGV, Segmentation fault.
0x00000000005948f8 in irr::IReferenceCounted::grab (this=0x7ffff7b96928)
at ../../include/IReferenceCounted.h:96
96 void grab() const { ++ReferenceCounter; }
(gdb)