I fixed that problem by following the advice in
https://lists.berlios.de/pipermail/canorus-user/2007-August/000084.html

I replaced all setXXXMargin with setMargin (same for setXXXSpacing)  
and the file compiled fine.

I had to do that in all the files. Annoying! I'm told I could have  
just upgraded QT, but that's also annoying, so fine.

Build went fine,

Flac files play.

Enjoy


Ben Powers
[EMAIL PROTECTED]
http://www.out-of-order.ca


On 30-Jul-08, at Jul 30, 16:32 , Ben Powers wrote:

> Ok, Download flac 1.2.1, use
> $ ./configure --disable-asm-optimizations && make && sudo make install
>
> now download /libsndfile 1.0.17 and run this in the build dir
>
> $ wget 
> http://wiki.linuxfromscratch.org/blfs/attachment/wiki/flac/libsndfile-1.0.17-flac.patch.bz2
> $ bzcat libsndfile-1.0.17-flac.patch.bz2 |patch -p1
> $ make clean && ./configure && make && sudo make install
>
> build hydrogen_svn like this:
>
> ./configure && make && sudo make install
>
> and that would have worked fine except for this:
> c++ -c -include objs/hydrogen -pipe -I/usr/include/lash-1.0 -Os -g - 
> Wall -arch i386 -Wall -W -F/usr/local/Trolltech/Qt-4.2.3/lib  - 
> DLADSPA_SUPPORT -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT - 
> DCOREMIDI_SUPPORT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB - 
> DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/ 
> Qt-4.2.3/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.2.3/lib/ 
> QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.2.3/ 
> include/QtCore -I/usr/local/Trolltech/Qt-4.2.3/include/QtCore -I/usr/ 
> local/Trolltech/Qt-4.2.3/lib/QtNetwork.framework/Versions/4/Headers - 
> I/usr/local/Trolltech/Qt-4.2.3/include/QtNetwork -I/usr/local/ 
> Trolltech/Qt-4.2.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.2.3/ 
> lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/ 
> Qt-4.2.3/include/QtGui -I/usr/local/Trolltech/Qt-4.2.3/include/QtGui  
> -I/usr/local/Trolltech/Qt-4.2.3/lib/QtXml.framework/Versions/4/ 
> Headers -I/usr/local/Trolltech/Qt-4.2.3/include/QtXml -I/usr/local/ 
> Trolltech/Qt-4.2.3/include/QtXml -I/usr/local/Trolltech/Qt-4.2.3/ 
> include -I.. -I../libs/hydrogen/include -I./gui/src/ -I/System/ 
> Library/Frameworks/Carbon.framework/Versions/A/Headers -Iobjs -Iobjs  
> -o objs/SoundLibraryImportDialog.o src/SoundLibrary/ 
> SoundLibraryImportDialog.cpp
> objs/ui_SoundLibraryImportDialog_UI.h: In member function ‘void  
> Ui_SoundLibraryImportDialog_UI::setupUi(QDialog*)’:
> objs/ui_SoundLibraryImportDialog_UI.h:65: error: ‘class QVBoxLayout’  
> has no member named ‘setLeftMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:66: error: ‘class QVBoxLayout’  
> has no member named ‘setTopMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:67: error: ‘class QVBoxLayout’  
> has no member named ‘setRightMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:68: error: ‘class QVBoxLayout’  
> has no member named ‘setBottomMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:130: error: ‘class  
> QGridLayout’ has no member named ‘setLeftMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:131: error: ‘class  
> QGridLayout’ has no member named ‘setTopMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:132: error: ‘class  
> QGridLayout’ has no member named ‘setRightMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:133: error: ‘class  
> QGridLayout’ has no member named ‘setBottomMargin’
> objs/ui_SoundLibraryImportDialog_UI.h:134: error: ‘class  
> QGridLayout’ has no member named ‘setHorizontalSpacing’
> objs/ui_SoundLibraryImportDialog_UI.h:135: error: ‘class  
> QGridLayout’ has no member named ‘setVerticalSpacing’
> make[1]: *** [objs/SoundLibraryImportDialog.o] Error 1
> make: *** [sub-gui-make_default] Error 2
>
> Ben Powers
> [EMAIL PROTECTED]
> http://www.out-of-order.ca
>
>
> On 30-Jul-08, at Jul 30, 02:37 , Phillip Davis wrote:
>
>> No luck, I've compiled w/ the right prefix and the FLAC and FLAC++  
>> dir's exist in the /usr/include dir as expected.  I'm not sure why  
>> flac doesn't work all of a sudden.
>>
>> Any other ideas/suggestions?  I'm attaching the build output in  
>> case that may make troubleshooting easier.
>>
>> Here's the version of flac I've installed as well:
>>
>> flac-1.2.1
>>
>>
>> <makeoutput.txt>
>>
>> ~Phil
>>
>> Phillip Davis
>> [EMAIL PROTECTED]
>>
>>
>>
>> On Jul 29, 2008, at 4:46 PM, Phillip Davis wrote:
>>
>>> I think I found it, I didn't add the --prefix=/usr on the  
>>> configure so
>>> that it found my compiled flac headers/libs/etc.  I'm retrying now,
>>> thanks ;)
>>>
>>> ~Phil
>>>
>>> Phillip Davis
>>> [EMAIL PROTECTED]
>>>
>>>
>>>
>>> On Jul 29, 2008, at 4:05 PM, Ben Powers wrote:
>>>
>>>> yeah probably you don't have the flac devel files, or flac  
>>>> support was
>>>> disabled in your config script
>>>>
>>>> try ./configure --help and read the options
>>>>
>>>> Ben Powers
>>>> [EMAIL PROTECTED]
>>>> http://www.out-of-order.ca
>>>>
>>>>
>>>> On 29-Jul-08, at Jul 29, 23:40 , Phillip Davis wrote:
>>>>
>>>>> Oh and additionally, flac files DON'T work by adding as a new
>>>>> instrument, only the wav file seems to work.  Is there something  
>>>>> I'm
>>>>> missing in my build process to support flac files?
>>>>>
>>>>> ~Phil
>>>>>
>>>>> Phillip Davis
>>>>> [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>> On Jul 29, 2008, at 12:25 PM, Phillip Davis wrote:
>>>>>
>>>>>> Well now! good suggestion, though!  I tried adding a new  
>>>>>> instrument
>>>>>> and loaded click.wav and it DOES play... any ideas why it doesn't
>>>>>> load
>>>>>> them correctly on startup but manual addition of the same files
>>>>>> works?
>>>>>>
>>>>>> ~Phil
>>>>>>
>>>>>> Phillip Davis
>>>>>> [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jul 29, 2008, at 12:22 PM, Phillip Davis wrote:
>>>>>>
>>>>>>> Well because I thought these were the default ones that ship w/
>>>>>>> hydrogen and it used to work, I don't know why it would all of a
>>>>>>> sudden NOT be able to use files that ship w/ it?
>>>>>>>
>>>>>>> I also see the metronome sample is a wav file called click.wav  
>>>>>>> and
>>>>>>> it
>>>>>>> fails w/ the same exact error.  I'm wondering if something
>>>>>>> different
>>>>>>> w/ respect to macosx's file permissions etc is making it wonky?
>>>>>>>
>>>>>>> Not sure though, I thought it was identical to Linux, and I know
>>>>>>> that
>>>>>>> well, I checked perms and they're owned by me... so I'm def  
>>>>>>> lost.
>>>>>>> The
>>>>>>> permissions show as owned by me and 644.
>>>>>>>
>>>>>>> ~Phil
>>>>>>>
>>>>>>> Phillip Davis
>>>>>>> [EMAIL PROTECTED]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Jul 29, 2008, at 12:17 PM, Ben Powers wrote:
>>>>>>>
>>>>>>>> why don't you try loading some non-flac files?
>>>>>>>>
>>>>>>>> Ben Powers
>>>>>>>> [EMAIL PROTECTED]
>>>>>>>> http://www.out-of-order.ca
>>>>>>>>
>>>>>>>>
>>>>>>>> On 29-Jul-08, at Jul 29, 21:09 , Phillip Davis wrote:
>>>>>>>>
>>>>>>>>> I'm still able to compile and run the Mac version as a  
>>>>>>>>> universal
>>>>>>>>> binary.  The one issue I have is that it plays no sounds,  
>>>>>>>>> but I
>>>>>>>>> think
>>>>>>>>> this is due do something wrong w/ loading the flac files:
>>>>>>>>>
>>>>>>>>> (E)     static H2Core::Sample* H2Core::Sample::load(const
>>>>>>>>> QString&)
>>>>>>>>> rs/
>>>>>>>>> pdavis/src/hydrogen/hydrogen.app/Contents/MacOS/../Resources/
>>>>>>>>> data/
>>>>>>>>> drumkits/GMkit/kick_Dry_b.flac
>>>>>>>>> (E)     static H2Core::Sample* H2Core::Sample::load_wave(const
>>>>>>>>> QString&) [Sample::load] Error loading file /Users/pdavis/src/
>>>>>>>>> hydrogen/
>>>>>>>>> hydrogen.app/Contents/MacOS/../Resources/data/drumkits/GMkit/
>>>>>>>>> kick_Dry_b.flac
>>>>>>>>>
>>>>>>>>> I'm not sure why its failing to load them and I suspect this  
>>>>>>>>> is
>>>>>>>>> why I
>>>>>>>>> get no sound.  Any pointers/ideas/recommendations?  The newest
>>>>>>>>> Jack
>>>>>>>>> OS
>>>>>>>>> X .77 is working as an audio output and I've tested it w/
>>>>>>>>> audacity
>>>>>>>>> on
>>>>>>>>> these specific flac files so they do play a sound as expected.
>>>>>>>>>
>>>>>>>>> ~Phil
>>>>>>>>>
>>>>>>>>> Phillip Davis
>>>>>>>>> [EMAIL PROTECTED]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>>> win
>>>>>>>>> great prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>>> anywhere in
>>>>>>>>> the world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Hydrogen-devel mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Hydrogen-devel mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------------------------------
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great prizes
>>>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>>>> in
>>>>>>> the world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Hydrogen-devel mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Hydrogen-devel mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Hydrogen-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Hydrogen-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in  
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Hydrogen-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
>> Hydrogen-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to