kritzikratzi / Oscilloscope

Oscilloscope for Mac/Windows written in OF.
https://oscilloscopemusic.com/osci.php
MIT License
569 stars 46 forks source link

make compilation error #89

Open papiche opened 5 months ago

papiche commented 5 months ago

Following this method

cd
wget -c https://github.com/openframeworks/openFrameworks/releases/download/0.12.0/of_v0.12.0_linux64gcc6_release.tar.gz
tar -zxvf of_v0.12.0_linux64gcc6_release.tar.gz
mv of_v0.12.0_linux64gcc6_release OF
cd OF/scripts/linux/ubuntu
sudo ./install_dependencies.sh
cd
cd OF/apps/myApps
git clone --recursive https://github.com/kritzikratzi/Oscilloscope.git
cd Oscilloscope
scripts/clean.sh
cp -R addons/ofxMightyUI/bin/data/* bin/data/
cp -R addons/ofxFontAwesome/bin/data/* bin/data/
make -j2

leads to

g++: fatal error: cannot execute ‘cc1objplus’: execvp: Aucun fichier ou dossier de ce type
compilation terminated.
make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:328 : /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/obj/linux64/Release/addons/ofxNative/src/ofxNative_osx.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
/home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp: In function ‘std::string getExecutableName()’:
/home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp:17:19: error: ‘g_path_get_basename’ was not declared in this scope
   17 |  char* basename = g_path_get_basename(exe);
      |                   ^~~~~~~~~~~~~~~~~~~
/home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp: In function ‘void ofxNative::showFile(std::string)’:
/home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp:28:15: error: ‘g_path_get_dirname’ was not declared in this scope
   28 |   char* dir = g_path_get_dirname(filename.c_str());
      |               ^~~~~~~~~~~~~~~~~~
make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:305 : /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/obj/linux64/Release/addons/ofxNative/src/ofxNative_lin.o] Erreur 1
make[1] : on quitte le répertoire « /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope »
make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129 : Release] Erreur 2

any idea for correcting that ?

cyber199 commented 2 days ago

I am having similar issues

Compiling Oscilloscope for Release
make[1]: Entering directory '/media/dafoex/1TB/Software/OSMusic/OF/apps/myApps/Oscilloscope'
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 
with PKG_CONFIG_LIBDIR=
../../../libs/openFrameworksCompiled/project/makefileCommon/config.addons.mk:210: *** missing separator. Stop.
make[1]: Leaving directory '/media/dafoex/1TB/Software/OSMusic/OF/apps/myApps/Oscilloscope'
make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

My scrollback doesn't show the whole process, but I can try writing it to a file if you need more information For what it's worth I am running Linux Mint 21.3