Montgomery, Steven S wrote:
Yah, we had done that for the files in src and in dialogs. I don't think it was even attempting to build them before we edited the Makefile_insert files...
Also, if you guys put up your plan and various documents in greater depth on the wiki, I'm sure the people on this list would recommend things and possibly help out with parts of the whiteboard. I have recently implemented some jabber-based technology for a game and am curious as to your plans for the whiteboard. (and yes I have read what is on the wiki)...
Jon
-----Original Message----- From: inkscape-devel-admin@lists.sourceforge.net [mailto:inkscape-devel-admin@lists.sourceforge.net] On Behalf Of Bryce Harrington Sent: Saturday, January 29, 2005 3:30 PM To: Montgomery, Steven S Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Inkboard linking/dependencies
On Sat, 29 Jan 2005, Montgomery, Steven S wrote:
Where/how do you set dependencies in the Inkscape makefile setup?
When
integrating this new code(which is of course in it's own file) to be called from a dialog, we're having issues with linking. It finds the function definition, but then gives the following error: dialogs/libspdialogs.a(inkboard-connect.o)(.text+0xa91): In function `sp_inkboardConnect_dialog_inkboardConnect(_GObject*, _GObject*)': dialogs/inkboard-connect.cpp:226: undefined reference to `connect_and_auth(char*, char*, char*)'
connect_and_auth is defined in src/inkboard.cpp and is called from src/dialogs/inkboard-connect.cpp when the user clicks a button on the new dialog.
I ran mkfiles.pl and mkdep.pl. Make.dep lists inkboard-connect.o
being
dependent on inkboard.h, but it's not picking up the function definition.
We appreciate any help/direction on this. Thanks, Steven
Hi Steven,
Whenever you add a new file to the codebase, you need to add that file to the makefile as well.
Look in src/Makefile_insert, and try adding a line to the libinkpre_a_SOURCES = .... section like this:
inkboard.cpp inkboard.h \
You may also need to add inkboard-connect.cpp to the Makefile_insert in the src/dialogs directory as well.
Bryce
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel