Page 1 of 1

2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 3:20 pm
by HJarausch
Hi,

many thanks for this new release!
Unfortunately, I couldn't compile it on Linux (Qubuntu/Hardy with wx-2.8.7.1)

There is no file wx/aui/auibar.h

Interfaces/plugin.h tries to include this one.

Thanks for looking into it.

(I'll try on bleeding edge GenToo system this afternoon)

Helmut.

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 3:28 pm
by eranif
You need WX2.8.9 for this class.

However, you may workaround it by changing this line:

From file CodeLite/cl_defs.h

Code: Select all

#    if wxABI_VERSION >= 20809
Into this:

Code: Select all

#    if wxCHECK_VERSION(2,8,9)
If this is still failing for you, change this entire line into:

Code: Select all

#    if 0
This way codelite will make use of the default wxToolBar

Eran

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 4:11 pm
by HJarausch
Sorry, but it didn't help and I don't see how it could help.

First, there is no file cl_defs.h in CodeLite but only in Interfaces.

Furthermore, from Interfaces/plugin.h

#ifndef PLUGIN_H

#define PLUGIN_H



#include "imanager.h"

#include "wx/toolbar.h"

#include <wx/pen.h>

#include <wx/aui/auibar.h>


This includes auibar.h , there is no preprocessor variable here.

Thanks for looking into it,
Helmut.

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 4:21 pm
by eranif
HJarausch wrote:First, there is no file cl_defs.h in CodeLite but only in Interfaces.
Indeed, this is the file I meant
HJarausch wrote:#include <wx/aui/auibar.h>
Change this line (from plugin.h)

into:

Code: Select all

#if USE_AUI_TOOLBAR
#include <wx/aui/auibar.h>
#endif
EDIT:You should make sure that you include "cl_defs.h" before this block

This should fix it
Eran

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 9:01 pm
by HJarausch
Thanks, that works just fine.

I'd like to add two items to the wish list
- on Linux configure --prefix=<PATH> isn't honored completely.
CodeLite still wants to install some libs into /usr/lib
(This was with 2.2.0, at least, but I believe with 2.3.0, as well)

- Is there any means to quiet the Update pop up window until the next
release is ready? (One would have to store the release for which this
info has been read already.)

Thanks for CodeLite,
Helmut.

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 9:19 pm
by eranif
HJarausch wrote:Is there any means to quiet the Update pop up window until the next release is ready?
'Settings -> Global Editor Preferences -> Misc'
and un-check the option: "Check for new version on startup"

Eran

Re: 2.3.0.3833 doesn't compile on Qubuntu/Hardy

Posted: Wed Mar 03, 2010 9:24 pm
by DavidGH
Hi Helmut,
on Linux configure --prefix=<PATH> isn't honored completely.
If you use --prefix=<FOO> you also need to do --plugins-dir=<BAR> (where FOO and BAR may be the same or different paths).

Eran, perhaps plugins-dir should default to prefix when only prefix is specified...

Regards,

David