Klaas Holwerda wrote: > Malcolm Nealon wrote: > > > >>> If the new switches solve this proble, all the better, >>> >>> >> They don't. Or I have done something wrong, which is not unthinkable. >> > > They don't in your new situation as wxDevPack?? > Or do you mean you tried it on MSYS, and it does not help? >
The latter. I added the switches in my MSYS build and nothing changed. I could (ok, almost certainly) have done something wrong, but in any case with my MSYS version adding the switches changed nothing. I cannot really use my computer at the moment, so I can't check for you, but will do again tomorrow. Unless you can test it before me. >> I think you would be able to use my compile log for one of the libraries >> (with the warnings removed) to see where the difference is between your >> make script output and mine. >> > > Can you run all/most samples already with wxDev++? > Again, I'll check this tomorrow, I almost have the devpak ready to install. Is there a particular sample which would be the best to try to get working? >> Hopefully this might help you correct anything in the make script which >> could be the cause of the crashes. >> >> In any case, it should help when you get around to doing a gcc build (as >> opposed to the mingw/configure and MSYS methods). >> > > The gcc build is not something i can do with Cmake directly. Cmake generates > makefile, and they use gcc internal. Which i think is the same with wxDevCpp > in > the end. So if you can no compile and run the samples, i must be able to see > the > difference on the linking order etc. in the makefiles you have. > > > Can you sent me the wxDevCpp project/make files you are using now? > A sample of the makefiles follows: # Project: directdrawwagg # Compiler: Default GCC compiler # Compiler Type: MingW 3 # Makefile created by wxDev-C++ 6.10.2 on 31/01/08 23:34 CPP = C:\Progra~1\Dev-Cpp\Bin\g++.exe CC = C:\Progra~1\Dev-Cpp\Bin\gcc.exe WINDRES = C:\Progra~1\Dev-Cpp\Bin\windres.exe OBJ = Objects/MingW/directdrawagg.o Objects/MingW/directdrawwagg_private.res LINKOBJ = Objects/MingW/directdrawagg.o Objects/MingW/directdrawwagg_private.res LIBS = -L"C:/Program Files/Dev-Cpp/Lib" -L"C:/wxArt2D/lib/gcc_lib" ../../../../lib/gcc_lib/aggdrawer.a ../../../../lib/gcc_lib/artbase.a ../../../../lib/gcc_lib/canextobj.a ../../../../lib/gcc_lib/canvas.a ../../../../lib/gcc_lib/curves.a ../../../../lib/gcc_lib/docview.a ../../../../lib/gcc_lib/editor.a ../../../../lib/gcc_lib/gdsio.a ../../../../lib/gcc_lib/general.a ../../../../lib/gcc_lib/keyio.a ../../../../lib/gcc_lib/svgio.a ../../../../lib/gcc_lib/xmlparse.a -lantigrain -lkbool -mwindows -lwxmsw28 -lwxmsw28_gl -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregex -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 -lopengl32 INCS = -I"C:/Program Files/Dev-Cpp/include" -I"C:/wxArt2D/modules" -I"C:/wxWidgets-2.8.7/src/expat/lib" -I"C:/wxArt2D/include" -I"C:/wxArt2D/thirdparty/agg2/include" -I"C:/wxArt2D/thirdparty/kbool/include" CXXINCS = -I"C:/Program Files/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2" -I"C:/Program Files/Dev-Cpp/include" -I"C:/Program Files/Dev-Cpp/" -I"C:/Program Files/Dev-Cpp/include/common/wx/msw" -I"C:/Program Files/Dev-Cpp/include/common/wx/generic" -I"C:/Program Files/Dev-Cpp/include/common/wx/fl" -I"C:/Program Files/Dev-Cpp/include/common/wx/gizmos" -I"C:/Program Files/Dev-Cpp/include/common/wx/html" -I"C:/Program Files/Dev-Cpp/include/common/wx/mmedia" -I"C:/Program Files/Dev-Cpp/include/common/wx/net" -I"C:/Program Files/Dev-Cpp/include/common/wx/ogl" -I"C:/Program Files/Dev-Cpp/include/common/wx/plot" -I"C:/Program Files/Dev-Cpp/include/common/wx/protocol" -I"C:/Program Files/Dev-Cpp/include/common/wx/stc" -I"C:/Program Files/Dev-Cpp/include/common/wx/svg" -I"C:/Program Files/Dev-Cpp/include/common/wx/xml" -I"C:/Program Files/Dev-Cpp/include/common/wx/xrc" -I"C:/Program Files/Dev-Cpp/include/common/wx" -I"C:/Program Files/Dev-Cpp/include/common" -I"C:/wxArt2D/modules" -I"C:/wxWidgets-2.8.7/src/expat/lib" -I"C:/wxArt2D/include" -I"C:/wxArt2D/thirdparty/agg2/include" -I"C:/wxArt2D/thirdparty/kbool/include" RCINCS = --include-dir "C:/PROGRA~1/Dev-Cpp/include/common" --include-dir "C:/PROGRA~1/Dev-Cpp" -I"C:/WXWIDG~1.7/include" BIN = Output/MingW/directdrawwagg.exe DEFINES = -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ CXXFLAGS = $(CXXINCS) $(DEFINES) -fexceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -m32 -fexpensive-optimizations -O3 CFLAGS = $(INCS) $(DEFINES) -fexceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -m32 -fexpensive-optimizations -O3 GPROF = C:\Progra~1\Dev-Cpp\Bin\gprof.exe RM = rm -f LINK = C:\Progra~1\Dev-Cpp\Bin\g++.exe .PHONY: all all-before all-after clean clean-custom all: all-before $(BIN) all-after clean: clean-custom $(RM) $(OBJ) $(BIN) $(BIN): $(OBJ) $(LINK) $(LINKOBJ) -o "Output\MingW\directdrawwagg.exe" $(LIBS) Objects/MingW/directdrawagg.o: $(GLOBALDEPS) directdrawagg.cpp directdrawagg.h smile.xpm $(CPP) -c directdrawagg.cpp -o Objects/MingW/directdrawagg.o $(CXXFLAGS) Objects/MingW/directdrawwagg_private.res: Objects/MingW/directdrawwagg_private.rc ../../../../../wxWidgets-2.8.7/include/wx/msw/wx.rc $(WINDRES) --input-format=rc -o Objects/MingW/directdrawwagg_private.res $(RCINCS) Objects/MingW/DIRECT~1.RC -O coff I'll try and see how many of the samples I can get to compile tomorrow evening (we're getting some building work done, so I can't get to the computer - for ant substantial period of time - before then) The libraries were built using something like this makefile # Project: editor # Compiler: Default GCC compiler # Compiler Type: MingW 3 # Makefile created by wxDev-C++ 6.10.2 on 31/01/08 23:09 CPP = C:\Progra~1\Dev-Cpp\Bin\g++.exe CC = C:\Progra~1\Dev-Cpp\Bin\gcc.exe WINDRES = C:\Progra~1\Dev-Cpp\Bin\windres.exe OBJ = Objects/MingW/candocproc.o Objects/MingW/canedit.o Objects/MingW/canpropedit.o Objects/MingW/doccancom.o Objects/MingW/edit.o Objects/MingW/execdlg.o Objects/MingW/fontdlg.o Objects/MingW/groupdlg.o Objects/MingW/identifydlg.o Objects/MingW/layerdlg.o Objects/MingW/mastertool.o Objects/MingW/orderdlg.o Objects/MingW/snap.o Objects/MingW/strucdlg.o Objects/MingW/sttool.o Objects/MingW/sttool2.o Objects/MingW/sttoolext.o Objects/MingW/sttoolmes.o Objects/MingW/styledialg.o Objects/MingW/tooldlg.o LINKOBJ = Objects/MingW/candocproc.o Objects/MingW/canedit.o Objects/MingW/canpropedit.o Objects/MingW/doccancom.o Objects/MingW/edit.o Objects/MingW/execdlg.o Objects/MingW/fontdlg.o Objects/MingW/groupdlg.o Objects/MingW/identifydlg.o Objects/MingW/layerdlg.o Objects/MingW/mastertool.o Objects/MingW/orderdlg.o Objects/MingW/snap.o Objects/MingW/strucdlg.o Objects/MingW/sttool.o Objects/MingW/sttool2.o Objects/MingW/sttoolext.o Objects/MingW/sttoolmes.o Objects/MingW/styledialg.o Objects/MingW/tooldlg.o LIBS = -L"C:/Program Files/Dev-Cpp/Lib" INCS = -I"C:/Program Files/Dev-Cpp/include" -I"C:/wxArt2D/modules" -I"C:/wxArt2D/include" -I"C:/wxArt2D/thirdparty/kbool/include" -I"C:/wxWidgets-2.8.7/src/expat/lib" CXXINCS = -I"C:/Program Files/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/3.4.2" -I"C:/Program Files/Dev-Cpp/include" -I"C:/Program Files/Dev-Cpp/" -I"C:/Program Files/Dev-Cpp/include/common/wx/msw" -I"C:/Program Files/Dev-Cpp/include/common/wx/generic" -I"C:/Program Files/Dev-Cpp/include/common/wx/fl" -I"C:/Program Files/Dev-Cpp/include/common/wx/gizmos" -I"C:/Program Files/Dev-Cpp/include/common/wx/html" -I"C:/Program Files/Dev-Cpp/include/common/wx/mmedia" -I"C:/Program Files/Dev-Cpp/include/common/wx/net" -I"C:/Program Files/Dev-Cpp/include/common/wx/ogl" -I"C:/Program Files/Dev-Cpp/include/common/wx/plot" -I"C:/Program Files/Dev-Cpp/include/common/wx/protocol" -I"C:/Program Files/Dev-Cpp/include/common/wx/stc" -I"C:/Program Files/Dev-Cpp/include/common/wx/svg" -I"C:/Program Files/Dev-Cpp/include/common/wx/xml" -I"C:/Program Files/Dev-Cpp/include/common/wx/xrc" -I"C:/Program Files/Dev-Cpp/include/common/wx" -I"C:/Program Files/Dev-Cpp/include/common" -I"C:/wxArt2D/modules" -I"C:/wxArt2D/include" -I"C:/wxArt2D/thirdparty/kbool/include" -I"C:/wxWidgets-2.8.7/src/expat/lib" RCINCS = --include-dir "C:/PROGRA~1/Dev-Cpp/include/common" --include-dir "C:/PROGRA~1/Dev-Cpp" BIN = Output/MingW/editor.a DEFINES = -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ CXXFLAGS = $(CXXINCS) $(DEFINES) -fexceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -m32 CFLAGS = $(INCS) $(DEFINES) -fexceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -m32 GPROF = C:\Progra~1\Dev-Cpp\Bin\gprof.exe RM = rm -f LINK = ar .PHONY: all all-before all-after clean clean-custom all: all-before $(BIN) all-after clean: clean-custom $(RM) $(OBJ) $(BIN) $(BIN): $(OBJ) $(LINK) rcu "$(BIN)" $(LINKOBJ) Objects/MingW/candocproc.o: $(GLOBALDEPS) src/candocproc.cpp $(CPP) -c src/candocproc.cpp -o Objects/MingW/candocproc.o $(CXXFLAGS) Objects/MingW/canedit.o: $(GLOBALDEPS) src/canedit.cpp $(CPP) -c src/canedit.cpp -o Objects/MingW/canedit.o $(CXXFLAGS) Objects/MingW/canpropedit.o: $(GLOBALDEPS) src/canpropedit.cpp $(CPP) -c src/canpropedit.cpp -o Objects/MingW/canpropedit.o $(CXXFLAGS) Objects/MingW/doccancom.o: $(GLOBALDEPS) src/doccancom.cpp $(CPP) -c src/doccancom.cpp -o Objects/MingW/doccancom.o $(CXXFLAGS) Objects/MingW/edit.o: $(GLOBALDEPS) src/edit.cpp $(CPP) -c src/edit.cpp -o Objects/MingW/edit.o $(CXXFLAGS) Objects/MingW/execdlg.o: $(GLOBALDEPS) src/execdlg.cpp $(CPP) -c src/execdlg.cpp -o Objects/MingW/execdlg.o $(CXXFLAGS) Objects/MingW/fontdlg.o: $(GLOBALDEPS) src/fontdlg.cpp $(CPP) -c src/fontdlg.cpp -o Objects/MingW/fontdlg.o $(CXXFLAGS) Objects/MingW/groupdlg.o: $(GLOBALDEPS) src/groupdlg.cpp $(CPP) -c src/groupdlg.cpp -o Objects/MingW/groupdlg.o $(CXXFLAGS) Objects/MingW/identifydlg.o: $(GLOBALDEPS) src/identifydlg.cpp $(CPP) -c src/identifydlg.cpp -o Objects/MingW/identifydlg.o $(CXXFLAGS) Objects/MingW/layerdlg.o: $(GLOBALDEPS) src/layerdlg.cpp $(CPP) -c src/layerdlg.cpp -o Objects/MingW/layerdlg.o $(CXXFLAGS) Objects/MingW/mastertool.o: $(GLOBALDEPS) src/mastertool.cpp $(CPP) -c src/mastertool.cpp -o Objects/MingW/mastertool.o $(CXXFLAGS) Objects/MingW/orderdlg.o: $(GLOBALDEPS) src/orderdlg.cpp $(CPP) -c src/orderdlg.cpp -o Objects/MingW/orderdlg.o $(CXXFLAGS) Objects/MingW/snap.o: $(GLOBALDEPS) src/snap.cpp $(CPP) -c src/snap.cpp -o Objects/MingW/snap.o $(CXXFLAGS) Objects/MingW/strucdlg.o: $(GLOBALDEPS) src/strucdlg.cpp $(CPP) -c src/strucdlg.cpp -o Objects/MingW/strucdlg.o $(CXXFLAGS) Objects/MingW/sttool.o: $(GLOBALDEPS) src/sttool.cpp $(CPP) -c src/sttool.cpp -o Objects/MingW/sttool.o $(CXXFLAGS) Objects/MingW/sttool2.o: $(GLOBALDEPS) src/sttool2.cpp $(CPP) -c src/sttool2.cpp -o Objects/MingW/sttool2.o $(CXXFLAGS) Objects/MingW/sttoolext.o: $(GLOBALDEPS) src/sttoolext.cpp $(CPP) -c src/sttoolext.cpp -o Objects/MingW/sttoolext.o $(CXXFLAGS) Objects/MingW/sttoolmes.o: $(GLOBALDEPS) src/sttoolmes.cpp $(CPP) -c src/sttoolmes.cpp -o Objects/MingW/sttoolmes.o $(CXXFLAGS) Objects/MingW/styledialg.o: $(GLOBALDEPS) src/styledialg.cpp $(CPP) -c src/styledialg.cpp -o Objects/MingW/styledialg.o $(CXXFLAGS) Objects/MingW/tooldlg.o: $(GLOBALDEPS) src/tooldlg.cpp $(CPP) -c src/tooldlg.cpp -o Objects/MingW/tooldlg.o $(CXXFLAGS) Hopefully this will be of some help to you in the meantime. best regards Mal ------------------------------------------------------------------------- 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