[gcompris-devel] First windows port trial

Bruno Coudoin bruno.coudoin at free.fr
Wed Dec 17 17:10:12 UTC 2003


Le lun 15/12/2003 à 12:34, Christof Petig a écrit :
> Bruno Coudoin schrieb:
> > I tried to compile gcompris on windows using cygwin.
> 
> This is inexact. Which target do you use Win32/Cygwin [POSIX] or 
> Win32/MinGW [MSVCRT -mno-cygwin]?
> 
I use Win32/Cygwin.
I did install cycwin with setup.exe, and thne installed all the
libraries from here:
http://web.sfc.keio.ac.jp/~s01397ms/cygwin/index.html.en

When you say MSVCRT, it means you need Microsoft Visual C to compile?

> > - no pthread. I emptied the body of all func in soundutils.
> 
> no pthread? Cygwin RT certainly has, here's a MinGW RT port:
> http://sources.redhat.com/pthreads-win32/
> 
Hum, perhaps I was missing some libs

> > - can't load the plugins. The plugins are compiled and installed but i
> >   am not sure everything is correct to make them loadable plugins.
> >   Did not find a solution yet
> 
> I expected some difficulties here. But since I don't know anything about 
> the plugin loader gcompris uses, I can't tell more. I would try 
> libltdl.a (libtool) or gmodule or LoadLibrary (native approach)

gcompris uses the dlopen system call
Perhaps I miss a library again or a compilation option difers.

> > Finally, I remove the call to the plugin menu and saw gcompris on
> > Windows (well just the control bar). But it's a good start.
> > 
> > I am not yet familiar with all the different options. I see that the
> > mingw path is popular but I can't see where to get all the libraries
> > GTK, gnomecanvas, ...
> > Bruno.p did you made some progress? What do you suggest me, what the
> > best to do now. What's the best source of information, what I saw on the
> > web is very poor.
> 
> This is the home of the -mno-cygwin (and non X11) libraries
> http://www.gimp.org/~tml/gimp/win32/downloads.html
> 
> The dia-win32 port did initial gnomecanvas porting but it is not 
> mentioned any longer on their site:
> http://introspector.sourceforge.net/dia_win32.htm
> 
Sounds interessting, cross compiling, no need for windows at all. Great.
I will have a look at that, BTW, we have the same depandecies 

> The abiword developers seem to have done some work, too:
> http://www.abisource.com/mailinglists/abiword-dev/2003/Apr/0380.html
> 
> Perhaps Mono has something working? Though they talk about Xlib which 
> perhaps sounds more like a Cygwin target.
> http://www.gotmono.com/docs/gnome/bindings/gnome/canvas/introduction.html
> http://www.go-mono.com/tutorial/gnome/bindings/gnome/canvas/hello.html
> 
> GnuWin32 also mentions Canvas (for the MinGW RT!):
> http://gnuwin32.sourceforge.net/packages/libart.htm
> 
> Hmm even sodipodi mentions canvas and has a windows port.
> http://sourceforge.net/projects/sodipodi/
> 
> ====> I can't find a package but it looks promising (and it seems you 
> solved that already since you got something to look at.
> 
OK, if these project can make it run, gcompris should run as well. No
reason.

Just some more work to be done.

Bruno.






More information about the Gcompris-devel mailing list