Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSD does not compile on Ubuntu 14.04 #49

Closed
Rebel33 opened this issue Nov 7, 2014 · 2 comments
Closed

DSD does not compile on Ubuntu 14.04 #49

Rebel33 opened this issue Nov 7, 2014 · 2 comments
Labels

Comments

@Rebel33
Copy link

Rebel33 commented Nov 7, 2014

Hi,

Ubuntu 14.04 Linux version 3.13.0-39-generic ,
newest version mbelib and ittp were compiled and installed with no problem.
But dsd produces following failures:

:~/DMR/szechyjs/dsd/build$ make
[ 2%] Building C object CMakeFiles/dsd.dir/pa_devs.c.o
/DMR/szechyjs/dsd/pa_devs.c: In function ‘printPortAudioDevices’:
/DMR/szechyjs/dsd/pa_devs.c:14:5: error: unknown type name ‘PaStreamParameters’
PaStreamParameters inputParameters, outputParameters;
^
/DMR/szechyjs/dsd/pa_devs.c:21:13: warning: format ‘%s’ expects argument of type ‘char ’, but argument 3 has type ‘int’ [-Wformat=]
Pa_GetVersion(), Pa_GetVersionText() );
^
/DMR/szechyjs/dsd/pa_devs.c:45:52: error: ‘PaDeviceInfo’ has no member named ‘hostApi’
else if( i == Pa_GetHostApiInfo( deviceInfo->hostApi )->defaultInputDevice )
^
/DMR/szechyjs/dsd/pa_devs.c:47:13: error: unknown type name ‘PaHostApiInfo’
const PaHostApiInfo *hostInfo = Pa_GetHostApiInfo( deviceInfo->hostApi );
^
/DMR/szechyjs/dsd/pa_devs.c:47:74: error: ‘PaDeviceInfo’ has no member named ‘hostApi’
const PaHostApiInfo *hostInfo = Pa_GetHostApiInfo( deviceInfo->hostApi );
^
/DMR/szechyjs/dsd/pa_devs.c:48:51: error: request for member ‘name’ in something not a structure or union
printf( "[ Default %s Input", hostInfo->name );
^
/DMR/szechyjs/dsd/pa_devs.c:58:52: error: ‘PaDeviceInfo’ has no member named ‘hostApi’
else if( i == Pa_GetHostApiInfo( deviceInfo->hostApi )->defaultOutputDevice )
^
/DMR/szechyjs/dsd/pa_devs.c:60:13: error: unknown type name ‘PaHostApiInfo’
const PaHostApiInfo *hostInfo = Pa_GetHostApiInfo( deviceInfo->hostApi );
^
/DMR/szechyjs/dsd/pa_devs.c:60:74: error: ‘PaDeviceInfo’ has no member named ‘hostApi’
const PaHostApiInfo *hostInfo = Pa_GetHostApiInfo( deviceInfo->hostApi );
^
/DMR/szechyjs/dsd/pa_devs.c:62:51: error: request for member ‘name’ in something not a structure or union
printf( " Default %s Output", hostInfo->name );
^
/DMR/szechyjs/dsd/pa_devs.c:79:85: error: ‘PaDeviceInfo’ has no member named ‘hostApi’
printf( "Host API = %s\n", Pa_GetHostApiInfo( deviceInfo->hostApi )->name );
^
/DMR/szechyjs/dsd/pa_devs.c:82:68: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
printf( "Default sample rate = %8.2f\n", deviceInfo->defaultSampleRate );
^
make[2]: *
* [CMakeFiles/dsd.dir/pa_devs.c.o] Fehler 1
make[1]: *** [CMakeFiles/dsd.dir/all] Fehler 2
make: *** [all] Fehler 2

I have no clue what can be done to solve this. Thanks a lot in advance for any help.

Fred

@szechyjs
Copy link
Owner

szechyjs commented Nov 9, 2014

Seems to be an issue with PortAudio. My guess would be a version problem.

@Rebel33
Copy link
Author

Rebel33 commented Nov 9, 2014

Bingo, after updating PortAudio to 1.9 (was 1.8) it compiled successfully. Thanks a lot for the hint!

@szechyjs szechyjs added the build label Nov 9, 2014
@szechyjs szechyjs closed this as completed Nov 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants