[prelude-user] Libprelude with C++

Reinhard Fellner felrei at gmx.at
Fri Feb 22 18:23:11 CET 2008


Yoann Vandoorselaere schrieb:

> #include <libprelude/prelude.h>
> int main(void){ idmef_message_read(NULL, NULL); }

It doesn't compile at my computer. I've used the gcc 4.1.2 (prerelease) 
(Debian 4.1.1-21) compiler and Linux is installed inside a virtual 
machine (I've also tried g++-3.4, still doesn't work).

Perhaps I've made a mistake during the installation of the library or it 
simply doesn't work inside the virtual machine. Tomorrow I'll create a 
new image and try it again. Perhaps it works ...

> Could you provide a proof of concept example that fail to compile?

The code above :-)

> Additionally, what libprelude version are you using?

0.9.16.1

Regards, Reinhard



More information about the Prelude-user mailing list