compiling wxWidgets on windows 10 with cygwin

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
saurabhk
In need of some credit
In need of some credit
Posts: 1
Joined: Sat Jan 12, 2019 8:52 pm

compiling wxWidgets on windows 10 with cygwin

Postby saurabhk » Sat Jan 12, 2019 9:01 pm

getting this error while 'make' wxWidgets version 3.1.2

please help.

Code: Select all

ranlib /cygdrive/c/wxWidgets-3.1.2/build-debug/lib/libwx_mswu_gl-3.1.a
(if test -f utils/wxrc/Makefile ; then cd utils/wxrc && make all ; fi)
make[1]: Entering directory '/cygdrive/c/wxWidgets-3.1.2/build-debug/utils/wxrc'
/cygdrive/c/wxWidgets-3.1.2/build-debug/bk-deps g++ -c -o wxrc_wxrc.o -D__WXMSW__      -I../../../utils/wxrc  -DwxUSE_GUI=0 -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/cygdrive/c/wxWidgets-3.1.2/build-debug/lib/wx/include/msw-unicode-static-3.1 -I../../../include -ggdb -O0  ../../../utils/wxrc/wxrc.cpp
g++ -o wxrc.exe wxrc_wxrc.o    -L/cygdrive/c/wxWidgets-3.1.2/build-debug/lib    -lwx_baseu_xml-3.1  -lwx_baseu-3.1    -lwxzlib-3.1 -lwxregexu-3.1 -lwxexpat-3.1 -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc -lkernel32 -luser32  -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc -lkernel32 -luser32
/cygdrive/c/wxWidgets-3.1.2/build-debug/lib/libwx_baseu-3.1.a(baselib_filename.o):filename.cpp:(.rdata$.refptr.IID_IPersistFile[.refptr.IID_IPersistFile]+0x0): undefined reference to `IID_IPersistFile'
/cygdrive/c/wxWidgets-3.1.2/build-debug/lib/libwx_baseu-3.1.a(baselib_filename.o):filename.cpp:(.rdata$.refptr.IID_IShellLinkW[.refptr.IID_IShellLinkW]+0x0): undefined reference to `IID_IShellLinkW'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:114: wxrc.exe] Error 1
make[1]: Leaving directory '/cygdrive/c/wxWidgets-3.1.2/build-debug/utils/wxrc'
make: *** [Makefile:14632: wxrc] Error 2

Return to “Compiler / Linking / IDE Related”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests