Re: [Planner Dev] Windows version



Jani tiainen wrote:

Richard Hult wrote:

On sön, 2004-07-25 at 08:22 +0300, Jani tiainen wrote:

Richard Hult wrote:

On mån, 2004-07-05 at 11:31 +0300, Jani tiainen wrote:
>>>
") Could it be possible to move those backlinked depedencies to external library, it would make Planner easier to port systems that really don't support backlinking (or undefined symbols), like Windows.



Hm, what dependencies are you referring to here?


Err... It seems that some changes has been made since mrproject... =)

Now only thing that makes a little trouble is that in Windows you have to explicitly link all referenced variables in shared libraries.

There is many references to libplanner-1 in xml, xls and storage libraries. I had to add manually linking to libplanner-1 and compile libplanner-1 library before all other (xml, xls and so on)

Now I have compiled whole thing I can't get it run, some problems in my Gnome2 environment. But I'll get back when I have resolved these problems...

Well, actually those depedencies appeared again, let's have an example:

planner-html-plugin has eg. call to planner_window_get_project that is function in planner.exe

Windows (and some other unixes than Linux/BSD) doesn't support undefined references, so I have to generate import library for planner.exe so I can tell planner-html-plugin where those few functions exists. This works, but unfortunately libtool doesn't support it natively, so it must be done by hand (at least for now).

It would ease up porting to move those external references to library instead keeping them in application...

--

Jani Tiainen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]