User forums > Help

rev 8107 Ubuntu build error

(1/2) > >>

LarsPensjo:
I get the following compilation error:

debuggersettingscommonpanel.o: In function `wxCheckBoxBase::DoGet3StateValue() const':
debuggersettingscommonpanel.cpp:(.text._ZNK14wxCheckBoxBase16DoGet3StateValueEv[wxCheckBoxBase::DoGet3StateValue() const]+0x22): undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'

MortenMacFly:

--- Quote from: LarsPensjo on July 14, 2012, 09:01:27 am ---(.text._ZNK14wxCheckBoxBase16DoGet3StateValueEv[wxCheckBoxBase::DoGet3StateValue() const]+0x22): undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'

--- End quote ---
Don't mix wxWidgets debug with wxWidgets release libs.

Next time,. please post the full build log. Such snippets are usually not helpful at all.

LarsPensjo:

--- Quote from: MortenMacFly on July 14, 2012, 10:30:49 am ---
--- Quote from: LarsPensjo on July 14, 2012, 09:01:27 am ---(.text._ZNK14wxCheckBoxBase16DoGet3StateValueEv[wxCheckBoxBase::DoGet3StateValue() const]+0x22): undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)'

--- End quote ---
Don't mix wxWidgets debug with wxWidgets release libs.

Next time,. please post the full build log. Such snippets are usually not helpful at all.

--- End quote ---

Thank you, now it compiles!

After doing "sudo make install", I get the following error:

--- Code: ---~/src/codeblocks$ which codeblocks
/usr/local/bin/codeblocks
~/src/codeblocks$ codeblocks
codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI14cbBacktraceDlg

--- End code ---

I did have CB 10.05 installed first, but uninstalled it before doing the "sudo make install".

LarsPensjo:
I can run CB using codeblocks/src/src/codeblocks from the source folder, but /usr/local/bin/codeblocks doesn't work.

I can also run CB using codeblocks/src/src/.libs/lt-codeblocks. It seems the codeblocks/src/src/codeblocks is a shell script that runs the lt-file eventually. But the file in /usr/local/bin is not the lt-file, it is a copy of the codeblocks/src/src/.libs/codeblocks

If I copy the lt-file to /usr/local/bin/codeblocks, then everything is fine. Did the "make install" go wrong somewhere? Or did I fail to follow some instruction?

MortenMacFly:

--- Quote from: LarsPensjo on July 14, 2012, 11:11:29 am ---
--- Code: ---codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI14cbBacktraceDlg

--- End code ---
I did have CB 10.05 installed first, but uninstalled it before doing the "sudo make install".

--- End quote ---
It seems you did not un-install it completely, including its dependencies. This dialog came after 10/05. I Don't know your system and what you did exactly, all I can tell is that you are mixing two incompatible Code::Blocks libraries now. Why don't you simply use the Ubuntu packages provided via the nightlies? This will avoid such hassle if you don't exactly know what you are doing...

Navigation

[0] Message Index

[#] Next page

Go to full version