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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25462: Issues building GDL2 on Windows

Submitted by:  Giuseppe Luigi Punzi <glpunzi>
Submitted on:  Mon 02 Feb 2009 08:53:32 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Nicola Pero <nico>
Open/Closed: Closed

(Jump to the original submission 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>
Project MemberIn charge of this item.
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>
Project 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>
Project 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>
Project 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>
Project MemberIn charge of this item.
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>

 

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
  • -unavailable- added by ratmice (Posted a comment)
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by glpunzi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Feb 2009 11:54:50 AM UTCnicoOpen/ClosedOpen=>Closed
    Mon 02 Feb 2009 09:23:55 AM UTCnicoCategoryNone=>Makefiles
      Assigned toNone=>nico
    Mon 02 Feb 2009 08:53:33 AM UTCglpunziAttached File-=>Added output.txt, #17381
      Attached File-=>Added config.log, #17382

    Back to the top


    Powered by Savane 3.1-cleanup1