how to build codelite on windows?

General questions regarding the usage of CodeLite
xuiv
CodeLite Enthusiast
Posts: 16
Joined: Fri Nov 22, 2013 3:21 am
Genuine User: Yes
IDE Question: c++
Contact:

how to build codelite on windows?

Post by xuiv »

Code: Select all

C:/Users/Young/AppData/Local/CodeLite/TDM-GCC-64/bin/g++.exe  -include ../PCH/precompiled_header_release.h  -c  "C:/Users/Young/Downloads/codelite-7.0/CodeLite/cl_config.cpp" -O2 -std=c++11 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/Users/Young/AppData/Local/CodeLite/wxWidgets-3.1/lib/gcc_dll/mswu -IC:/Users/Young/AppData/Local/CodeLite/wxWidgets-3.1/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport -std=c++11  -Winvalid-pch -DWXMAKINGDLL_CL -DWXUSINGDLLL_WXSQLITE3 -DUSE_SFTP=1  -o Win_x64_Release/cl_config.cpp.o -I. -I. -I./include -I../sdk/wxsqlite3/include -I../sdk/codelite_indexer/network -I../PCH -I../sdk/libssh/include
C:/Users/Young/Downloads/codelite-7.0/CodeLite/cJSON.cpp: In function 'char* print_number(cJSON*)':
C:/Users/Young/Downloads/codelite-7.0/CodeLite/cJSON.cpp:178:46: error: 'DBL_EPSILON' was not declared in this scope
if(fabs(((double)item->valueint) - d) <= DBL_EPSILON && d <= INT_MAX && d >= INT_MIN) {
^
mingw32-make.exe[1]: *** [Win_x64_Release/cJSON.cpp.o] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
libCodeLite.mk:768: recipe for target 'Win_x64_Release/cJSON.cpp.o' failed
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: how to build codelite on windows?

Post by eranif »

Strange, DBL_EPSILON is defined in float.h (it compiles fine here...)
Which version of MinGW are you using?

Eran
Make sure you have read the HOW TO POST thread
Post Reply