|
|
Up |
|
|
  |
Author: Gregory John CasamentoGregory John Casamento
Date: Jul 22, 2008 20:18
Are you using the latest release?
Gregory Casamento -- Principal Consultant - OLC, Inc
# GNUstep Chief Maintainer
----- Original Message ----
From: Marko Riedel
To: DISCUSS GNUstep gnu.org>
Sent: Tuesday, July 22, 2008 5:20:12 PM
Subject: advice re. printing
Hi folks,
I have never used GNUstep's native print mechanism. I do know how to create PostScript files and pipe them to a print command.
I would like your advice concerning the state of GNUstep printing.
When trying to print a window (menu item: target: NSFirst, action: print:) I get a very professional looking print panel. However, no matter what I choose (Save, Preview, Print), I always get the following exception:
NSRangeException, reason: Index -2 is out of range 7 (in 'objectAtIndex:')
(Crash on click on "Debug")
My first question is, is the print panel supposed to be working yet, or is it a work in progress.
I am also willing to work with views directly if the print panel is not ready yet.
My second question is, is NSView's dataWithEPSInsideRect: working and useable?
Thank you for your help with these two questions.
Best regards,
|
| Show full article (3.42Kb) |
|
| |
no comments
|
|
  |
Author: Marko RiedelMarko Riedel
Date: Jul 22, 2008 14:20
Hi folks,
I have never used GNUstep's native print mechanism. I do know how to create PostScript files and pipe them to a print command.
I would like your advice concerning the state of GNUstep printing.
When trying to print a window (menu item: target: NSFirst, action: print:) I get a very professional looking print panel. However, no matter what I choose (Save, Preview, Print), I always get the following exception:
NSRangeException, reason: Index -2 is out of range 7 (in 'objectAtIndex:')
(Crash on click on "Debug")
My first question is, is the print panel supposed to be working yet, or is it a work in progress.
I am also willing to work with views directly if the print panel is not ready yet.
My second question is, is NSView's dataWithEPSInsideRect: working and useable?
Thank you for your help with these two questions.
Best regards,
Marko
+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html |
+-------------------------------------------------------------+
|
| Show full article (1.28Kb) |
|
| |
no comments
|
|
  |
Author: Jaroslav JoskaJaroslav Joska
Date: Jul 22, 2008 13:06
Hi all!
I recompiled gcc( 4.2.4), all GNUstep (gnustep-make 2.0.5, base 1.14.2, objc 1.6.0,
gui 0.12.1 and backend 0.12.1) and it work's. All day is gone, but I am very lucky.
Thank's Nicola, Marko, David. Finally I can learn to program in GNUstep.
Regards
> ------------ Původnà zpráva ------------
> Od: Nicola Pero meta-innovation.com>
> Předmět: Re: Howto write GNUmakefile.preamble with using C API
> Datum: 22.7.2008 12:51:25
> ----------...
|
| Show full article (1.47Kb) |
|
no comments
|
|
  |
Author: Gregory John CasamentoGregory John Casamento
Date: Jul 22, 2008 12:10
Are you using an up to date version of both GNUstep base/gui/back/make and Gorm?
Gregory Casamento -- Principal Consultant - OLC, Inc
# GNUstep Chief Maintainer
----- Original Message ----
From: Arthur Barlow earthlink.net>
To: GNUstep gnu.org>
Sent: Tuesday, July 22, 2008 1:03:59 PM
Subject: Errors loading Gorm
Hello. I'm running FreeBSD 6.3 on an older Gateway PIII box.
Everything has been working fine for about a year. I recently decided I
wanted to play around more with GNUstep, so I loaded the various ports
and seemingly got things to work. All expect Gorm. When I try to load
Gorm I get the following errors. Can you give me any hints?
[art@dumb ~]$ Gorm
2008-07-22 07:54:13.633 Gorm[25096] Exception occured while loading
model: expected object and got unsigned char
2008-07-22 07:54:13.648 Gorm[25096] Failed to load Gorm
2008-07-22 07:54:13.661 Gorm[25096] Could not load Gorm file:
/usr/local/GNUstep/System/Applications/Gorm.app/Resources/English.lproj/Gorm.gorm
|
| Show full article (1.77Kb) |
|
no comments
|
|
  |
