Hi Eran,
I am compiling Code Lite 2.7.0.4375 (downloaded today) on a Linux FC11 (Linux xxx.com 2.6.30.8-64.fc11.i686.PAE #1 SMP Fri Sep 25 04:56:58 EDT 2009 i686 i686 i386 GNU/Linux)
and get the following error. I updated wxWidgets recently before this build, attached is the file with errors cl.zip.
When I try to install using RPM and execute codelite get the following error.
~/Download $ codelite
codelite: symbol lookup error: /usr/lib/codelite/libcodeliteu.so: undefined symbol: _ZN9SingletonI8LanguageE11ms_instanceE
Could you please help.
thanks,
Suresh
Build Issue
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Sep 02, 2010 8:16 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Build Issue
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build Issue
You can not compile codelite with wxWidgets built as static library. You need to compile against the shared library version of wxWIdgets.
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Sep 02, 2010 8:16 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build Issue
thanks for the Response, corrected the vxWidgets and Build process is fine.
Trying to execute codelite reports the following error,
Problem:1
~/Compilations/codelite-2.7.0.4375/Runtime $ ./codelite: Symbol `_ZTV12wxBufferedDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxClientDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxMemoryDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV17wxBufferedPaintDC' has different size in shared object, consider re-linking
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
Problem:2
sudo make install reported the following error
~/Compilations/codelite-2.7.0.4375 $ sudo make install
Uninstalling CodeLite
installing CodeLite
cp: failed to preserve ownership for `/home/XXXX/Desktop/codelite.desktop': Operation not permitted
make: *** [core_install] Error 1
~/Compilations/codelite-2.7.0.4375 $
sorry for being such a novice user.
Trying to execute codelite reports the following error,
Problem:1
~/Compilations/codelite-2.7.0.4375/Runtime $ ./codelite: Symbol `_ZTV12wxBufferedDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxClientDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV10wxMemoryDC' has different size in shared object, consider re-linking
./codelite: Symbol `_ZTV17wxBufferedPaintDC' has different size in shared object, consider re-linking
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
Problem:2
sudo make install reported the following error
~/Compilations/codelite-2.7.0.4375 $ sudo make install
Uninstalling CodeLite
installing CodeLite
cp: failed to preserve ownership for `/home/XXXX/Desktop/codelite.desktop': Operation not permitted
make: *** [core_install] Error 1
~/Compilations/codelite-2.7.0.4375 $
sorry for being such a novice user.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build Issue
About the first problem: I suggest that you do this:
And see if it helps
Eran
Code: Select all
./configure && make clean && make
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Sep 02, 2010 8:16 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build Issue
no improvement, same issue.
do you think, if I cleanup the wxWidgets and clean compile and try again? I am using wxWidgets-2.8.11.
regards,
Suresh
do you think, if I cleanup the wxWidgets and clean compile and try again? I am using wxWidgets-2.8.11.
regards,
Suresh
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build Issue
Yes, you should perform clean and try and build wxwidgets again
Eran
Eran
Make sure you have read the HOW TO POST thread