Hi folks, hi Gabriel, (sorry for the late reply...). 

Three things:
1) Gabriel's question about the feature.pri file
2) Good news :)
3) Issue with newest SVN trunk build on osx

ad 1)
> In the Mac build, I see lines like this:
>
>    macx {
>        LIBS += /opt/local/lib/libarchive.dylib
>  }
>
> However, will this work:
>
>    macx {
>       LIBS += -L/opt/local/lib -larchive
>    }
>
> Reason for asking:  The latter syntax is more portable... and would help 
> me in my qmake efforts.  :-)

I tried what you suggested in the features.pri file but this did not work. I 
get errors like this:

ld: library not found for -llibflac
collect2: ld returned 1 exit status
make[1]: *** [../Hydrogen.app/Contents/MacOS/Hydrogen] Error 1
make: *** [sub-gui-make_default] Error 2

When I change your line a bit to explicitly refer to the libs:

    LIBS += -L/opt/local/lib -LlibFLAC.dylib
or:
    LIBS += -L/opt/local/lib -LFLAC

I get the following messages:

Undefined symbols:
  "FLAC::Decoder::Stream::process_until_end_of_metadata()", referenced from:
      vtable for H2Core::FLACFile_realin liblibhydrogen.a(flac_file.o)
  "_tar_close", referenced from:
      H2Core::Drumkit::install(QString const&)in 
liblibhydrogen.a(sound_library.o)
  "_jack_transport_locate", referenced from:
      H2Core::JackOutput::locate(unsigned long)in 
liblibhydrogen.a(jack_output.o)
  "_jack_set_process_callback", referenced from:
      H2Core::JackOutput::init(unsigned int)in liblibhydrogen.a(jack_output.o)



ad 2)
There is also good news!! :-)
I got an email from Magnus Oman who has written a nice little launch script to 
solve the missing libcrypto issue (the former macosx build  would specifically 
ask for a separate file libcrypto to be placed in /opt/local/lib/ ). So we now 
should have a self-containing osx dmg bundle that works on intel 10.5 Leopard!

I posted the link to the new dmg bundle on the forum, and updated the macosx 
compilation HOWTO on 
http://trac.assembla.com/hydrogen/wiki/development%3AcompileOSX:


ad 3)
I'm having  problems building the newest SVN version trunk 1306 on macosx 10.5. 
I believe win_port and trunk are now merged so that the two build systems 
(scons and qmake) co-exist? But trunk does not build on osx with qmake. The 
win_ports branch does build, but is it still maintained?

I posted details about this issue in the forums:
http://www.hydrogen-music.org/forum/?action=show_thread&thread=1099&fid=7&page=1


Have a good weekend all!



----- Original Message ----
From: Gabriel M. Beddingfield <gabr...@teuton.org>
To: Hydrogen Dev List <hydrogen-devel@lists.sourceforge.net>
Sent: Friday, July 31, 2009 5:23:56 PM
Subject: [Hydrogen-devel] OSX linker flags


Hi Guys,

In the Mac build, I see lines like this:

    macx {
        LIBS += /opt/local/lib/libarchive.dylib
    }

However, will this work:

    macx {
       LIBS += -L/opt/local/lib -larchive
    }

Reason for asking:  The latter syntax is more portable... and would help 
me in my qmake efforts.  :-)

Thanks,
Gabriel


      

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to