Problem compiling wxMSW 2.8.12
Posted: Fri Oct 19, 2012 4:10 pm
Hello Everyone,
I am using cygwin with gcc 3.4.4 and would like to compile wxMSW 2.8.12.
I am following the explanations here: http://wiki.wxwidgets.org/Cygwin
After launching make, it does compile a lot of stuff and eventually it hangs on this:
$ make
/home/nmontecc/wxMSW-2.8.12/build-debug/bk-deps g++ -c -o corelib_dirctrlg.o -D__WXMSW__ -DWXBUILDING -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib -I../src/expat/lib -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -I/home/nmontecc/wxMSW-2.8.12/build-debug/lib/wx/include/msw-ansi-debug-static-2.8 -I../include -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ../src/generic/dirctrlg.cpp
../src/generic/dirctrlg.cpp:67:24: direct.h: No such file or directory
../src/generic/dirctrlg.cpp: In function `int setdrive(int)':
../src/generic/dirctrlg.cpp:302: error: `_chdrive' undeclared (first use this function)
../src/generic/dirctrlg.cpp:302: error: (Each undeclared identifier is reported only once for each function it appears in.)
../src/generic/dirctrlg.cpp: In function `bool wxIsDriveAvailable(const wxString&)':
../src/generic/dirctrlg.cpp:351: error: `_getdrive' undeclared (first use this function)
Makefile:28340: recipe for target `corelib_dirctrlg.o' failed
make: *** [corelib_dirctrlg.o] Error 1
Can anyone understand what is it complaining of?
Thanks a lot for your help
Nicola
I am using cygwin with gcc 3.4.4 and would like to compile wxMSW 2.8.12.
I am following the explanations here: http://wiki.wxwidgets.org/Cygwin
After launching make, it does compile a lot of stuff and eventually it hangs on this:
$ make
/home/nmontecc/wxMSW-2.8.12/build-debug/bk-deps g++ -c -o corelib_dirctrlg.o -D__WXMSW__ -DWXBUILDING -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib -I../src/expat/lib -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -I/home/nmontecc/wxMSW-2.8.12/build-debug/lib/wx/include/msw-ansi-debug-static-2.8 -I../include -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ../src/generic/dirctrlg.cpp
../src/generic/dirctrlg.cpp:67:24: direct.h: No such file or directory
../src/generic/dirctrlg.cpp: In function `int setdrive(int)':
../src/generic/dirctrlg.cpp:302: error: `_chdrive' undeclared (first use this function)
../src/generic/dirctrlg.cpp:302: error: (Each undeclared identifier is reported only once for each function it appears in.)
../src/generic/dirctrlg.cpp: In function `bool wxIsDriveAvailable(const wxString&)':
../src/generic/dirctrlg.cpp:351: error: `_getdrive' undeclared (first use this function)
Makefile:28340: recipe for target `corelib_dirctrlg.o' failed
make: *** [corelib_dirctrlg.o] Error 1
Can anyone understand what is it complaining of?
Thanks a lot for your help
Nicola