Hi Paul,
I'm very excited to try paulstretch2.0 but get the following error when attempting to compile:
~/Downloads/source/paulstretch-2.0$ ./compile_linux_fftw.sh
GUI.cxx: In member function ‘void GUI::cb_render_button_i(Fl_Button*, void*)’:
GUI.cxx:449: warning: format not a string literal and no format arguments
PAaudiooutput.cpp:27: error: expected constructor, destructor, or type conversion before ‘*’ token
PAaudiooutput.cpp: In function ‘void PAaudiooutputinit(Player*, int)’:
PAaudiooutput.cpp:40: error: ‘PaStreamCallback’ was not declared in this scope
PAaudiooutput.cpp:40: error: expected primary-expression before ‘)’ token
VorbisOutputS.cpp: In member function ‘bool VorbisOutputS::newfile(std::string, int, float)’:
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
Input/MP3InputS.cpp: In member function ‘virtual int MP3InputS::read(int, short int*)’:
Input/MP3InputS.cpp:114: error: ‘memmove’ was not declared in this scope
Are you able to assist?
Many thanks,
George
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the GUI.cxx, these are just warnings. I hate to proceed with even warnings myself, but they seem not to be a problem ultimately.
For the PAaudiooutput.cpp error, you need to install portaudio dev libraries v1.9. I had 2.0 by default on my Ubuntu 9.04 install and they weren't called correctly.
VorbisOutputS.cpp is a warning, same comment as GUI.cxx.
Input/P3InputS.cpp err is from a string memory alloc include not being in the workspace. Add #include <string.h>, the old c version, to the MP3InputS.h file just after <string> (the cpp standard library version> and it will compile. Maybe this will be done better some day with a c++ standard library reference.
That's all I know … Hope it works.
Duncan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After that I was about to compile, but I've stopped in a similar situation of gcostanza1939, getting the following errors:
VorbisOutputS.cpp: In member function ‘bool VorbisOutputS::newfile(std::string, int, float)’:
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
Input/MP3InputS.cpp: In member function ‘virtual int MP3InputS::read(int, short int*)’:
Input/MP3InputS.cpp:114: error: ‘memmove’ was not declared in this scope
Re-reading the explanation of catreus user, I installed on my system the compiler g++ on version 4.2:
# apt-get install g++-4.2-multilib
and I've replaced in the compilation script the g++ string by g++-4.2.
Once done compilation process work fine and now right I work with this fantastic tool.
Thanks so much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you need to add "fluid" also to the dependencies. With fltk alone it didn't work with me to compile on Ubuntu Studio 64 Lucid Lynx. After installing fluid itself, it worked!
Thanks a lot for this nice program!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Paul,
I'm very excited to try paulstretch2.0 but get the following error when attempting to compile:
~/Downloads/source/paulstretch-2.0$ ./compile_linux_fftw.sh
GUI.cxx: In member function ‘void GUI::cb_render_button_i(Fl_Button*, void*)’:
GUI.cxx:449: warning: format not a string literal and no format arguments
PAaudiooutput.cpp:27: error: expected constructor, destructor, or type conversion before ‘*’ token
PAaudiooutput.cpp: In function ‘void PAaudiooutputinit(Player*, int)’:
PAaudiooutput.cpp:40: error: ‘PaStreamCallback’ was not declared in this scope
PAaudiooutput.cpp:40: error: expected primary-expression before ‘)’ token
VorbisOutputS.cpp: In member function ‘bool VorbisOutputS::newfile(std::string, int, float)’:
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
VorbisOutputS.cpp:46: warning: deprecated conversion from string constant to ‘char*’
Input/MP3InputS.cpp: In member function ‘virtual int MP3InputS::read(int, short int*)’:
Input/MP3InputS.cpp:114: error: ‘memmove’ was not declared in this scope
Are you able to assist?
Many thanks,
George
For the GUI.cxx, these are just warnings. I hate to proceed with even warnings myself, but they seem not to be a problem ultimately.
For the PAaudiooutput.cpp error, you need to install portaudio dev libraries v1.9. I had 2.0 by default on my Ubuntu 9.04 install and they weren't called correctly.
VorbisOutputS.cpp is a warning, same comment as GUI.cxx.
Input/P3InputS.cpp err is from a string memory alloc include not being in the workspace. Add #include <string.h>, the old c version, to the MP3InputS.h file just after <string> (the cpp standard library version> and it will compile. Maybe this will be done better some day with a c++ standard library reference.
That's all I know … Hope it works.
Duncan
HI!
Fantastic software work! :-)
I'm trying now right to compile paulstretch2.0 in my Debian Lenny distribution, I followed the instructions of Readme.txt, but i get some errors:
Maybe I'm missing any dependencies? Thanks on advance for the help.
Sorry for the vast string above.
I fix most of this problems simply installing the appropriate dependencies:
# apt-get install libmad0-dev libfftw3-dev portaudio19-dev
After that I was about to compile, but I've stopped in a similar situation of gcostanza1939, getting the following errors:
Re-reading the explanation of catreus user, I installed on my system the compiler g++ on version 4.2:
# apt-get install g++-4.2-multilib
and I've replaced in the compilation script the g++ string by g++-4.2.
Once done compilation process work fine and now right I work with this fantastic tool.
Thanks so much.
Hi!
I think you need to add "fluid" also to the dependencies. With fltk alone it didn't work with me to compile on Ubuntu Studio 64 Lucid Lynx. After installing fluid itself, it worked!
Thanks a lot for this nice program!!!