Re: [anjuta-list] How to work with Anjuta



Hi,

On Mon, Feb 15, 2016 at 11:21 AM, Igor Korot <ikorot01 gmail com> wrote:
Hi, list,
I recently installed Anjuta and now trying to get a hold of this IDE.
I am also wxWidgets guru and would like to build my wx-based application
using Anjuta.

On my Linux box I have KDE4 and also GTK2, GTK3 and the very latest
wxWidgets build from Git master in home directory.

So I created a project in Anjuta based on wxWidgets template and then tried
to build it. Of course it failed, because IIUC, template is looking
for the wxWidgets
installed libraries (please correct me if I'm wrong).

So the next step would be to add the appropriate include and lib path's.

I opened "Project -> Properties" menu and then click on "More Options". Then I
added the results of "wx-config --libs" to the "Linker flags" and "wx-config
--cxxflags" to "C++ compiler flags" and tried to build the project.

Unfortunately it looks like those values were not taken into the account as I
still got compiler errors and I can build all wx samples from the terminal just
fine.

Does anybody have an idea of what is going on and why those settings are
not included in the build?

More information:

Looking at /home/igor/<my_app>/Debug/Makefile, I see that my addition
is ended up
in AM_CXXFLAGS and AM_LDFLAGS, but they are not used in building the code.

Thank you.


Thank you.

P.S.: I used to work with KDE + KDevelop but unfortunately they removed
wxWidgets template on KDevelop 4 and they don't yet have a "Makefile"
template.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]