Re: __assert linker error

2005-11-07 Thread Brian Dessent
Thomas Porschberg wrote: > Is this roadmap ok ? I have no idea, I don't know anything about QT under windows and whether it will compile as a mingw app. Regardless, you must either compile every object with -mno-cygwin or none of them with it. Brian -- Unsubscribe info: http://cygwin.com/

Re: __assert linker error

2005-11-07 Thread Thomas Porschberg
Thanks for this explanation. The way to get a self-contained non-cygwin but windows CPPUNIT application based on QT is therefore 1) download the qt-library as sources 2) compile it with -mno-cygwin -mwindows compiler flags 3) build libqttestrunner with this new qt-library and -mno-cygwin -mwi

Re: __assert linker error

2005-11-07 Thread Brian Dessent
Thomas Porschberg wrote: > I compiled cppunit-library as a mingw32 (using -mno-cygwin) application > and libqttestrunner as an cygwin library. That is why it isn't working. You can't mix Cygwin and non-cygwin objects in the same executable. Cygwin and mingw use completely different C runtimes a

__assert linker error

2005-11-07 Thread Thomas Porschberg
Hi, I try to compile a small C++ QT program from the CPPUNIT distribution under cygwin and encounter a linker error. $ make g++ -Wl,--enable-runtime-pseudo-reloc -o example ExampleTestCase.o Main.o-L/ usr/lib/qt3/lib -L/usr/local/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lpthread -lcppunit -