Page 1 of 1
Cannot build on windows
Posted: Thu Nov 08, 2012 2:26 am
by SuperV1234
Checked out from svn.
Installed the latest CodeLite binaries with MinGW and wxWidgets included.
Opened and built trunk/codelite_utils/codelite_utils.workspace successfully.
Trying to build trunk/LiteEditor.workspace gives me these errors.
Code: Select all
----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -e -j 8 -f "LiteEditor_wsp.mk""
----------Building project:[ PCH - Release ]----------
mingw32-make[1]: Entering directory `D:/WIP/New folder/codelite/PCH'
mingw32-make[1]: `precompiled_header_release.h.gch' is up to date.
mingw32-make[1]: Leaving directory `D:/WIP/New folder/codelite/PCH'
mingw32-make[1]: Entering directory `D:/WIP/New folder/codelite/PCH'
cygwin warning:
MS-DOS style path detected: D:\WIP\New folder\codelite\PCH\PCH.txt
Preferred POSIX equivalent is: /cygdrive/d/WIP/New folder/codelite/PCH/PCH.txt
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
g++ -shared -fPIC -o ./Release/libPCH.a @"D:\WIP\New folder\codelite\PCH\PCH.txt" -L. -O2 -mthreads -LC:\wxWidgets-2.9.4\lib\gcc_dll -lwxmsw29u_xrc -lwxmsw29u_aui -lwxmsw29u_html -lwxmsw29u_adv -lwxmsw29u_core -lwxbase29u_xml -lwxbase29u_net -lwxmsw29u_richtext -lwxbase29u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_xrc
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_aui
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_html
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_adv
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_core
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29u_xml
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29u_net
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29u_richtext
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29u
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxtiff
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxjpeg
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxpng
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxzlib
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexu
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxexpat
c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexu
collect2: ld returned 1 exit status
mingw32-make[1]: *** [Release/libPCH.a] Error 1
mingw32-make.exe: *** [All] Error 2
PCH.mk:72: recipe for target `Release/libPCH.a' failed
mingw32-make[1]: Leaving directory `D:/WIP/New folder/codelite/PCH'
LiteEditor_wsp.mk:4: recipe for target `All' failed
----------Build Ended----------
0 errors, 0 warnings
Environment variables look correct. What is the problem?
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 1:35 pm
by Jarod42
I would say that you mix cygwin and mingw...
I suggest to check PATH and which tools you use in reality.
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 5:28 pm
by SuperV1234
Deleting Cygwin made those errors go away, but now I get new errors:
Code: Select all
mingw32-make.exe[1]: Leaving directory `D:/WIP/New folder/codelite/Plugin'
mingw32-make.exe[1]: Entering directory `D:/WIP/New folder/codelite/Plugin'
Executing Post Build commands ...
copy ..\lib\gcc_lib\libplugin_sdku.dll ..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory `D:/WIP/New folder/codelite/Plugin'
----------Building project:[ CodeFormatter - WinReleaseUnicode ]----------
mingw32-make.exe[1]: Entering directory `D:/WIP/New folder/codelite/CodeFormatter'
mingw32-make.exe[1]: `../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory `D:/WIP/New folder/codelite/CodeFormatter'
mingw32-make.exe[1]: Entering directory `D:/WIP/New folder/codelite/CodeFormatter'
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/formatoptions.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/formatoptions.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/ASEnhancer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/ASEnhancer.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/ASResource.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/ASResource.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/codeforammaterbasedlg.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/codeforammaterbasedlg.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/codeformatter.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/codeformatter.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/ASBeautifier.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/ASBeautifier.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/ASFormatter.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/ASFormatter.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/codeformatterdlg.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/codeformatterdlg.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/ASLocalizer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/ASLocalizer.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -include ../PCH/precompiled_header_release.h -c "D:/WIP/New folder/codelite/CodeFormatter/astyle_main.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_SDK -DWXUSINGDLL_CL -o ./WinReleaseUnicode/astyle_main.o -I. -I. -I../Interfaces -I../CodeLite -I../Plugin -I../sdk/wxsqlite3/include -I../PCH
g++ -shared -fPIC -o ./WinReleaseUnicode/CodeFormatter.dll @"D:\WIP\New folder\codelite\CodeFormatter\CodeFormatter.txt" -L. -L../lib/gcc_lib -lplugin_sdku -lcodeliteu -O2 -mthreads -LC:\wxWidgets-2.9.4\lib\gcc_dll -lwxmsw29u_xrc -lwxmsw29u_aui -lwxmsw29u_html -lwxmsw29u_adv -lwxmsw29u_core -lwxbase29u_xml -lwxbase29u_net -lwxmsw29u_richtext -lwxbase29u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -s
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x878d): undefined reference to `_imp___ZN16wxStyledTextCtrlC1EP8wxWindowiRK7wxPointRK6wxSizelRK8wxString'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x87d9): undefined reference to `_imp___ZN16wxStyledTextCtrl10SetUseTabsEb'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x87f7): undefined reference to `_imp___ZN16wxStyledTextCtrl11SetTabWidthEi'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8815): undefined reference to `_imp___ZN16wxStyledTextCtrl9SetIndentEi'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x882c): undefined reference to `_imp___ZN16wxStyledTextCtrl13SetTabIndentsEb'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8843): undefined reference to `_imp___ZN16wxStyledTextCtrl21SetBackSpaceUnIndentsEb'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x885a): undefined reference to `_imp___ZN16wxStyledTextCtrl10SetViewEOLEb'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8871): undefined reference to `_imp___ZN16wxStyledTextCtrl17SetViewWhiteSpaceEi'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8890): undefined reference to `_imp___ZN16wxStyledTextCtrl14SetMarginWidthEii'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x88a7): undefined reference to `_imp___ZN16wxStyledTextCtrl20SetIndentationGuidesEi'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x88c6): undefined reference to `_imp___ZN16wxStyledTextCtrl14SetMarginWidthEii'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x88e5): undefined reference to `_imp___ZN16wxStyledTextCtrl14SetMarginWidthEii'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8911): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x89db): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8ad6): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8b3e): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8c08): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8d03): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8d6b): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8d97): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8e61): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8f5c): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x8fc4): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x908e): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x9189): undefined reference to `_imp___ZN16wxStyledTextCtrl19MarkerSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x91f1): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x921d): undefined reference to `_imp___ZN16wxStyledTextCtrl12MarkerDefineEiiRK8wxColourS2_'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x9263): undefined reference to `_imp___ZN16wxStyledTextCtrl16SetSelBackgroundEbRK8wxColour'
./WinReleaseUnicode/codeforammaterbasedlg.o:codeforammaterbasedlg.cpp:(.text+0x92de): undefined reference to `_imp___ZN16wxStyledTextCtrl16SetSelForegroundEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0xbc4): undefined reference to `_imp___ZN16wxStyledTextCtrl8SetLexerEi'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x100f): undefined reference to `_imp___ZN16wxStyledTextCtrl12StyleSetFontEiR6wxFont'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1035): undefined reference to `_imp___ZN16wxStyledTextCtrl12StyleSetSizeEii'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x10e6): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x11db): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1245): undefined reference to `_imp___ZN16wxStyledTextCtrl12StyleSetSizeEii'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x12ef): undefined reference to `_imp___ZN16wxStyledTextCtrl19SetFoldMarginColourEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x13dd): undefined reference to `_imp___ZN16wxStyledTextCtrl21SetFoldMarginHiColourEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x171b): undefined reference to `_imp___ZN16wxStyledTextCtrl17IndicatorSetStyleEii'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1741): undefined reference to `_imp___ZN16wxStyledTextCtrl17IndicatorSetStyleEii'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x17bf): undefined reference to `_imp___ZN16wxStyledTextCtrl12StyleSetFontEiR6wxFont'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x17e8): undefined reference to `_imp___ZN16wxStyledTextCtrl12StyleSetSizeEii'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1815): undefined reference to `_imp___ZN16wxStyledTextCtrl17StyleSetEOLFilledEib'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x18de): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x19d2): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1dc2): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetBackgroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1f04): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x1ffc): undefined reference to `_imp___ZN16wxStyledTextCtrl19SetFoldMarginColourEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x20ed): undefined reference to `_imp___ZN16wxStyledTextCtrl21SetFoldMarginHiColourEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x22bd): undefined reference to `_imp___ZN16wxStyledTextCtrl16SetSelBackgroundEbRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x231f): undefined reference to `_imp___ZN16wxStyledTextCtrl11SetSelAlphaEi'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x24ad): undefined reference to `_imp___ZN16wxStyledTextCtrl18SetCaretForegroundERK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x25c0): undefined reference to `_imp___ZN16wxStyledTextCtrl18StyleSetForegroundEiRK8wxColour'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x262a): undefined reference to `_imp___ZN16wxStyledTextCtrl11SetKeyWordsEiRK8wxString'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x50ad): undefined reference to `_imp___ZN16wxStyledTextCtrl7SetTextERK8wxString'
./WinReleaseUnicode/codeformatterdlg.o:codeformatterdlg.cpp:(.text+0x584d): undefined reference to `_imp___ZN16wxStyledTextCtrl7SetTextERK8wxString'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [WinReleaseUnicode/CodeFormatter.dll] Error 1
mingw32-make.exe: *** [All] Error 2
CodeFormatter.mk:74: recipe for target `WinReleaseUnicode/CodeFormatter.dll' failed
mingw32-make.exe[1]: Leaving directory `D:/WIP/New folder/codelite/CodeFormatter'
LiteEditor_wsp.mk:4: recipe for target `All' failed
----------Build Ended----------
55 errors, 79 warnings, total time: 00:01:21 seconds
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 5:57 pm
by Jarod42
According to
Re: codelite 4.1 is available.
Try to replace wx-config by this one
wx-config.7z.
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 6:02 pm
by SuperV1234
That didn't solve the problem. I tried using the "Win_wxWidgets_29" build configuration and it went further, but stopped here:
D:/WIP/New folder/codelite/CodeLite/winprocess_impl.cpp: In constructor 'ConsoleAttacher::ConsoleAttacher(long int)':
D:/WIP/New folder/codelite/CodeLite/winprocess_impl.cpp:62:33: error: 'AttachConsole' was not declared in this scope
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 6:47 pm
by Jarod42
Same problem here,
but Win Release unicode, Win Debug Unicode works.
in winprocess_impl.cpp Moving
Code: Select all
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0501 // Make AttachConsole(DWORD) visible
before the include fix the error (for me).
surely a problem due to the fact that this project doesn't use PCH only in this configuration.
Re: Cannot build on windows
Posted: Thu Nov 08, 2012 8:11 pm
by SuperV1234
Uninstalled/reinstalled everything, got the latest src from svn again, swapped the wx-config file. It works now. Thanks for your time