Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990409201010.2065.qmail@hotmail.com> X-Originating-IP: [129.37.77.99] From: "Richard Ashwell" To: cygwin AT sourceware DOT cygnus DOT com Subject: EGCS 1.1.2 - Mingw32 - wxWindows 2.0 Date: Fri, 09 Apr 1999 13:10:07 PDT Mime-Version: 1.0 Content-type: text/plain First, I am a neophyte, so any and all help is apreciated. I am trying to compile wxwindows 2.0 under the following. EGCS 1.1.2 as a Mingw32 install no Cygwin B20.1 Installed. I was able to get the library compiled, although the makefiles didn't work from the root of the installed tree. under wx/src/msw/makefile.g95 did work giving me the library \wx\lib\libwx.a Then trying to compile some of the examples I get the following error output note the warnings don't bother me but the error in libstdc++.a is beyond my megar understanding. C:\wx\samples\tab>make -f makefile.g95 gcc -c -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ - D__GNUWIN32__ -D_ _WIN32__ -Ic:/wx/include -Ic:/wx/src/png - Ic:/wx/include/wx/msw/gnuwin32 -Ic:/wx /src/zlib -D__EGCS__ -D__WXMSW__ -D__WINDOWS__ -ggdb - D__WXDEBUG__ -Wall -o test.o test.cpp test.cpp: In method `void MyDialog::Init()': test.cpp:165: warning: unused variable `int dialogHeight' test.cpp:164: warning: unused variable `int dialogWidth' windres.exe -i test.rc -o test_resources.o --include-dir c:/wx/include --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ gcc -Wl,--subsystem,windows -mwindows -Lc:/wx/lib -o test.exe test.o test_resou rces.o c:/wx/lib/libwx.a -lstdc++ -lgcc -lwinspool -lwinmm -lshell32 - lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 c:\egcs-1.1.2\lib\libstdc++.a(floatconv.o)(.text+0x12e7): undefined reference to `__imp__HUGE_dll' C:\EGCS-1~1.2\BIN\MAKE.EXE: *** [test.exe] Error 1 Despite, the Install instructions for wxWindows which apear old (IE they had patchs for Mingw32 that when I went to implement where already there in my version) I didn't setup the environment the way the install instructions suggested. It appears they wanted me to run a Batch File like: REM REM replace k:\mingw32 with whatever your installation root may be. REM path c:\egcs-1.1.2\bin;%PATH%; SET GCC_EXEC_PREFIX=c:\egcs-1.1.2\lib\gcc-lib\ set BISON_SIMPLE=c:\egcs-1.1.2\share\bison.simple set BISON_HAIRY=c:\egcs-1.1.2\share\bison.hairy set C_INCLUDE_PATH=c:\egcs-1.1.2\include set CPLUS_INCLUDE_PATH=c:\egcs-1.1.2\include\g++;c:\egcs-1.1.2\include set LIBRARY_PATH=c:\egcs-1.1.2\lib set GCC_EXEC_PREFIX=c:\egcs-1.1.2\lib\gcc-lib\ and other than the BISON stuff which I did need to setup the rest seems redundent and already setup when I open my DOS(Win98) Box. In other words when I run gcc it doesn't need all of the aboe stuff set. Note for the example makefiles I do set a WXWIN environment variable to set WXWIN=c:/wx per the instuctions. and this part works for compiling. I am just having a link error. Any help? REgards, Richard _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com