Integrating a C++ module in MonetDB
Hi All, I've implemented a module implemented in C++ for MonetDB. You can think that this module has a user-defined function. What changes should be made in Makefile.ag (of this module) to compile and build it with C++ compiler. Regards!
On Tue, Aug 13, 2013 at 08:07:49AM -0700, Adnan Agbaria wrote:
Hi All,
I've implemented a module implemented in C++ for MonetDB. You can think that this module has a user-defined function. What changes should be made in Makefile.ag (of this module) to compile and build it with C++ compiler.
The ability to generate the proper calls for C++ has been removed from the autogen tools, sometime ago. We no longer use C++. There for the easiest way is to wrap your module into a library, with extern "c" interface for the functions. Compile this library with C++ and add wrapper calls for the 'c' module for MonetDB. Niels
Regards!
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
-- Niels Nes, Centrum Wiskunde & Informatica (CWI) Science Park 123, 1098 XG Amsterdam, The Netherlands room L3.14, phone ++31 20 592-4098 sip:4098@sip.cwi.nl url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl
participants (2)
-
Adnan Agbaria
-
Niels Nes