Author: Arthur BarlowArthur Barlow
Date: Jul 22, 2008 10:03
Hello. I'm running FreeBSD 6.3 on an older Gateway PIII box.
Everything has been working fine for about a year. I recently decided I
wanted to play around more with GNUstep, so I loaded the various ports
and seemingly got things to work. All expect Gorm. When I try to load
Gorm I get the following errors. Can you give me any hints?
[art@dumb ~]$ Gorm
2008-07-22 07:54:13.633 Gorm[25096] Exception occured while loading
model: expected object and got unsigned char
2008-07-22 07:54:13.648 Gorm[25096] Failed to load Gorm
2008-07-22 07:54:13.661 Gorm[25096] Could not load Gorm file:
/usr/local/GNUstep/System/Applications/Gorm.app/Resources/English.lproj/Gorm.gorm
2008-07-22 07:54:13.678 Gorm[25096] Exception occured while loading
model: expected object and got unsigned char
2008-07-22 07:54:13.692 Gorm[25096] Failed to load Gorm
2008-07-22 07:54:13.705 Gorm[25096] Could not load Gorm file:
/usr/local/GNUstep/System/Applications/Gorm.app/Resources/English.lproj/Gorm.gorm
2008-07-22 07:54:13.719 Gorm[25096] Failed to load interface
|
| Show full article (1.24Kb) |
|
no comments
|
|
  |
Author: David AyersDavid Ayers
Date: Jul 22, 2008 05:19
Jaroslav Joska schrieb:
> I created new directory, copied two files (test.m and GNUmakefile) and after
> tried again to gmake command. It work's without errors. But still I can't run
> ./obj/test. Segmentation Fault. I absolutely don't understand it.
Please continue to follow Nicola's suggestions wrt build issues.
But MySQL and libobjc did have a namespace issue wrt to a global
function called "hash" which lead to the objc runtime calling the mysql
hash function when looking up class names that caused SEGV.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19024
I'm unsure with which gcc version that was fixed but the library SO
version should 2.0. Which version of libobjc/gcc are you using?
Cheers,
David
|
| |
|
no comments
|
|
  |
Author: Nicola PeroNicola Pero
Date: Jul 22, 2008 03:50
>>> It doesn't work
>>> [...]
>>> test.c:1:19: warning: mysql.h: No such file or directory
>>> [...]
>>
>> Something is going wrong here - it was supposed to be compiling
>> test.m here, not test.c ;-)
>
> This is a bug in GNUstep Make which I've encountered before. It is
> due to the convoluted way in which it builds dependency chains.
If you encounter bugs, please report them - thanks :-)
I never thought anyone would care about file.c vs file.m, but if that's a problem,
let's fix it :-)
> Possibly a better solution would be for the .o files to be
> named .c.o, .m.o, .cpp.o and so on, and the dependency rules
> constructed to match.
I like the idea. I implemented it in trunk. Please give it a go.
Thanks
|
| |
|
no comments
|
|
  |
Author: Jaroslav JoskaJaroslav Joska
Date: Jul 22, 2008 03:21
I created new directory, copied two files (test.m and GNUmakefile) and after
tried again to gmake command. It work's without errors. But still I can't run
./obj/test. Segmentation Fault. I absolutely don't understand it.
# gmake messages=yes
This is gnustep-make 2.0.5. Type 'make print-gnustep-make-help' for help.
Making all for tool test...
cd .; \
/usr/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj
gcc...
|
| Show full article (2.33Kb) |
|
no comments
|
|
  |
|
|
  |
|
|
  |
Author: Nicola PeroNicola Pero
Date: Jul 22, 2008 03:05
>> ADDITIONAL_OBJCFLAGS += $(shell mysql_config --cflags)
>
> If you are specifying include paths and macro definitions (which is
> what pkg-config does) then you should be using CPPFLAGS, not CFLAGS
> or OBJCFLAGS, since you are passing arguments to the preprocessor,
> not the compiler. It should then work for C, C++, Objective-C, and
> preprocessed assembly files.
This has nothing to do with the problem, but might actually be a good point - maybe
you're right :-)
I had installed mysql_config and tried it out --
$mysql_config --cflags
-I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
This seems to include both preprocessor and compiler flags, which is why I suggested
ADDITIONAL_CFLAGS and ADDITIONAL_OBJCFLAGS. Feel free to suggest otherwise if you
know more about mysql_config or how to use it.
Thanks
|
| |
|
no comments
|
|
|
|
|
|
|