bugGNUstep - Bugs: bug #25462, Issues building GDL2 on Windows

Group
 
 

bug #25462: Issues building GDL2 on Windows

Submitter:  Giuseppe Luigi Punzi <glpunzi>
Submitted:  Mon 02 Feb 2009 08:53:32 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  nico
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 02 Feb 2009 11:54:50 AM UTC, comment #6: 

Well done Matt

I had just started up a Windows box to check ... but now it all works :-)

(all pretty cool btw)

About the PALETTE_LIBS thing ... maybe we could have a NATIVE_LIBRARIES_DEPEND_UPON ?

At the moment there is a difference between ADDITIONAL_xxx_LIBS and
LIBRARIES_DEPEND_UPON - the ADDITIONAL_xxx_LIBS are only linked in
if required by the platform, the LIBRARIES_DEPEND_UPON are always forcefully
linked in.  We may remove that difference in the future, and always link everything
in, but at the moment we have that difference and maybe we should mirror
it for the native libraries.  Hmmm.

Thanks

Nicola Pero <nico>
Group Member
Mon 02 Feb 2009 11:48:59 AM UTC, comment #5: 

i found a reference to this somewhere else, and have commited a fix to DBModeler.

matt rice <ratmice>
Group Member
Mon 02 Feb 2009 11:36:49 AM UTC, comment #4: 

GDL2Palette containing nothing is normal at the moment, stuff maybe added in the future, but currently it only creates objects through drag and drop from DBModeler

i'm not sure about the loadGSMarkupNamed:owner: error, this should be provided by renaissance library which i see from the output.txt is being linked into DBModeler so i'm not sure why it wouldn't be finding loadGSMarkupNamed:owner:

matt rice <ratmice>
Group Member
Mon 02 Feb 2009 10:18:15 AM UTC, comment #3: 

Thanks for your support.

I builded after Nicola message.
Now, build was succesfully, and, on Gorm, I can "Load palette" and select GDL2 palette, but this, appears empty. This is a normal behaviour?

And when I try to open DBMOdeller I get a:

NSInvalidArgumentException: NSBunlde(class) does not recognize loadGSMarkupNamed:owner:

Cheers.

Giuseppe Luigi Punzi <glpunzi>
Mon 02 Feb 2009 09:39:43 AM UTC, comment #2: 

i just commited something (before i saw nicola's response) to link in libGorm (that looked like it would do it here)

Nicola if you check this out please also look at GDL2Palette/GNUmakefile:54 PALETTE_LIBS=$(ADDITIONAL_OBJC_LIBS) -lGorm

and see if theres a better way to do this,

this is whats causing the duplicate -l's in the makefile output
but it allows linking to the native-libraries into the palette under linux... kinda a hack

matt rice <ratmice>
Group Member
Mon 02 Feb 2009 09:23:55 AM UTC, comment #1: 

Giuseppe,

linking palettes on Windows requires a couple of additional libraries.

Try adding the lines

ifeq ($(GNUSTEP_TARGET_OS),mingw32)
ADDITIONAL_GUI_LIBS += -lGorm -lGormCore
endif

before include $(GNUSTEP_MAKEFILES)/palette.make

Let me know if it works for you - I'll test myself once I get to a Windows machine
again.  Btw, I wonder if palette.make couldn't do a better job at this.  Anyway.

Thanks

Nicola Pero <nico>
Group Member
Mon 02 Feb 2009 08:53:32 AM UTC, original submission:  

Could be interesting to have a guide for building GDL2 on Windows, because I can't get it working.

With the new svn updates, seems to build succesfully, but fails building GDL2Palette (for the moment).

I don't now, if the error still being the undefined references.

I attached config.log and output.txt ($ make messages=yes > output.txt 2>&1 )

Giuseppe Luigi Punzi <glpunzi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #17382:  config.log added by glpunzi (12KiB - application/octet-stream)
file #17381:  output.txt added by glpunzi (106KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by glpunzi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-02 nico Open/ClosedOpen Closed
    2009-02-02 nico CategoryNone Makefiles
        Assigned toNone nico
    2009-02-02 glpunzi Attached File- Added output.txt, #17381
        Attached File- Added config.log, #17382

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code