[AGENT++] agent++ setup on ubuntu

Alexis Buisson alexis.bssn at gmail.com
Thu Jul 10 18:00:20 CEST 2014


Hello,

I have tried installing agent++ on ubuntu, and after a few hours I finally
got it to build in /usr/local, but even though it looks like it built
correctly, I think it did not.

I was a bit confused about the settings/configuration of the installation,
I did not quite understand what file I was supposed to edit to configure
the build. That is why I doubt my installation

My problem is that if I do anything at all with agent++, even only #include
"agent_pp/agent++.h", the compiler (gcc/g++ on code::blocks) gives errors.
The first error I encouter is in the following code snippet:

#ifdef STDCXX_98_HEADERS
#include <iostream>
#else
#include <iostream.h>
#endif

It seems like STDCXX_98_HEADERS is not defined (and I have <iostream> but
not <iostream.h>), although I did #define it in config.h.in before running
./configure (I found out autoreconf -i overwrites this file) and 'make
install'
Did I edit the wrong file?

Also, I have not been able to get the examples running either.

What have I done wrong in the installation? (if my error is in the
installation)


More information about the AGENTPP mailing list