View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004359 | DarkRadiant | Compilation/Build | public | 04.08.2016 16:06 | 29.03.2017 18:29 |
| Reporter | EoceneMiacid | Assigned To | greebo | ||
| Priority | normal | Severity | normal | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS Version | Kubuntu 16.04 | ||
| Summary | 0004359: Unable to compile | ||||
| Description | I just cloned the source from https://github.com/codereader/DarkRadiant First I do ./autogen.sh Then .configure Next make Compilation goes fine until the error pops up: libs/FileChooser.o: In function `__static_initialization_and_destruction_0': /usr/include/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()' collect2: error: ld returned 1 exit status Makefile:580: recipe for target 'libwxutil.la' failed I have libwxgtk3.0-dev and all other dependencies installed? I managed to compile DarkRadiant correctly before (v2.02) | ||||
| Steps To Reproduce | Try compiling the source | ||||
| Tags | No tags attached. | ||||
|
Can you please try to open the libs/wxutil/Makefile.am and edit the libwxutil_la_LDFLAGS such that it includes these two? $(BOOST_SYSTEM_LIBS) \ $(BOOST_FILESYSTEM_LIBS) \ Then try to recompile including the ./autogen.sh before ./configure. Does this change anything? |
|
|
Hi, It now proceeds until: ui/mainframe/MainFrame.cpp: In member function ‘void ui::MainFrame::create()’: ui/mainframe/MainFrame.cpp:374:20: error: ‘GlobalGroupDialog’ was not declared in this scope GlobalGroupDialog().addPage(mediaBrowserPage); ^ |
|
|
Ok, please try opening that MainFrame.cpp and adding the line #include "iuimanager.h" near the top, line 3 or somewhere like that. Any more errors after that? |
|
|
Yes make[3]: Entering directory '/Downloads/DarkRadiant/plugins/fonts' CXX plugin.lo CXX FontLoader.lo CXX GlyphSet.lo CXX FontManager.lo CXX GlyphInfo.lo CXXLD fonts.la .libs/GlyphInfo.o: In function `__static_initialization_and_destruction_0': /usr/include/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()' collect2: error: ld returned 1 exit status Makefile:502: recipe for target 'fonts.la' failed make[3]: *** [fonts.la] Error 1 make[3]: Leaving directory '/Downloads/DarkRadiant/plugins/fonts' Makefile:447: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/Downloads/DarkRadiant/plugins' Makefile:753: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/Downloads/DarkRadiant' Makefile:494: recipe for target 'all' failed make: *** [all] Error 2 at least it proceeds a lot further now |
|
| Ok, I've pushed a few build fixes to git, can you please pull the changes and see if you get any further? | |
|
Hi, I cloned it in a new folder, ran ./autogen.sh, configure.sh, then make, and then sudo make install (after removing my earlier installation) Compilation and installation went fine. When I launch DarkRadiant, I get to see the initial setup dialog. No matter what I've entered, clicking OK crashes DarkRadiant. Here's the log: (139933857401344) Started logging to /home/ralf/.darkradiant/darkradiant.log (139933857401344) This is DarkRadiant 2.0.2 x64 (139933857401344) wxWidgets Version: 3.0.2 (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/mapdoom3.so' (139933857401344) Module registered: Doom3MapLoader (139933857401344) Module registered: Quake4MapLoader (139933857401344) Module registered: Doom3PrefabLoader (139933857401344) Module registered: MapCompiler (139933857401344) Module registered: Quake3MapLoader (139933857401344) Module registered: Doom3AasFileLoader (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/commandsystem.so' (139933857401344) Module registered: CommandSystem (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/md5model.so' (139933857401344) Module registered: ModelLoaderMD5MESH (139933857401344) Module registered: MD5AnimationCache (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/uimanager.so' (139933857401344) Module registered: UIManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/fonts.so' (139933857401344) Module registered: FontManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/image.so' (139933857401344) Module registered: ImageLoader (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/eclassmgr.so' (139933857401344) Module registered: EntityClassManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/undo.so' (139933857401344) Module registered: UndoSystem (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/vfspk3.so' (139933857401344) Module registered: VirtualFileSystem (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/filters.so' (139933857401344) Module registered: FilterSystem (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/skins.so' (139933857401344) Module registered: ModelSkinCache (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/xmlregistry.so' (139933857401344) Module registered: XMLRegistry (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/scenegraph.so' (139933857401344) Module registered: SceneGraph (139933857401344) Module registered: SceneGraphFactory (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/entity.so' (139933857401344) Module registered: Doom3EntityCreator (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/shaders.so' (139933857401344) Module registered: MaterialManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/grid.so' (139933857401344) Module registered: Grid (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/script.so' (139933857401344) Module registered: ScriptingSystem (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/archivezip.so' (139933857401344) Module registered: ArchivePK4 (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/entitylist.so' (139933857401344) Module registered: EntityList (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/model.so' (139933857401344) Module registered: ModelLoaderMD3 (139933857401344) Module registered: ModelLoader3DS (139933857401344) Module registered: ModelLoaderASE (139933857401344) Module registered: ModelLoaderMS3D (139933857401344) Module registered: ModelLoaderMDC (139933857401344) Module registered: ModelLoaderMD2 (139933857401344) Module registered: ModelLoaderFM (139933857401344) Module registered: ModelLoaderLWO (139933857401344) Module registered: ModelLoaderPICOTERRAIN (139933857401344) Module registered: ModelLoaderOBJ (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/eventmgr.so' (139933857401344) Module registered: EventManager (139933857401344) Module registered: MouseToolManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/sound.so' (139933857401344) Module registered: SoundManager (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/filetypes.so' (139933857401344) Module registered: FileTypes (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/particles.so' (139933857401344) Module registered: ParticlesManager (139933857401344) Module registered: ParticlesEditor (139933857401344) ModuleLoader: Loading module '/usr/local/lib/darkradiant/plugins/eclasstree.so' (139933857401344) Module registered: EClassTree (139933857401344) XMLRegistry::initialiseModule called (139933857401344) XMLRegistry: looking for XML files under /usr/local/share/darkradiant/ (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/user.xml (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/colours.xml (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/input.xml (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/menu.xml (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/commandsystem.xml (139933857401344) XMLRegistry: no user.xml in /home/ralf/.darkradiant/user.xml (139933857401344) ArchivePK4::initialiseModule called (139933857401344) CommandSystem::initialiseModule called. (139933857401344) EventManager::initialiseModule called. (139933857401344) EventManager successfully initialised. (139933857401344) PreferenceSystem::initialiseModule called (139933857401344) Clipper::initialiseModule called (139933857401344) UIManager::initialiseModule called (139933857401344) Found toolbar: view (139933857401344) Found toolbar: edit (139933857401344) Found toolbar: texture (139933857401344) Found toolbar: textool (139933857401344) ColourSchemeManager: Loading colour schemes... (139933857401344) GridManager::initialiseModule called. (139933857401344) FileTypes::initialiseModule called. (139933857401344) GameManager: Scanning for game description files: /usr/local/share/darkradiant/games/ (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/quake3.game (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/doom3.game (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/darkmod.game (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/doom3-demo.game (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/quake4.game (139933857401344) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/xreal.game (139933857401344) GameManager: Found game definitions: (139933857401344) Doom 3 (139933857401344) Doom 3 Demo (139933857401344) Quake 3 (139933857401344) Quake 4 (139933857401344) The Dark Mod 2.0 (Standalone) (139933857401344) XreaL (139933857401344) (139933857401344) GameManager: Selected game type: Doom 3 (139933857401344) GameManager: Querying Windows Registry for game path: HKEY_LOCAL_MACHINE\SOFTWARE\id\Doom 3\InstallPath (139933857401344) GameManager: Windows Registry returned result: (139933857401344) GameManager: Map path set to /usr/local/games/doom3/darkmod/maps/ (139933857401344) GameManager: Prefab path set to /usr/local/games/doom3/darkmod/prefabs/ (139933857401344) VFS Search Path priority is: (139933857401344) - /usr/local/games/doom3/darkmod/ (139933857401344) - /usr/local/games/doom3/base/ (139933857401344) Map::initialiseModule called. (139933857401344) SceneGraph::initialiseModule called (139933857401344) VFS::initialiseModule called (139933857401344) filesystem initialised (139933857401344) [vfs] Directory '/usr/local/games/doom3/darkmod/' not found. (139933857401344) [vfs] Directory '/usr/local/games/doom3/base/' not found. (139933857401344) MaterialManager::initialiseModule called (139933857401344) OpenGL::initialiseModule called. (139933857401344) ShaderCache::initialiseModule called. (139933857401344) RadiantSelectionSystem::initialiseModule called. (139933495342848) 0 shader definitions found. (139933857401344) RadiantModule::initialiseModule called. (139933857401344) Camera::initialiseModule called. (139933857401344) MainFrameLayoutManager::initialiseModule called. (139933857401344) OrthoviewManager::initialiseModule called. (139933857401344) MainFrame::initialiseModule called. (139933857401344) AutomaticMapSaver::initialiseModule called. (139933857401344) EntityClassDoom3::initialiseModule called. (139933857401344) ZAasFileManager::initialiseModule called. (139933486950144) searching vfs directory 'def' for *.def (139933857401344) Doom3AasFileLoader: initialiseModule called. (139933857401344) UndoSystem::initialiseModule called (139933857401344) BrushModuleImpl::initialiseModule called. (139933857401344) Doom3EntityCreator::initialiseModule called. (139933857401344) LayerSystem::initialiseModule called. (139933857401344) MapFormatManager::initialiseModule called. (139933857401344) PatchModuleDef2::initialiseModule called. (139933857401344) PatchModuleDef3::initialiseModule called. (139933857401344) Doom3MapLoader: initialiseModule called. (139933857401344) Doom3PrefabLoader: initialiseModule called. (139933857401344) EClassTree::initialiseModule called. (139933857401344) EntityListModule::initialiseModule called (139933857401344) [filters] Loaded 16 filters from registry. (139933857401344) FontManager::initialiseModule called (139933857401344) MD5AnimationCache::initialiseModule called. (139933857401344) MapCompiler: initialiseModule called. (139933857401344) MapResourceManager::initialiseModule called. (139933857401344) PicoModelLoader: ModelLoaderASE initialised. (139933857401344) PicoModelLoader: ModelLoaderLWO initialised. (139933857401344) MD5Model::initialiseModule called. (139933857401344) ModelCache::initialiseModule called. (139933857401344) PicoModelLoader: ModelLoader3DS initialised. (139933857401344) PicoModelLoader: ModelLoaderFM initialised. (139933857401344) PicoModelLoader: ModelLoaderMD2 initialised. (139933857401344) PicoModelLoader: ModelLoaderMD3 initialised. (139933857401344) PicoModelLoader: ModelLoaderMDC initialised. (139933857401344) PicoModelLoader: ModelLoaderMS3D initialised. (139933857401344) PicoModelLoader: ModelLoaderOBJ initialised. (139933857401344) PicoModelLoader: ModelLoaderPICOTERRAIN initialised. (139933857401344) Doom3SkinCache::initialiseModule called (139933857401344) NamespaceFactory::initialiseModule called. (139933857401344) ParticlesEditor::initialiseModule called. (139933476407040) 0 fonts registered. (139933468014336) [skins] Loading skins. (139933468014336) [skins] Found 0 skins. (139933857401344) ParticlesManager::initialiseModule called (139933389944576) Found 0 particle definitions. (139933857401344) Quake3MapLoader: initialiseModule called. (139933857401344) Quake4MapLoader: initialiseModule called. (139933857401344) RegionManager::initialiseModule called. (139933857401344) RenderSystemFactory::initialiseModule called. (139933857401344) SceneGraphFactory::initialiseModule called. (139933857401344) ScriptingSystem::initialiseModule called. (139933857401344) ScriptingSystem: Python interpreter initialised. |
|
| The crash you get on startup appears to be the same as in 0004360, caused by a different problem. Obviously the python scripting module no longer works in the latest Ubuntu distributions, for whatever reason (I hate it when things like this happen). I don't have any idea what to do about the Python crash, apart from disabling the module. | |
| I'll mark this entry as resolved, as the original compilation problem was fixed. The crash at startup is already tracked in 0004360. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 04.08.2016 16:06 | EoceneMiacid | New Issue | |
| 10.08.2016 17:21 | greebo | Note Added: 0008255 | |
| 10.08.2016 17:21 | greebo | Status | new => feedback |
| 13.08.2016 18:24 | EoceneMiacid | Note Added: 0008262 | |
| 13.08.2016 18:24 | EoceneMiacid | Status | feedback => new |
| 14.08.2016 06:38 | greebo | Note Added: 0008263 | |
| 14.08.2016 06:38 | greebo | Status | new => feedback |
| 15.08.2016 17:56 | EoceneMiacid | Note Added: 0008264 | |
| 15.08.2016 17:56 | EoceneMiacid | Status | feedback => new |
| 16.08.2016 17:02 | greebo | Note Added: 0008266 | |
| 16.08.2016 17:02 | greebo | Status | new => feedback |
| 16.08.2016 19:56 | EoceneMiacid | Note Added: 0008268 | |
| 16.08.2016 19:56 | EoceneMiacid | Status | feedback => new |
| 18.08.2016 13:15 | greebo | Note Added: 0008273 | |
| 18.08.2016 13:16 | greebo | Note Added: 0008274 | |
| 18.08.2016 13:16 | greebo | Status | new => resolved |
| 18.08.2016 13:16 | greebo | Resolution | open => fixed |
| 18.08.2016 13:16 | greebo | Assigned To | => greebo |
| 29.03.2017 18:29 | greebo | Status | resolved => closed |