Errormessage:
Solution: Install the "libqt3-mt-dev" package:-- fmit 0.98.0 (install in /usr/local)
CMake Error at CMakeLists.txt:48 (MESSAGE):
No Qt3
Code: Select all
apt-get install libqt3-mt-dev
Solution: Install the "libasound2-dev" package:ALSA sound system requested
-- Unable to find ALSA library
CMake Error at CMakeLists.txt:78 (MESSAGE):
Unable to find ALSA library
Code: Select all
apt-get install libasound2-dev
Solution: Install the package "freeglut3-dev":/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:174:21: error: GL/glut.h: No such file or directory
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp: In member function ‘void GLErrorHistory::drawTextTickCent(int, int)’:
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:356: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:356: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp: In member function ‘virtual void GLErrorHistory::paintGL()’:
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:373: error: ‘GLUT_BITMAP_HELVETICA_18’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:373: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:437: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:437: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:441: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:441: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:447: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:447: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:451: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:451: error: ‘glutBitmapCharacter’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:485: error: ‘GLUT_BITMAP_HELVETICA_12’ was not declared in this scope
/install/fmit/fmit-0.98.0-Source/src/modules/GLErrorHistory.cpp:485: error: ‘glutBitmapCharacter’ was not declared in this scope
make[2]: *** [src/modules/CMakeFiles/fmit_modules.dir/GLErrorHistory.o] Error 1
make[1]: *** [src/modules/CMakeFiles/fmit_modules.dir/all] Error 2
Code: Select all
apt-get install freeglut3-dev
Solution:/install/fmit/fmit-0.98.0-Source/src/../libs/Music/Music.h: In function ‘TYPE Music::invlp(TYPE) [with TYPE = int]’:
/install/fmit/fmit-0.98.0-Source/src/CustomInstrumentTunerForm.cpp:803: instantiated from here
/install/fmit/fmit-0.98.0-Source/src/../libs/Music/Music.h:297: error: call of overloaded ‘pow(int, int)’ is ambiguous
/usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, double)
/usr/include/c++/4.2/cmath:373: note: long double std::pow(long double, int)
/usr/include/c++/4.2/cmath:369: note: float std::pow(float, int)
/usr/include/c++/4.2/cmath:365: note: double std::pow(double, int)
/usr/include/c++/4.2/cmath:361: note: long double std::pow(long double, long double)
/usr/include/c++/4.2/cmath:357: note: float std::pow(float, float)
make[2]: *** [src/CMakeFiles/fmit.dir/CustomInstrumentTunerForm.o] Error 1
make[1]: *** [src/CMakeFiles/fmit.dir/all] Error 2
make: *** [all] Error 2
in Music.h:297, replace:
Code: Select all
return pow(TYPE(10), value/TYPE(20));
Code: Select all
return pow(double(10), double(value/double(20)));
Solution: No solution, yetCMakeFiles/fmit.dir/main.o: In function `main':
main.cpp:(.text+0x30d): undefined reference to `glutInit'
modules/libfmit_modules.a(GLErrorHistory.o): In function `GLErrorHistory::drawTextTickCent(int, int)':
GLErrorHistory.cpp:(.text+0x642): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x647): undefined reference to `glutBitmapCharacter'
modules/libfmit_modules.a(GLErrorHistory.o): In function `GLErrorHistory::paintGL()':
GLErrorHistory.cpp:(.text+0x22b5): undefined reference to `glutBitmapHelvetica18'
GLErrorHistory.cpp:(.text+0x22ba): undefined reference to `glutBitmapCharacter'
GLErrorHistory.cpp:(.text+0x2a22): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x2a27): undefined reference to `glutBitmapCharacter'
GLErrorHistory.cpp:(.text+0x2b76): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x2b7b): undefined reference to `glutBitmapCharacter'
GLErrorHistory.cpp:(.text+0x2e29): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x2e2e): undefined reference to `glutBitmapCharacter'
GLErrorHistory.cpp:(.text+0x2f81): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x2f86): undefined reference to `glutBitmapCharacter'
GLErrorHistory.cpp:(.text+0x324c): undefined reference to `glutBitmapHelvetica12'
GLErrorHistory.cpp:(.text+0x3251): undefined reference to `glutBitmapCharacter'
...