On Thu, 3 Feb 2005, Montgomery, Steven S wrote:
No, we don't have our code linking normally. Since it was such a brickwall for our progress, we moved the Jabber code into a file we added under dialogs(where it was being called from). Obviously this links, but we definitely would like to separate the code back out how it should be.
I've seen some recent posts about automake 1.9 causing problems for some people. Perhaps that is our issue as well?
Okay, I think we got this one figured out tonight. Check out our discussion in today's jabber logs here:
http://inkscape.gristle.org/2005-02-03.txt
Basically, loudmouth is set up to link in C style but since Inkscape is C++, libs are linked in C++ style.
You can direct the linker to link the loudmouth functions in C style like this:
diff -p -u -r1.4 inkboard.h --- inkboard.h 3 Feb 2005 20:19:33 -0000 1.4 +++ inkboard.h 4 Feb 2005 06:21:55 -0000 @@ -1,7 +1,10 @@
//Inkboard.h
+extern "C" { #include <loudmouth/loudmouth.h> +}; + //#include "inkboard-TimedMessageNode.h"
#define TEST_RECEPTION 1
Bryce