Jump to content
The Dark Mod Forums

7318

Member
  • Posts

    167
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by 7318

  1. can't compile master branch on Linux: CXX ui/modelselector/darkradiant-ModelSelector.o In file included from ui/modelselector/ModelSelector.cpp:2:0: ui/modelselector/ModelPopulator.h: In member function ‘virtual void* ui::ModelPopulator::Entry()’: ui/modelselector/ModelPopulator.h:87:26: error: ‘GlobalFileSystem’ was not declared in this scope GlobalFileSystem().forEachFile(MODELS_FOLDER, ^ Makefile:3692: recipe for target 'ui/modelselector/darkradiant-ModelSelector.o' failed make[2]: *** [ui/modelselector/darkradiant-ModelSelector.o] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/radiant' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
  2. Motorsep the play button displays the particles and the shaders in movement.
  3. I can compile it now! do you guys can use the particle editor ? whenever I enter it and try it, then it locks my DR (warning windows doesn't display texts) then the prompt form exiting DR doesn't display any text nor any button only a white window which I can't close, so I have to kill DR in order to exit it. whenever I enter the particle editor I see this "Gtk-CRITICAL" warning in the console: (darkradiant:11443): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed which looks as the same "Gtk-CRITICAL" warning i get whenever I add a new model from the left click menu (on the 2D screen) : (darkradiant:11443): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed which look quite similar as the one I see when pressing the "choose model..." button from the spawnarg "model" in a "func_emiter" entity: (darkradiant:11443): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed (darkradiant:11443): Gtk-CRITICAL **: IA__gtk_tree_row_reference_new_proxy: assertion 'path->depth > 0' failed
  4. now I get a different compiling error: CXX compiler/Surface.lo compiler/Surface.cpp: In member function 'bool map::Surface::rangeCheckIndexes()': compiler/Surface.cpp:47:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (indices[i] < 0 || indices[i] >= vertices.size()) ^ compiler/Surface.cpp: In member function 'void map::Surface::defineEdge(int, int, int)': compiler/Surface.cpp:228:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (silEdges[index].p2 != _numPlanes) ^ compiler/Surface.cpp: In member function 'void map::Surface::identifySilEdges(bool)': compiler/Surface.cpp:388:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (silEdges[i].p2 == _numPlanes) ^ compiler/Surface.cpp: In member function 'void map::Surface::duplicateMirroredVertexes()': compiler/Surface.cpp:440:59: error: 'memset' was not declared in this scope memset(tverts, 0, vertices.size() * sizeof(TangentVertex)); ^ compiler/Surface.cpp: In member function 'void map::Surface::createDupVerts()': compiler/Surface.cpp:529:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (remap[i] != i) ^ compiler/Surface.cpp: In member function 'void map::Surface::deriveTangents(std::vector<Plane3>&)': compiler/Surface.cpp:964:46: error: 'memset' was not declared in this scope memset(used, 0, vertices.size()*sizeof(bool)); ^ compiler/Surface.cpp:1011:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] unsigned long signBit = ( *(unsigned long *)&area ) & ( 1 << 31 ); // FIXME: portability? ^ compiler/Surface.cpp:1021:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned long *)&f ^= signBit; ^ compiler/Surface.cpp:1035:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned long *)&f ^= signBit; ^ Makefile:609: recipe for target 'compiler/Surface.lo' failed make[3]: *** [compiler/Surface.lo] Error 1 make[3]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/plugins/mapdoom3' Makefile:435: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/plugins' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
  5. I can't compile the current code on codereader's github repository, I get the following error: CXX darkradiant-RadiantThreadManager.o In file included from RadiantThreadManager.cpp:1:0: RadiantThreadManager.h:20:7: error: ‘vector’ in namespace ‘std’ does not name a template type std::vector<DetachedThreadPtr> _finishedThreads; ^ RadiantThreadManager.cpp: In member function ‘void radiant::RadiantThreadManager::onThreadFinished(std::size_t)’: RadiantThreadManager.cpp:86:2: error: ‘_finishedThreads’ was not declared in this scope _finishedThreads.push_back(found->second); ^ RadiantThreadManager.cpp: In member function ‘std::size_t radiant::RadiantThreadManager::getFreeThreadId()’: RadiantThreadManager.cpp:92:2: error: ‘_finishedThreads’ was not declared in this scope _finishedThreads.clear(); ^ Makefile:2381: recipe for target 'darkradiant-RadiantThreadManager.o' failed make[2]: *** [darkradiant-RadiantThreadManager.o] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/radiant' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
  6. so GLSL version is out of the question, I might have to check if the wxWidgets GL demo displays the same problems...
  7. compiled with debugging opening and closing DR: biel@Biel-laptop:~$ darkradiant ApplicationContextImpl: unable to create settings path '/home/biel/.darkradiant/' XMLRegistry: looking for XML files under /usr/local/share/darkradiant/ [filters] Loaded 15 filters from registry. [OpenGLRenderSystem] GLSL shading IS available. [OpenGLRenderSystem] ARB shading IS available. (darkradiant:9071): Gtk-CRITICAL **: IA__gtk_window_resize: assertion 'height > 0' failed if I rescale the window of the texture mapping oiptions (the window that appear when you press "s") i can reproduce the following error: ** (darkradiant:9167): CRITICAL **: murrine_style_draw_flat_box: assertion 'height >= -1' failed if I click on the per-pixel rendering button i get the following debug message: ^[[renderer] Creating GLSL bump program [renderer] GLSL program IS valid. Info: [renderer] Creating GLSL depthfill program [renderer] GLSL program IS valid. Info: I wonder, does darkradiant use a GLSL version superior to 1.3? mesa drivers not superior to mesa 10.3 only have GLSL version 1.3 (i'm currently using mesa 10.5 which should have support for GLSL 3.0 )
  8. I wonder if anyone else is using DR with a Intel "HD graphics 3000" GPU (or newer) either in Linux or Windows so we could see if is an error in my computer or is a systemic error, 3D in other applications, like D3, or OpenArena, do work ok.
  9. Greebo now I can compile your branch. but I still get problems with the 3D geometry (the same kind of problems I posted some screen-shots about) I'm using Ubuntu 14.10, and Intel mesa graphics, but the Darkradiant 1.8.1 had correct graphics for me, something has changed in the 3D rendering in-between 1.8.1 and 2.0 that has broken 3D rendering in my system. right now for me the most reliable way to map then is with the wire-frame. also the particle editor is unusable for me, now i can select the particle, but I can't see anything in the 3d view, and the play and stop buttons while active don't seem to activate the time counter in the 3d view. and also in the particle editor it looks like selecting the particles doesn't update some values right away, like the stages or the actual selected particle in the lists of particle effects, sometimes you have to scroll down and up in order or it to be correctly selected I've received error messages like these but I can't reproduce when and how I received yet: (darkradiant:2896): Gtk-CRITICAL **: IA__gtk_window_resize: assertion 'height > 0' failed ** (darkradiant:2981): CRITICAL **: murrine_style_draw_box_gap: assertion 'height >= -1' failed
  10. can't compile codereader's branch @ github under ubuntu 14.10 I get the following error: (...) CXX render/darkradiant-OpenGLModule.o CXX render/darkradiant-OpenGLRenderSystem.o render/OpenGLRenderSystem.cpp: In member function ‘virtual ShaderPtr render::OpenGLRenderSystem::capture(const string&)’: render/OpenGLRenderSystem.cpp:86:9: error: ‘wxTheApp’ was not declared in this scope wxTheApp->ProcessIdle(); ^ Makefile:2838: recipe for target 'render/darkradiant-OpenGLRenderSystem.o' failed make[2]: *** [render/darkradiant-OpenGLRenderSystem.o] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/radiant' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
  11. the shadow volume code could be useful for other things besides shadows calculations: like for NPC vision, it's the perfect way to calculate the vision from someone's point of view and assert whatever he sees or doesn't.
  12. I provided the screen-shots on the strange geometry above, the particles stuff wasn't big deal then, and now it's no more because there is a bigger problem now, that I already explained also above.
  13. the particle editor worked perfectly (albeit it repeated the particle effects twice) the strange geometry is new, it worked fine before
  14. creating a particle when there are no other particles (in BFG there are no particles available) allowed me to give it a new name, save it in the file, as per usual, but then the whole particle editor window stayed "inactive" and no new particle was created, in the modfolder/particles folder DR hadn't created any new file, the only thing I could do is close the particle editor window, after that I couldn't open the particle editor no more until I closed DR and re opened it.
  15. great! now the entity panel works! tough I still get the spewing of: _xgeWireToEvent: Unknown extension 148, this should never happen. I love how DR no longer forces you to a specific size of their windows as it used to!
  16. I get this crazy geometry: and I see this strange change of colour when I activate the per-pixel rendering without any light on the scene with a lights things get even crazier:
  17. I'm no longer having troubles with the 'esc' key! but Is till get this whenever the entity panel under the 3d view has to be updated: 18:19:22: Wrong type, required: wxIcon but: wxBitmap which renders it unusable, so I can't change any spawnarg of any entity from that panel the console also keeps still spewing the same message: _xgeWireToEvent: Unknown extension 148, this should never happen. and also the 3D view renders still incorrectly
  18. Can't compile the current code at: Codereader's DarkRadiant. @Greebo It's the same code you posted in the first post, isn't it? I get the following error: (...) CXX render/darkradiant-View.o CXX render/debug/darkradiant-SpacePartitionRenderer.o CXX ui/entitychooser/darkradiant-EntityClassChooser.o In file included from ui/entitychooser/EntityClassChooser.cpp:18:0: ../libs/debugging/ScopedDebugTimer.h:51:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function] double operator-(const timeval& l, const timeval& r) { ^ CXX ui/entitychooser/darkradiant-EntityClassTreePopulator.o CXX ui/prefabselector/darkradiant-PrefabPopulator.o ui/prefabselector/PrefabPopulator.cpp: In member function ‘virtual void* ui::PrefabPopulator::Entry()’: ui/prefabselector/PrefabPopulator.cpp:56:5: error: ‘FileTypePatterns’ was not declared in this scope FileTypePatterns patterns = GlobalFiletypes().getPatternsForType("prefab"); ^ ui/prefabselector/PrefabPopulator.cpp:60:10: error: ‘patterns’ was not declared in this scope if (!patterns.empty()) ^ Makefile:2922: recipe for target 'ui/prefabselector/darkradiant-PrefabPopulator.o' failed make[2]: *** [ui/prefabselector/darkradiant-PrefabPopulator.o] Error 1 make[2]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant/radiant' Makefile:742: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/share/d3bfg/src/DarkRadiant' Makefile:482: recipe for target 'all' failed make: *** [all] Error 2
  19. I've also experienced the "esc" error! it seems to be something with the windows where you can text-search, because with the console panel open you can select with the mouse and then deselect with "esc" with no hassle, but with the entity panel or the materials panel since you seem to be able to search by typing characters, I guess "esc" cancels that search instead of deselecting. so, if you're not searching don'0t cancel search but de-select and vice-versa.
  20. I'm getting a reproducible error, whenever I enter the entity dialogue (the one under the general 3d view) even if I click on a brush (the worldspawn entity) or any other entity, there is an error display that says the following: Wrong type, required: wxIcon but: wxBitmap maybe one of the icons besides of the spawnarg is defined as wxBitmap when it seems it shouldn't?
  21. now it works! the console keeps spewing _xgeWireToEvent: Unknown extension 148, this should never happen. the 3D view displays the faces wrong, the hidden surfaces display on top of the surfaces that should be on top. and if I go unclipped all the way I see the furthest parts of the level on top of the more closest ones
  22. compiled and worked fine for the first time but since then wheneverI try to launch it I get this: biel@Biel-laptop:~$ darkradiant /home/biel/.darkradiant/user.xml:1: parser error : Document is empty ^ /home/biel/.darkradiant/user.xml:1: parser error : Start tag expected, '<' not found ^ *** Caught unhandled unknown exception; terminating but THERE IS a '<' at line 1 in user.xml, in fact DR creates a user.xml file if it's missing, here it is: <?xml version="1.0"?> <user> <ui/> <version value="1.8.0"/> </user> and I also got the log: Started logging to /home/biel/.darkradiant/darkradiant.log Today is: Fri Nov 7 13:31:50 2014 This is DarkRadiant 1.8.0 x64 wxWidgets Version: 3.0.1 ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/entity.so' Module registered: Doom3EntityCreator ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/uimanager.so' Module registered: UIManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/grid.so' Module registered: Grid ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/script.so' Module registered: ScriptingSystem ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/fonts.so' Module registered: FontManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/eclassmgr.so' Module registered: EntityClassManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/xmlregistry.so' Module registered: XMLRegistry ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/md5model.so' Module registered: ModelLoaderMD5MESH Module registered: MD5AnimationCache ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/model.so' Module registered: ModelLoaderMD3 Module registered: ModelLoader3DS Module registered: ModelLoaderASE Module registered: ModelLoaderMS3D Module registered: ModelLoaderMDC Module registered: ModelLoaderMD2 Module registered: ModelLoaderFM Module registered: ModelLoaderLWO Module registered: ModelLoaderPICOTERRAIN Module registered: ModelLoaderOBJ ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/commandsystem.so' Module registered: CommandSystem ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/image.so' Module registered: ImageLoaderTGA Module registered: ImageLoaderJPG Module registered: ImageLoaderPNG Module registered: ImageLoaderPCX Module registered: ImageLoaderWX Module registered: ImageLoaderDDS ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/particles.so' Module registered: ParticlesManager Module registered: ParticlesEditor ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/sound.so' Module registered: SoundManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/filetypes.so' Module registered: FileTypes ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/scenegraph.so' Module registered: SceneGraph Module registered: SceneGraphFactory ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/archivezip.so' Module registered: ArchivePK4 ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/mapdoom3.so' Module registered: Doom3MapLoader Module registered: Quake4MapLoader Module registered: Doom3PrefabLoader Module registered: MapCompiler Module registered: Quake3MapLoader ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/filters.so' Module registered: FilterSystem ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/entitylist.so' Module registered: EntityList ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/shaders.so' Module registered: MaterialManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/eventmgr.so' Module registered: EventManager ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/vfspk3.so' Module registered: VirtualFileSystem ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/skins.so' Module registered: ModelSkinCache ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/undo.so' Module registered: UndoSystem ModuleLoader: Loading module '/usr/local/lib/darkradiant/plugins/eclasstree.so' Module registered: EClassTree ModuleLoader: Loading module '/usr/local/lib/darkradiant/plugins/wavefront.so' Module registered: WaveFrontExporter XMLRegistry::initialiseModule called XMLRegistry: looking for XML files under /usr/local/share/darkradiant/ XMLRegistry: Importing XML file: /usr/local/share/darkradiant/user.xml XMLRegistry: Importing XML file: /usr/local/share/darkradiant/colours.xml XMLRegistry: Importing XML file: /usr/local/share/darkradiant/input.xml XMLRegistry: Importing XML file: /usr/local/share/darkradiant/menu.xml XMLRegistry: Importing XML file: /usr/local/share/darkradiant/commandsystem.xml XMLRegistry: Importing XML file: /home/biel/.darkradiant/user.xml XMLRegistry: Importing XML file: /home/biel/.darkradiant/input.xml EventManager successfully shut down. XMLRegistry Shutdown: 1 queries processed. XMLRegistry: Failed to save path /darkradiant/user/ui/filtersystem/filters XMLRegistry: Failed to save path /darkradiant/user/ui/colourschemes XMLRegistry: Failed to save path /darkradiant/user/ui/input XMLRegistry: Saved user to /home/biel/.darkradiant/user.xml Closing log file at Fri Nov 7 13:31:50 2014 I did chown all the darkradiant folder and files to my group in case it had something to do with it, but then I saw that there is no "/darkradiant/user/" folder, at least not at "/usr/local/share/darkradiant/" nor at "/usr/local/lib/darkradiant"
  23. but I can't find those files in synaptic, and in the case of libtool I already have it installed.
×
×
  • Create New...