Building codelite from Git sources
Posted: Wed Dec 03, 2014 10:03 pm
Hi, thanks for the great IDE! It works nicely, using windows 7 laptop, binary download of 6.1.1, followed instructions from http://codelite.org/Developers/Windows about building codelite using binaries and Git src.
Any pointers will be appreciated!
There is no project called LiteEditor, I selected the closest one, CodeLiteIDE, and built it. Many things compiled with no errors.
Attempting to following the wiki instructions, using binaries for codelite 6.1.1, at the end you see this
flex --noline --batch --outfile=CxxLexer.cpp CxxScanner.l
followed by errors. flex: unknown flag '-'. For usage, try
flex --help
Here is the entire build output, thanks!
C:\Windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j2 SHELL=cmd.exe -e -f Makefile"
"----------Building project:[ PCH - Release ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: 'precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/PCH'
"----------Building project:[ sqlite3 - Common ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sqlite3'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sqlite3'
"----------Building project:[ wxsqlite3 - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libwxsqlite3u.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
"----------Building project:[ databaselayer_sqlite - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libdatabaselayersqliteu.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
"----------Building project:[ wxshapeframework - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libwxshapeframeworku.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
"----------Building project:[ libCodeLite - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/CodeLite'
flex --noline --batch --outfile=CxxLexer.cpp CxxScanner.l
flex: unknown flag '-'. For usage, try
flex --help
mingw32-make.exe[1]: *** [CxxLexer.cpp] Error 1
mingw32-make.exe: *** [All] Error 2
libCodeLite.mk:113: recipe for target 'CxxLexer.cpp' failed
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/CodeLite'
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
Any pointers will be appreciated!
There is no project called LiteEditor, I selected the closest one, CodeLiteIDE, and built it. Many things compiled with no errors.
Attempting to following the wiki instructions, using binaries for codelite 6.1.1, at the end you see this
flex --noline --batch --outfile=CxxLexer.cpp CxxScanner.l
followed by errors. flex: unknown flag '-'. For usage, try
flex --help
Here is the entire build output, thanks!
C:\Windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j2 SHELL=cmd.exe -e -f Makefile"
"----------Building project:[ PCH - Release ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: 'precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/PCH'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/PCH'
"----------Building project:[ sqlite3 - Common ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sqlite3'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sqlite3'
"----------Building project:[ wxsqlite3 - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libwxsqlite3u.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxsqlite3'
"----------Building project:[ databaselayer_sqlite - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/databaselayer'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libdatabaselayersqliteu.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/databaselayer'
"----------Building project:[ wxshapeframework - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: '../../PCH/precompiled_header_release.h.gch' is up to date.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Nothing to be done for 'all'.
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
Executing Post Build commands ...
copy ..\..\lib\gcc_lib\libwxshapeframeworku.dll ..\..\Runtime
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/sdk/wxshapeframework'
"----------Building project:[ libCodeLite - WinReleaseUnicode ]----------"
mingw32-make.exe[1]: Entering directory 'C:/CL/Git/codelite/CodeLite'
flex --noline --batch --outfile=CxxLexer.cpp CxxScanner.l
flex: unknown flag '-'. For usage, try
flex --help
mingw32-make.exe[1]: *** [CxxLexer.cpp] Error 1
mingw32-make.exe: *** [All] Error 2
libCodeLite.mk:113: recipe for target 'CxxLexer.cpp' failed
mingw32-make.exe[1]: Leaving directory 'C:/CL/Git/codelite/CodeLite'
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings