OpenCPN and missing gobject-2.0 with 10.6.6?

Discussion in 'Mac Programming' started by itchako, Jan 23, 2011.

  1. itchako macrumors newbie

    Joined:
    Jan 22, 2011
    #1
    hi,

    newbie with development using apple macs but kind of experienced on windows boxes... ;-)

    Issue:
    -Tried to compile OpenCPN under Snow Leopard 10.6.6.
    -Complation successful but the linker complains about missing -lgobject-2.0
    -Checked with pgk-config and really gobject is not availablel.
    -Read that it should be part of glib-2.0 and tried to install using port, without success...

    How can I add gobject-2.0 to my system to link the software mentioned above successfullyl

    regards
    itchako
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    I have glib2 (@2.26.1_0) installed via MacPorts under Mac OS X 10.6.6. Can you tell us why you couldn't install it? What went wrong?
     
  3. itchako thread starter macrumors newbie

    Joined:
    Jan 22, 2011
    #3
    sorry for the late answer but times are busy currently... ;-)

    installation looks good to me (do not see any errors) but when I got it right in the /usr/local/lib/pkgconfig directory should be a gobject.pc file if installation was successful and this file is still missing...

    Since my first tries I selfupdated port. When I now try to install glib2 I get the error that glib2-devel is already installed...

    How can I verify that gobject was installed correctly and/or how I tell cmake or Xcode that it is available???

    regards
    itchako
     

Share This Page