I've been redirected to this forum from the codelite github issue tracker. I'm having issues building codelite from scratch, particularly with the plugin library. The error is related to the wx libs.
My cmake config script is quite basic:
Code: Select all
SRC_DIR=${WORK_DIR}/utils/codelite/codelite-src
INSTALL_DIR=${WORK_DIR}/utils/codelite/codelite-install
WX_CONFIG=/usr/libexec/wxGTK3/wx-config
rm -rf CMakeFiles
rm -f CMakeCache.txt
cmake -Wno-dev \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR} \
-D CMAKE_C_COMPILER:STRING=gcc \
-D CMAKE_CXX_COMPILER:STRING=g++ \
\
-D WITH_WX_CONFIG:FILEPATH=${WX_CONFIG} \
-D ENABLE_LLDB:BOOL=FALSE \
\
${SRC_DIR}
Code: Select all
../lib/libplugin.so: undefined reference to `non-virtual thunk to wxStyledTextCtrl::Undo()'
Some info:
- OS: rhel 7.5
- Compiler: gcc 8.2.0
- wx version: 3.0.4
I am not sure if the error is due to a) something wrong in my wx libs installation, b) something wrong in how wx libs/headers are used in codelite, or c) I'm doing something wrong in the config/build process. I hope you can help me figure out which one it is, and possibly how to address it.
Thanks.