Malcolm Nealon wrote: > sample_aggdrawer_tuto crashes on frame open, UNLESS it is initiated in > explorer in its own folder. By this I mean if you search for all *.exe > files, and in the search results double click on > sample_aggdrawer_tuto.exe it will crash upon frame opening. If you > browse with explorer to the folder > \wxart2d_gcc\samples\aggdrawer\samples\tuto and double click the > executable there, it opens correctly.
That is because it needs files, which are relative to its place. I need to add checks i think, to tell the user. Making it executable from any location is only possible when setting an environment variable upfront, which tells where to find files. > > sample_canvas_simple crashes on frame open (initiating it in its own > folder also crashes) Do you mean the cmake build tree instead of wxArt2D tree, when you OWN folder? however moving it to > \wxart2d\samples\canvas\samples\simple and initiating it there causes > correct program execution, a path problem? What if smile.xpm and mondrian.xpm/ico are placed in the build folder? Can't check it here. > > sample_curves_curtuto1 works correctly (with error messages - can't find > files...) when initiated from a search. When executed from within its > own folder it works correctly. Same story. > > sample_editor_vdrawm works correctly (with an error message - paths to > layers settings file...) when initiated from a search. When executed > from within its own folder it works correctly. > > sample_editor_vdraws works correctly (with an error message - paths to > layers settings file...) when initiated from a search. When executed > from within its own folder it works correctly. > > sample_editor_tuto crashes on frame open (initiating it in its own > folder also crashes) moving it to \wxart2d\samples\editor\samples\tuto > and initiating it there crashes. Will check this one. > > sample_editor_tuto3 crashes on startup - NO brief glimpse of a frame, > immediate crash. (the same when executed from within its own folder) Will check this one. > > sample_editor_wires works correctly (with an error message - can't find > bitmaps) when initiated from a search. When executed from within its > own folder it works correctly. > > sample_editor_zoom works correctly (with an error message - can't find > Image2.png) when initiated from a search. When executed from within its > own folder it works correctly. > > > The following seem to work correctly - by this I mean that they execute > without crashing - (when executed from a search or from their own > folder) are any missing? I haven't checked if they are actually doing > what they are supposed to be doing. test_canvas_tiletest gives me the > idea tha something is wrong with the program itself (moving the > scrollbars doesn't correctly repaint the frame). Will check this tieltest, but is just testing the tiling algorithm. > > > sample_aggdrawer_directdraw > sample_aggdrawer_tuto > > sample_artbase_directdraw > sample_artbase_drawtest > > sample_canvas_boolop > sample_canvas_canmdi > sample_canvas_cansim > sample_canvas_split > > sample_docview_aui > sample_docview_mdi > sample_docview_multiframe > sample_docview_nonmanaged > sample_docview_singleframe > sample_docview_splitwin > sample_docview_tabframe > > sample_editor_editmdi > sample_editor_single > sample_editor_single2 > sample_editor_tuto4 > sample_editor_viewmul > > test_canvas_tiletest Great. Yesterday late i tested MSYS, seems to be fine. Only when executed from explorer, i first get a console, and next the application also. This is related to -mwindows and -mconsole flags. Will try to find a way to use those properly. The console can be handy for error messages, when debugging. > > I suppose this leaves us with sample_canvas_simple, sample_editor_tuto > and sample_editor_tuto3 to investigate. Is there a common library there > that isn't used by the others? No, i think it is just a matter of files not found. I wonder if they work in debug mode? Will check this evening. Thanks for testing, Klaas -- Unclassified ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev