Hi,
I tried compiling the svn checkout (20081207) with portmidi=1 and portaudio=1 
flags. I compiled against the latest versions of both (portmidi-82, 
portaudio-19). Both tries failed.

--------------------------------------------------------------------
If I enable just portmidi (scons portmidi=1), I get:
...
g++ -o libs/hydrogen/src/IO/portmidi_driver.o -c -DALSA_SUPPORT -DJACK_SUPPORT 
-DLASH_SUPPORT -DLRDF_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT 
-DLADSPA_SUPPORT -DOSS_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED 
-I/usr/lib/lash-1.0 -I. -Igui/src -I3rdparty/install/include 
-Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/QtCore 
-I/usr/include/QtGui libs/hydrogen/src/IO/portmidi_driver.cpp
libs/hydrogen/src/IO/portmidi_driver.cpp: In function ‘void* 
H2Core::PortMidiDriver_thread(void*)’:
libs/hydrogen/src/IO/portmidi_driver.cpp:55: error: invalid conversion from 
‘int’ to ‘PmError’
scons: *** [libs/hydrogen/src/IO/portmidi_driver.o] Error 1
scons: building terminated because of errors.


This one seems easy to fix.

--------------------------------------------------------------------
For the portaudio (scons portaudio=1), I get:

g++ -o libs/hydrogen/src/hydrogen.o -c -DALSA_SUPPORT -DJACK_SUPPORT 
-DLASH_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT 
-DFLAC_SUPPORT -DLADSPA_SUPPORT -DOSS_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB 
-DQT_SHARED -I/usr/lib/lash-1.0 -I. -Igui/src -I3rdparty/install/include 
-Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/QtCore 
-I/usr/include/QtGui libs/hydrogen/src/hydrogen.cpp
In file included from libs/hydrogen/src/hydrogen.cpp:69:
libs/hydrogen/src/IO/PortAudioDriver.h:65: error: ISO C++ forbids declaration 
of ‘PortAudioStream’ with no type
libs/hydrogen/src/IO/PortAudioDriver.h:65: error: expected ‘;’ before ‘*’ token
scons: *** [libs/hydrogen/src/hydrogen.o] Error 1
scons: building terminated because of errors.

This one is not very easy to fix. PortAudioStream is renamed to PaStream in the 
last version. But making that change will lead to a more complicated error. I 
can probably learn the portaudio API and fix all these myself, but I wanted to 
leave it to the original author (Do you guys accept patches?).

Cheers,
Orcan


      

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to