Xonotic Forums
[SOLVED] C++ librairy linking ? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] C++ librairy linking ? (/showthread.php?tid=3080)



C++ librairy linking ? - jdumont007 - 05-31-2012

Hi,

I'd like to know if it's possible to link a C++ librairy with xonotic ?

I have try with "extern" but I think there is a compliler mismatch.

Any idea ?

Thanks


RE: C++ librairy linking ? - Cyber Killer - 06-01-2012

maybe just like custom libs for any other c++ apps?
#include "whateverfile.h"


RE: C++ librairy linking ? - Mr. Bougo - 06-01-2012

(06-01-2012, 01:14 AM)Cyber Killer Wrote: maybe just like custom libs for any other c++ apps?
#include "whateverfile.h"

Except DarkPlaces is C, not C++

Here's something I found:
http://stackoverflow.com/questions/199418/using-c-library-in-c-code


RE: C++ librairy linking ? - jdumont007 - 06-01-2012

Ok,

I am going to study that.

Thanks Mr Bougo.