Re: [ibr-dtn] Compiling ibrdtn on Eclipse
The I do import the project to eclipse is:
1. New -> other 2. C/C++ -> Makefile Project with Existing Code -> Next 3. Enter name and code location 4. Select "GNU Autotools Toolchain" -> Finish
As next you should do the steps described in the Wiki at least once at least. Then you can compile the code as other as you wish using the build command.
Kind regards, Johannes Morgenroth
-------- Weitergeleitete Nachricht -------- Von: Francisco Cuesta ndarkness@gmail.com An: Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de Betreff: Re: [ibr-dtn] Compiling ibrdtn on Eclipse Datum: Wed, 23 Jan 2013 13:31:18 +0100
Hi Johannes,
Thanks for replying me, I was using eclipse but without autotools, now I have installed the plugin, but I would like to ensure that the way in which I import the project is the correct, so if you had a mininute to see whether I import the project in a correct way I will thank you.
My procedure is the follwing
1 New>>C++ project
2 Project type>> GNU autotools>>empty project>> I set the name >> finish
3 IN the project I've just created>> import>>General>> file system >> and here select the ibrdtn folders( ibrdt, ibrcommons...)
Is this a correct way of importing the project?? And what's more, once I have the project how can I compile it, should I use just autotools or I can still use "build project'?
Thanks, I achieved to compile it without eclipse using that wiki, but my main goal is use Eclipse as development tool for compilinf and debuging there.
Thanks again,
Regards!
2013/1/23 Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de Hi.
Please try the Eclipse IDE for C/C++ Developers Edition from here: http://www.eclipse.org/downloads/
And import the code as autotools project.
Basic compilation without Eclipse is explained in the Trac-Wiki. http://www.ibr.cs.tu-bs.de/trac/ibr-dtn/wiki/source
Kind regards, Johannes Morgenroth
-------- Weitergeleitete Nachricht -------- Von: Francisco Cuesta ndarkness@gmail.com
An: Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de Betreff: Re: [ibr-dtn] Compiling ibrdtn on Eclipse Datum: Tue, 22 Jan 2013 17:28:22 +0100
Hello,
Yes I know that the best way to get a project is using import option, I did not know that ibrdt was done with autotools pluging though.
On the other hand, I cannot understand now how to build the project for my machine(linux i868 arch) in order just to check whether the impromevents that I might make to the code generate errors or not.And I'm missing that since the "project settings" aren't available to be modified,so I asume that the only way to achieve it is through the autotools pluggin right?
thanks in advance,
regards
2013/1/22 Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de Hello.
The path in your eclipse project depends on you specific system. Thus, it is not a solution to just copy the path settings from somebody else. The best way for you is to import the project as C++ autotools project. In this case eclipse will set the right default paths settings for you.
Kind regards, Johannes Morgenroth
-------- Weitergeleitete Nachricht -------- Von: Francisco Cuesta ndarkness@gmail.com An: ibr-dtn@ibr.cs.tu-bs.de Betreff: [ibr-dtn] Compiling ibrdtn on Eclipse Datum: Tue, 22 Jan 2013 10:46:12 +0100
So I would like to ask whether is possible to upload the library path import setting of the project, in order to avoid these reference errors which are driven me a lite bit crazy.
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
participants (1)
-
Johannes Morgenroth