discuss-gnustep
[Top][All Lists]
Advanced

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

Re: All GNUstep apps have blank windows, and lots of apps won't compile


From: Nicola Pero
Subject: Re: All GNUstep apps have blank windows, and lots of apps won't compile
Date: Thu, 23 Oct 2008 20:22:08 +0100



On 23/ott/08, at 17:45, "Samuel Harvey" <kephnosanagennao@gmail.com> wrote:

---------- Forwarded message ----------
From: Samuel Harvey <kephnosanagennao@gmail.com>
Date: Oct 22, 2008 8:25 PM
Subject: Re: All GNUstep apps have blank windows, and lots of apps won't compile
To: Nicola Pero <nicola.pero@meta-innovation.com>


On 10/22/08, Nicola Pero <nicola.pero@meta-innovation.com> wrote:


gsgd


****
Making all for library libgsgd...
Compiling file GDFont.m ...
In file included from GDFont.m:24:
../Headers/gsgd/GDFont.h:29:16: warning: gd.h: No such
file or directory
****


You need gd-devel (the headers from libgd, the library that manipulates
pngs/gifs) to compile gsgd. :-)
Unless it's a problem with include flags ?


java
****
Making all for library libgnustep-java...
Compiling file ObjcRuntimeUtilities.c ...
In file included from
/usr/GNUstep/System/Library/Headers/objc/objc-api.h:31,
              from ObjcRuntimeUtilities.h:29,
              from ObjcRuntimeUtilities.c:49:
/usr/GNUstep/System/Library/Headers/objc/hash.h: In
function 'objc_hash_ptr':
/usr/GNUstep/System/Library/Headers/objc/hash.h:168:
error: 'size_t'
undeclared (first use in this function)


This is confusing - you may want to double-check your compiler/ libobjc
setup ?

If the compiler/libobjc are OK, it would be nice to get some more
information ...

 1. compiler version

 2. libobjc version

 3. output of 'make messages=yes'

Hmmm.

Thanks


dev-libs/java compiles now. I needed to have JAVA_HOME set.

Debian+bash users:
append to /etc/bash.bashrc
***
export JAVA_HOME=/usr/java/default
***

dev-libs/sqlclient also compiles with JDBC support for me now because
it can find jni.h.

After installing libgd-dev, dev-libs/gsgd now gives a different error:
***
Making all for java_package libgsgd-java...
 Compiling file gnu/gnustep/gd/Image.java ...
gnu/gnustep/gd/Image.java:44: cannot find symbol
symbol  : class NSData
location: class gnu.gnustep.gd.Image
 public Image (NSData arg0, long arg1)
...
./gnu/gnustep/gd/Font.java:82: cannot find symbol
symbol  : class NSArray
location: class gnu.gnustep.gd.Font
 public native NSSize boundingBoxForStrings (NSArray arg0);
                                             ^
13 errors
make[5]: *** [gnu/gnustep/gd/Image.class] Error 1
make[4]: *** [libgsgd-java.all.java-package.variables] Error 2
make[3]: *** [internal-all] Error 2
make[3]: Leaving directory
`/home/kephnos/src/gnustep/modules/dev-libs/gsgd/Source/JavaWrapper'
make[2]: *** [after-gsgd-all] Error 2
make[1]: *** [gsgd.all.java-wrapper.variables] Error 2

make: *** [internal-all] Error 2
***

You need to compile and install Wrappers/base before you can use jigs for gnustep-base java projects such as the Java version of gsgd ;-)

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]