On Mon, 26 Nov 2007 09:20:41 -0800
"G33K" <[EMAIL PROTECTED]> wrote:

> > I never really tested the build system under windows, so that might
> > be the problem. I only have linux here, the other *nix where tested
> > using the sourceforge compile farm (sadly discontinued nowadays ):
> > so on those only the command line tools are tested. Cigwin was
> > reported to work by someone and as much more esoteric unix work I
> > assume it should be fine. For mingw I used to have a cross compiler
> > on my system and it compiled fine. The problem is probably within
> > the Makefile. My new room mate have a windows box, I'll try to see
> > what's wrong. In the mean time you can at least post the error
> > here, that should help :)
> 
> Completely forgot about this. Here's my error report: ScummC itself
> configures and compiles well, except that boxedit, costview and scvm
> don't get compiled. I think it's got to do with the GUI: GTK is not
> detected by configure, even though I installed the packages.

Boxedit and costview both need gtk, scvm need sdl. Check list:

* Did you installed all dependencies (atk, cairo, etc)?
* Did you installed all the dev packages?
* Are the .pc files (in lib/pkg-config) correct? I had to fix the prefix
  field in all of them for my cross-compilation environement.

> When I cd into the road directory and try make, it stops:
> 
> $ make
> make: *** No rule to make target `vera-gui.char', needed by
> `common.roobj'. Stop.

That look strange however. Could you post the full output of make as
well as all the build config files:

  config.$HOST.mak
  build.$HOST/$TARGET/config.mak
  build.$HOST/$TARGET/config.h
  build.$HOST/$TARGET/build.log

Also, what version of make is that?

> I can compile the charsets and costumes manually though, until I get
> to the rooms:
> 
> $ ../../buildxxx/i686xxx/char -ibmp vera-gui.char -ochar vera-gui.char
> $ ../../buildxxx/i686xxx/char -ibmp vera-small.char -ochar
> vera-small.char
> $ ../../buildxxx/i686xxx/char -ibmp vera.char -ochar vera.char
> $ ../../buildxxx/i686xxx/cost -o devil.cost devil.scost
> $ ../../buildxxx/i686xxx/cost -o santa.cost santa.scost
> $ ../../buildxxx/i686xxx/scc -v common.scc road.scc
> common.scc:20: Failed to open scummVars6: No such file or directory

Hmm, you probably miss the include path here (-I ../..). But there is
still something strange: where did the extension went?
 
> If I try make now, sld doesn't find the roobj, since scc apparently
> doesn't create it:
> 
> $ make
> ../../buildxxx/i686xxx/sld -v -o scummc common.roobj road.roobj
> Loading common.roobj
> Failed to open common.roobj.
> make: *** [scummc.000] Error 1
> 
> Once I copy the roobj files from a Linux build, everything gets linked
> and runs fine.
> 
> 
> I talked some guy on the adventure-treff forum into trying out ScummC
> with Cygwin, but he couldn't even get ScummC itself compiled:
> http://www.adventure-treff.de/forum/viewtopic.php?p=264854#264854

> Muss irgendwas mit den relativen Pfaden im Makefile zu tun haben bzw.
> mit irgendwelchen Leerzeichen oder mit Differenzen zw. Windows und
> Unix-Pfadschreibweise... laut Internet 

Could be, and building from a path containing spaces will probably
break things. I should add a check for this in configure.

> Die ersten Zeilen bzw. Zeile 1 in der "boxedit.d" sieht übrigens so
> aus:
> 
> 1: boxedit.o: /home/leibelt/scummc/trunk/boxedit.c ./config.h \
> 2: /home/leibelt/scummc/trunk/scc_fd.h \
> 3: /home/leibelt/scummc/trunk/scc_util.h \ 

But there is no spaces in those path. So that look more like a bug in
make or in gcc's dep file generation. For this I will need as much info
about the build environement as possible. All the config files as
above, configure output, version of make, gcc and sh, output of uname
-a and boxedit.d.

Otherwise I installed a mingw32 cross-compiler on the svn server.
Everything build fine except scvm because I haven't installed sdl yet.
I will look at having some automated binary package generation.

        Albeu


_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to