Page 1 of 1

Windows: can't build source.

Posted: Thu Aug 16, 2012 10:30 am
by richtw
Hi Eran,

I'm trying to build CodeLite under Windows 7, but I have a link error building the project WinReleaseUnicode from the CodeLite workspace.

Here's the build output:

Code: Select all

----------Building project:[ CodeLite - WinReleaseUnicode ]----------
g++ -c  ../PCH/precompiled_header_release.h -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -O2
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/worker_thread.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/worker_thread.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/tokenizer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/tokenizer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/tag_tree.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/tag_tree.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/symbol_tree.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/symbol_tree.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/readtags.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/readtags.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/progress_dialog.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/progress_dialog.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/procutils.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/procutils.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/parse_thread.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/parse_thread.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/lex.yy.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/lex.yy.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/lex.yy.cpp: In member function 'virtual int flex::yyFlexLexer::yylex()':
C:/Development/CodeLite/CodeLite/lex.yy.cpp:1039:5: warning: label 'find_rule' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/language.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/language.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/fileutils.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/fileutils.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/dirtraverser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/dirtraverser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/ctags_manager.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/ctags_manager.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_scanner.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_scanner.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cl_process.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cl_process.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/scope_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/scope_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/scope_parser.cpp: In function 'int cl_scope_parse()':
C:/Development/CodeLite/CodeLite/scope_parser.cpp:832:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/scope_parser.cpp:876:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/scope_parser.cpp:1327:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/scope_parser.cpp:875:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/scope_parser.cpp:880:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_lexer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_lexer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_lexer.cpp: In function 'int cl_scope_lex()':
C:/Development/CodeLite/CodeLite/cpp_lexer.cpp:1131:1: warning: label 'find_rule' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/scope_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/scope_parser.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_comment_creator.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_comment_creator.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/tags_options_data.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/tags_options_data.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/setters_getters_data.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/setters_getters_data.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_lexer.cpp: At global scope:
C:/Development/CodeLite/CodeLite/cpp_lexer.cpp:2645:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/cpp_lexer.cpp:2127:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/archive.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/archive.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/winprocess.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/winprocess.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/winprocess.cpp: In member function 'bool WinProcess::Write(const wxString&)':
C:/Development/CodeLite/CodeLite/winprocess.cpp:223:8: warning: variable 'dwTimeout' set but not used [-Wunused-but-set-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cl_calltip.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cl_calltip.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/performance.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/performance.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/fileextmanager.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/fileextmanager.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/parsedtoken.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/parsedtoken.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/file_logger.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/file_logger.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/compiler_command_line_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/compiler_command_line_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_expr_lexer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_expr_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp: In function 'int cl_expr_lex()':
C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp:1082:1: warning: label 'find_rule' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp: In function 'int cl_expr_parse()':
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:552:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:596:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:969:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:595:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:600:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpp_func_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp: In function 'int cl_func_parse()':
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:641:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:685:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:1032:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:684:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:689:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/expression_result.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/expression_result.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/cpp_expr_parser.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/function.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/function.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp: At global scope:
C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp:2580:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/cpp_expr_lexer.cpp:2062:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/var_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/var_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/variable.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/variable.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/var_parser.cpp: In function 'void var_consumeDefaultValue(char, char)':
C:/Development/CodeLite/CodeLite/var_parser.cpp:622:7: warning: unused variable 'cont' [-Wunused-variable]
C:/Development/CodeLite/CodeLite/var_parser.cpp: In function 'int cl_var_parse()':
C:/Development/CodeLite/CodeLite/var_parser.cpp:730:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/var_parser.cpp:774:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/var_parser.cpp:1347:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/var_parser.cpp:773:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/var_parser.cpp:778:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/cpp_func_parser.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/typedef_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/typedef_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/typedef_parser.cpp: In function 'void typedef_consumeDefaultValue(char, char)':
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:463:7: warning: unused variable 'cont' [-Wunused-variable]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp: In function 'int cl_typedef_parse()':
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:548:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:592:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:929:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:591:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:596:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/scope_optimizer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/scope_optimizer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp: In function 'int scope_optimizer_lex()':
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp:944:1: warning: label 'find_rule' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/comment_parser.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/comment_parser.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/comment_parser.cpp: In function 'int cp_lex()':
C:/Development/CodeLite/CodeLite/comment_parser.cpp:647:1: warning: label 'find_rule' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/typedef_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/typedef_parser.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/entry.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/entry.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp: At global scope:
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp:2233:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp:2159:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/scope_optimizer.cpp:1716:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/comment.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/comment.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/var_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/var_parser.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/fileentry.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/fileentry.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/comment_parser.cpp: At global scope:
C:/Development/CodeLite/CodeLite/comment_parser.cpp:1676:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/comment_parser.cpp:1602:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/comment_parser.cpp:1159:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/tags_storage_sqlite3.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/tags_storage_sqlite3.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/cl_indexer_reply.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_cl_indexer_reply.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/cl_indexer_request.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_cl_indexer_request.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/clindexerprotocol.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_clindexerprotocol.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/sdk/codelite_indexer/network/clindexerprotocol.cpp: In static member function 'static bool clIndexerProtocol::ReadReply(clNamedPipe*, clIndexerReply&)':
C:/Development/CodeLite/sdk/codelite_indexer/network/clindexerprotocol.cpp:42:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat]
C:/Development/CodeLite/sdk/codelite_indexer/network/clindexerprotocol.cpp: In static member function 'static bool clIndexerProtocol::ReadRequest(clNamedPipe*, clIndexerRequest&)':
C:/Development/CodeLite/sdk/codelite_indexer/network/clindexerprotocol.cpp:81:117: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/named_pipe.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_named_pipe.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/named_pipe_client.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_named_pipe_client.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/named_pipe_server.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_named_pipe_server.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/sdk/codelite_indexer/network/np_connections_server.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/network_np_connections_server.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/crawler_lexer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/crawler_lexer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/fc_fileopener.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/fc_fileopener.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp: In function 'int fc_lex()':
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp:759:1: warning: label 'find_rule' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/asyncprocess.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/asyncprocess.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp: At global scope:
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp:1784:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp:1710:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/crawler_lexer.cpp:1267:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/processreaderthread.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/processreaderthread.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/unixprocess_impl.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/unixprocess_impl.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/winprocess_impl.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/winprocess_impl.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/include_finder.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/include_finder.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/include_finder.cpp: In function 'int inclf_lex()':
C:/Development/CodeLite/CodeLite/include_finder.cpp:691:1: warning: label 'find_rule' defined but not used [-Wunused-label]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/pp.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/pp.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/pp_lexer.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/pp_lexer.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/pp.cpp: In function 'int pp_parse()':
C:/Development/CodeLite/CodeLite/pp.cpp:304:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
C:/Development/CodeLite/CodeLite/pp.cpp:348:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/pp.cpp:555:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:/Development/CodeLite/CodeLite/pp.cpp:347:1: warning: label 'yynewerror' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/pp.cpp:352:1: warning: label 'yyerrlab' defined but not used [-Wunused-label]
C:/Development/CodeLite/CodeLite/include_finder.cpp: At global scope:
C:/Development/CodeLite/CodeLite/include_finder.cpp:1661:14: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/include_finder.cpp:1587:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
C:/Development/CodeLite/CodeLite/include_finder.cpp:1144:13: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/pptable.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/pptable.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/refactorengine.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/refactorengine.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
C:/Development/CodeLite/CodeLite/pp.cpp: At global scope:
C:/Development/CodeLite/CodeLite/pp.cpp:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cpptoken.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cpptoken.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
lex.pp_.c:2171:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
lex.pp_.c:1694:17: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function]
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/cppwordscanner.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/cppwordscanner.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/stringaccessor.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/stringaccessor.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -include ../PCH/precompiled_header_release.h  -c  "C:/Development/CodeLite/CodeLite/clprogressdlgbase.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\WxWidgets\lib\gcc_dll\mswu -IC:\WxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport  -Wall -O2 -Winvalid-pch -D__WX__ -DWXUSINGDLL -DWXMAKINGDLL_CL -DWXUSINGDLL_WXSQLITE3  -o ./WinReleaseUnicode/clprogressdlgbase.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH 
g++ -shared -fPIC -o ../lib/gcc_lib/libcodeliteu.dll @"C:\Development\CodeLite\CodeLite\CodeLite.txt" -L. -L../lib/gcc_lib  -lwxsqlite3u   -mthreads -LC:\WxWidgets\lib\gcc_dll -lwxmsw29u_html -lwxmsw29u_adv -lwxmsw29u_core -lwxbase29u_xml -lwxbase29u_net -lwxbase29u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32  -s
./WinReleaseUnicode/parse_thread.o:parse_thread.cpp:(.text.startup+0x49): undefined reference to `__imp___ZN13wxXmlResource10DoGetXRCIDEPKci'
./WinReleaseUnicode/ctags_manager.o:ctags_manager.cpp:(.text+0x595): undefined reference to `__imp___ZN13wxXmlResource10DoGetXRCIDEPKci'
./WinReleaseUnicode/ctags_manager.o:ctags_manager.cpp:(.text.startup+0x49): undefined reference to `__imp___ZN13wxXmlResource10DoGetXRCIDEPKci'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [../lib/gcc_lib/libcodeliteu.dll] Error 1
----------Build Ended----------
3 errors, 66 warnings, total time: 00:01:02 seconds
I am on Windows 7 (64-bit), with MinGW GCC 4.7.0, and have compiled wxWidgets 2.9.4 myself with this version of GCC. I have the following global environment variables set:

Code: Select all

CodeLiteDir=C:\Program Files (x86)\CodeLite
WXWIN=C:/WxWidgets
WXCFG=gcc_dll/mswu
c++filt can't demangle the symbols which are referenced in the linker error above, but I'm guessing it's looking for something like wxXmlResource::DoGet(), and a cursory search didn't find anything in the .cpp files listed.

Any ideas on this?

Incidentally, my main motivation for trying to build the code is to try and fix the bug which I've recently entered into the database, where the '[' and '{' characters are not typeable from a Spanish keyboard (obviously this is a bit of a problem with C++ development!). I found elsewhere that the problem may be related to this code in ScintillaWX.cpp:

Code: Select all

    int rv = KeyDown(key, shift, ctrl, alt, consumed);

    if (key)
        return rv;
    else
        return 1;
which someone had changed to simply:

Code: Select all

    int rv = KeyDown(key, shift, ctrl, alt, consumed);

    return rv;
with no adverse effects on other wxWidgets applications. On this theme, my second question is: why is the wxScintilla source duplicated in the CodeLite source from wxWidgets? When I have the code building, will it be sufficient to make this change solely in the CodeLite source?

Many thanks for any answers!

Rich

Re: Windows: can't build source.

Posted: Thu Aug 16, 2012 5:54 pm
by eranif
richtw wrote:Any ideas on this?
Since you built wxWidgets yourself, you built it as multilib (which is OK), however codelite uses 'wx-config.exe' to get the list of libraries to link with.
In the version that comes with codelite-4.0 there is a bug that XRC is not included in the output of `wx-config --libs`. No one reported this so far
because usually they built codelite with the bundled wxWidgets (which is monolithic..) so there is no need to explicitly set 'xrc'.

How to fix this?

Lucky for you, I noticed this bug last week when I moved codelite to use multilib instead of monolithic lib so I fixed wx-config for this purpose..

- Do an svn update on codelite sources (make sure you are using the latest trunk)
- close codelite workspcae, and open the workspace under CODELITE_SOURCES/codelite_utils/codelite_utils.workspace
- Rebuild the workspace
- Copy the file wx-config.exe from CODELITE_SOURCES/Runtime/wx-config.exe to C:\Program Files (x86)\CodeLite (assuming that this is where you installed codelite)
- Reopen codelite's workspace and try again.

This time you should see in the link line

Code: Select all

-lwxmsw29u_xrc
as well. If you don't see it, make sure that codelite is using the correct wx-config.exe and that you don't have a rogue wx-config.exe placed somewhere on your path
richtw wrote: where the '[' and '{' characters are not typeable from a Spanish keyboard
I fixed other "special" keyboard layouts couple of revisions ago - so chances are that this bug is already fixed in trunk

Also, please follow the below wiki link for how to build wxWidgets *properly* - it will boost codelite startup time from ~20 seconds to instant
http://codelite.org/Developers/Windows

Eran

Re: Windows: can't build source.

Posted: Thu Aug 16, 2012 6:54 pm
by richtw
Thanks for your quick response!

Yes, this morning I'd narrowed it down to xrc not being added to the command line, but hadn't figured out why. I didn't realise there was a wx-config.exe that was being called, I thought it was somehow executing the wx-config.in in wxWidgets from the GNU Make shell (and didn't quite have the stomach to debug that!). I'll try your steps later on and see if I have some success.

Incidentally, I'll just add here (in case it's an unanswered FAQ) that I originally had some trouble getting anywhere with the build, and the reason was that I had MSYS in my Windows path. This was causing GNU Make's default shell to be sh.exe (the bash shell from MSYS), and this was causing all sorts of problems (copy command not working, backslashes causing problems in path names meaning that linked libraries weren't found). I worked around it by renaming sh.exe so Make wouldn't find it, but I'm still looking to find a 'proper' solution. Maybe explicitly specifying SHELL=cmd.exe in the global environment variables? I'll try that later too :)

And thanks for the tips regarding building wxWidgets - I'd already found this page, and made the changes (although I was unable to build wxWidgets from cmd.exe - I had to do it from the MSYS shell).
eranif wrote:I fixed other "special" keyboard layouts couple of revisions ago - so chances are that this bug is already fixed in trunk
That's great news - I'll see if it works for me when I've got everything built. Any thoughts on when this will get a full release?

Rich

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 2:42 am
by richtw
OK, some feedback!
  1. With your advice (rebuilding wx-config.exe, and integrating it into the working version of CodeLite), the link errors with wxWidgets went away.
  2. However, it was still not a clean build, as some projects in the workspace had dependencies on linking with dlls from other projects which hadn't yet been built (it seems) - it was as if the build order was not specified or being ignored. A second build pass did the job, and everything linked ok. Don't know if this is a bug in the application, or in the configuration of the workspace, but just thought I'd mention it.
  3. I noticed that, despite there being link errors, the number of errors reported at the end of the build was 0. Is this a known problem?
  4. The Spanish keyboard layout bug with '[' and '{' is indeed fixed in the head revision, so kudos for fixing that before I even mentioned it :) Now that's service.
  5. Setting a global environment variable SHELL=cmd.exe did indeed fix the problem of sh.exe from my MSYS installation taking priority as the preferred GNU Make shell. Don't know if you want to add that as standard to the Windows build or not, or maybe just add the information into the wiki page for building for Windows?
  6. I noticed that my fresh build of CodeLite takes a slightly (but noticeably) longer time to startup and shutdown than the current available release. I don't know if that's due to having to dynamically link with multiple DLLs instead of a huge monolithic behemoth, or if there's something else up with my build environment. I've set the debug level to 0 in the headers for wxWidgets in release mode, as recommended. Have you noticed the same thing in your new non-monolithic build?
Anyway, now I have a usable version of CodeLite, so I look forward to trying it out on a small project. MS's direction with Visual Studio fills me with dread, and I'm keen to find a good replacement which I can use for a cross-platform project with ease. I'm hoping CodeLite is the one :)

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 9:10 am
by eranif
richtw wrote:etting a global environment variable SHELL=cmd.exe did indeed fix the problem of sh.exe from my MSYS installation taking priority as the preferred GNU Make shell. Don't know if you want to add that as standard to the Windows build or not, or maybe just add the information into the wiki page for building for Windows?
This question was asked and answered on the forum before and I recommended people to set SHELL=cmd.exe, indeed adding it to the wiki is a good idea
richtw wrote:I noticed that my fresh build of CodeLite takes a slightly (but noticeably) longer time to startup and shutdown than the current available release. I don't know if that's due to having to dynamically link with multiple DLLs instead of a huge monolithic behemoth, or if there's something else up with my build environment
My codelite starts instantly ( as soon as you double click the codelite's icon the splash screen appears )
Did you follow this wiki post for how to properly build wxWidgets
http://codelite.org/Developers/Windows
?

Eran

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 1:05 pm
by richtw
eranif wrote:My codelite starts instantly ( as soon as you double click the codelite's icon the splash screen appears )
Did you follow this wiki post for how to properly build wxWidgets
http://codelite.org/Developers/Windows
?
Yes, I have wxWidgets build with the -fno-keep-inline-dllexport flag. I had the splash screen disabled but, upon enabling it, it does appear nearly instantly, so I'd put the extra delay just down to file access.

On the subject of not building correctly first time, I noticed that the dependencies between projects were not properly set up in the LiteEditor workspace, so I set the Build Order, project by project, so that any workspace DLLs which were on the linker command line were checked in the Build Order dialog. However, I haven't been able to get this to work.

Here is what I'm doing, using plugin_sdk as an example. plugin_sdk links with the following libraries:
  • libcodeliteu.dll
  • libwxsqlite3u.dll
  • libwxscintillau.dll
  • libUxTheme.a
Of these, the first three are the targets of three other projects in the workspace, so I set the Build Order for plugin_sdk to be:
  • CodeLite
  • wxsqlite3
  • wxscintilla
...and so on, for every project, in the configuration I am building (WinReleaseUnicode).

When building the workspace, the first project it builds is plugin_sdk. This should not be the case; according to the dependencies, it should build sqlite3 (because wxsqlite3 depends on it), then wxsqlite3 and wxscintilla (because CodeLite and plugin_sdk depend on them), then CodeLite, and then plugin_sdk. Am I not understanding how Build Order should be used, or is there a known problem with it? I found another thread suggesting the same thing, but this was years ago, and it seems a fairly fundamental feature.

The other problem that I've already mentioned is that these link errors don't add themselves to the error count at the end of the build (or maybe the build should abort?). This gives the impression that the build was successful, which is misleading.

I know we're drifting off-topic here, please do split out this post to a different topic/forum if appropriate!

Thanks,
Rich

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 1:48 pm
by eranif
richtw wrote:On the subject of not building correctly first time, I noticed that the dependencies between projects were not properly set up in the LiteEditor workspace, so I set the Build Order, project by project
They are set only in the 'LiteEditor' project. So basically, make sure that liteEditor project is the active one and it will take care of the rest ... (since the dependencies are set properly in this project)

Eran

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 2:48 pm
by richtw
OK, I see, this worked fine (having LiteEditor as the active project, having it selected, and hitting f7). All built correctly, and in the correct order.

What exactly is the behavior of f7 (Build Project)? Does it build the active project, or the currently selected project?

Regarding the Build Order dialog - is this going to be fixed so that it works correctly with a dependency graph deeper than 2 layers, like in the example above? My projects tend to have reasonably complicated dependencies, and rather than having to work out the build order by hand, and set it on the active project, I would prefer to be able to say:

A depends on B, C and D
B depends on D
D depends on E

and have CodeLite figure out that the final build order should be: E, D, B, C, A or something similar. Rather than setting the build order for A as E, D, B, C by hand. Of course this is a trivial example, but it gets more complicated as the workspace gets bigger!

Thanks again for all your help so far!

Rich

Re: Windows: can't build source.

Posted: Fri Aug 17, 2012 5:22 pm
by jfouche
See this thread. Maybe it's time to open a bug report...