I'm facing some issue when building codelite in RHEL 6.
- codelite 5.4
- trying to compile/build codelite in RHEL 6
- RHEL 6 (2.6.32-431.5.1.el6.x86_64)
- gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
Code: Select all
In file included from /root/src/codelite/codelite/CodeLite/compiler_command_line_parser.cpp:1:
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.h:28: error: ISO C++ forbids declaration of âwxFileNameâ with no type
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.h:28: error: expected â,â or â...â before â&â token
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.cpp: In constructor âCompilerCommandLineParser::CompilerCommandLineParser(const wxString&, const wxString&)â:
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.cpp:168: error: no matching function for call to âCompilerCommandLineParser::AddIncludesFromFile(wxFileName&)â
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.h:28: note: candidates are: void CompilerCommandLineParser::AddIncludesFromFile(int)
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.cpp: At global scope:
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.cpp:272: error: prototype for âvoid CompilerCommandLineParser::AddIncludesFromFile(const wxFileName&)â does not match any in class âCompilerCommandLineParserâ
/root/src/codelite/codelite/CodeLite/compiler_command_line_parser.h:28: error: candidate is: void CompilerCommandLineParser::AddIncludesFromFile(int)
Code: Select all
wx-config --cppflags
-I/apps/wxWidgets/lib/wx/include/gtk2-unicode-3.0 -I/apps/wxWidgets/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
Code: Select all
wx-config --cflags
-I/apps/wxWidgets/lib/wx/include/gtk2-unicode-3.0 -I/apps/wxWidgets/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread
Cheers~