cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/15/07:01:38

Date: Sun, 15 Mar 1998 13:55:18 +0200
From: Alexander Bokovoy <bokovoy AT bspu DOT ac DOT by>
Reply-To: Alexander Bokovoy <bokovoy AT bspu DOT ac DOT by>
Organization: BSPU named after Maxim Tank
Message-ID: <19580.980315@bspu.unibel.by>
To: djgpp AT delorie DOT com
Subject: Re: SWORD installation
References: <001d01bd4fc3$52a36960$a2fd5fcc AT eunuch>
Mime-Version: 1.0

Hi Ricki,
you wrote:
> i installed djgpp with gcc2.8, grx22, and allegro,
> and they all work fine. now i am trying to install
> SWORD. i tried starting a project in rhide to compile
> the Hello.cc sample. the compile went fine but the
> linking did not work. error about undefined references
> in libSWORD.a . i did make in the hello directory and
> i got a coff file. i ran coff2exe and got an exe file and
> that ran okay. so now i think igot a library being called
> in the wrong order from rhide.
You're right. This error caused wrong order of libraries. To avoid it
just place sword in OPTIONS|LIBRARIES before grx20.

> here is the error:

>  Compiling: hello.cc

>  no errors
> _
>  Creating: hello.exe
> _
>  Error: e:/djgpp/lib/libSWORD.a(zone.o)(.text+0x6ca):zone.cc: undefined
> referereference to `GrSetClipBox'

>  Error: e:/djgpp/lib/libSWORD.a(zone.o)(.text+0x830):zone.cc: undefined
> reference to `GrPlot'

>                                         WORD.a(zone.o)(.text+0x860):zone.cc:
> undefined reference to `GrFilledBox'

>                                       WORD.a(zone.o)(.text+0x890):zone.cc:
> undefined reference to `GrBox'


Alexander Bokovoy, <bokovoy AT bspu DOT unibel DOT by>
--=== The Soft Age coming soon ===--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019