Closed dasaki closed 1 year ago
Hi, what linux flavour are you using?
So i can test it on a virtual machine
Hi, Ubuntu MATE 1.24.0 Versión 20.04.2 LTS (Focal Fossa) 5.11.0-051100-generic #202102142330 SMP Sun Feb 14 23:33:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
So, good news and bad news!
Just fresh installed Ubuntu MATE 20.04.2 LTS amd64 on a virtual machine, minimal install with third party software, cloned Mosaic-Installer repo, run the installer and
boom, everything went fine, no errors.
Default is not your kernel version, but that shouldn't be the problem.
uname -a
:
Linux user-VirtualBox 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
So, good news, the Mosaic installer script works for your linux falvour, bad news, the problem must be somewhere in your specific system install.
Thanks for your help.
I must have manually installed some library that isnt found by the compiler.
The library's path name doesn't appear in the compilation command, but it is in between 'blkid' and 'libusb-1.0':
-I/usr/include/blkid **-I/usr/../include/include** -I/usr/include/libusb-1.0
any idea?
/opt/openFrameworks/addons/ofxHapPlayer/example compiles fine
but same error with: /opt/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming
Don't know exactly, but the error is on fftw library compile from source, is not OF nor Mosaic related
maybe try to compile alone this step, it will be easy to find the problem
here:
https://github.com/d3cod3/fftw3.3.2-source
then:
./configure --prefix='pwd' --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static
and
make MAKEINFO=true -j4
some lib, or some path to some lib is causing the problem
And this:
error: /usr/../include/include: No es un directorio
is obviously a problem with some configured path
maybe check your environment vars, as $PATH
probably something installed in your system, modified the $PATH var and now is causing the problem
echo $PATH
/home/dasaki/.cargo/bin:/home/dasaki/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
~/src/fftw3.3.2-source-master/build$ ../configure --prefix='pwd' --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static
configure: error: expected an absolute directory name for --prefix: pwd
Ok, the pwd error is a bracket problem, this is the correct command:
./configure --prefix=pwd
--enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static
as you can see, the github is eating the brackets around pwd, here is the reference from the script:
~/src/fftw3.3.2-source-master$ ./configure .. --prefix=pwd --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static
configure: WARNING: you should use --build, --host, --target
configure: error: expected an absolute directory name for --prefix: pwd
Did you use the last reference from the script?
And about the path error, you can do a search with grep:
sudo grep -r "/usr/../include/include" /
to search for that string inside all your system files, and then try to fix it
this configured well (removing --prefix=pwd
):
./configure --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static
checking for a BSD-compatible install... /usr/bin/install -c
this configured well (removing --prefix=
pwd
):./configure --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static checking for a BSD-compatible install... /usr/bin/install -c
Don't know if will compile without it
this configured well (removing --prefix=
pwd
):./configure --enable-float --enable-sse2 --with-incoming-stack-boundary=2 --with-our-malloc16 --disable-shared --enable-static checking for a BSD-compatible install... /usr/bin/install -c
Don't know if will compile without it
it did compile!
And about the path error, you can do a search with grep:
sudo grep -r "/usr/../include/include" /
to search for that string inside all your system files, and then try to fix it
so far:
sudo grep -r "/usr/../include/include" /
Coincidencia en el archivo binario /root/.config/dconf/user
/opt/openFrameworks/apps/d3cod3/Mosaic/obj/linux64/Release/.compiler_flags
/opt/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming/obj/linux64/Release/.compiler_flags
Coincidencia en el archivo binario /swapfile
I cloned openframeworks in a different directory, the cloned ofxVisualProgramming, same error in the compiling line:
Compiling example_ofxVisualProgramming for Release
make[1]: se entra en el directorio '/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming'
Compiling /home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming/src/ofApp.cpp
g++ -c -O3 -DNDEBUG -Wall -Werror=return-type -DGCC_HAS_REGEX -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -pthread -D_REENTRANT -pthread -I/usr/local/include -I/usr/local/include/opencv4/opencv -I/usr/local/include/opencv4 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/x86_64-linux-gnu -I/usr/include/rtaudio -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/../include/include -I/usr/include/libusb-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/dasaki/src/openFrameworks/libs/fmod/include -I/home/dasaki/src/openFrameworks/libs/glm/include -I/home/dasaki/src/openFrameworks/libs/glm/include/glm -I/home/dasaki/src/openFrameworks/libs/glm/include/glm/ext -I/home/dasaki/src/openFrameworks/libs/glm/include/glm/gtx -I/home/dasaki/src/openFrameworks/libs/glm/include/glm/detail -I/home/dasaki/src/openFrameworks/libs/glm/include/glm/gtc -I/home/dasaki/src/openFrameworks/libs/glm/include/glm/simd -I/home/dasaki/src/openFrameworks/libs/json/include -I/home/dasaki/src/openFrameworks/libs/kiss/include -I/home/dasaki/src/openFrameworks/libs/pugixml/include -I/home/dasaki/src/openFrameworks/libs/tess2/include -I/home/dasaki/src/openFrameworks/libs/utf8/include -I/home/dasaki/src/openFrameworks/libs/utf8/include/utf8 -I/home/dasaki/src/openFrameworks/libs/openFrameworks -I/home/dasaki/src/openFrameworks/libs/openFrameworks/communication -I/home/dasaki/src/openFrameworks/libs/openFrameworks/gl -I/home/dasaki/src/openFrameworks/libs/openFrameworks/app -I/home/dasaki/src/openFrameworks/libs/openFrameworks/video -I/home/dasaki/src/openFrameworks/libs/openFrameworks/events -I/home/dasaki/src/openFrameworks/libs/openFrameworks/graphics -I/home/dasaki/src/openFrameworks/libs/openFrameworks/math -I/home/dasaki/src/openFrameworks/libs/openFrameworks/sound -I/home/dasaki/src/openFrameworks/libs/openFrameworks/3d -I/home/dasaki/src/openFrameworks/libs/openFrameworks/utils -I/home/dasaki/src/openFrameworks/libs/openFrameworks/types -pthread -D_REENTRANT -pthread -I/usr/local/include -I/usr/local/include/opencv4/opencv -I/usr/local/include/opencv4 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/x86_64-linux-gnu -I/usr/include/rtaudio -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/../include/include -I/usr/include/libusb-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming/src -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/computer_vision -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/logic -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/data -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/string -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/video -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/scripting -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/communications -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/gui -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/graphics -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/audio_analysis -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/math -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/windowing -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/objects/sound -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/core -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/core/parameters -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/src/core/FileBrowser -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/libs -I/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/libs/pugg -I/home/dasaki/src/openFrameworks/addons/ofxAssimpModelLoader/src -I/home/dasaki/src/openFrameworks/addons/ofxGui/src -I/home/dasaki/src/openFrameworks/addons/ofxKinect/src -I/home/dasaki/src/openFrameworks/addons/ofxKinect/src/extra -I/home/dasaki/src/openFrameworks/addons/ofxKinect/libs -I/home/dasaki/src/openFrameworks/addons/ofxKinect/libs/libfreenect -I/home/dasaki/src/openFrameworks/addons/ofxKinect/libs/libfreenect/src -I/home/dasaki/src/openFrameworks/addons/ofxKinect/libs/libfreenect/include -I/home/dasaki/src/openFrameworks/addons/ofxKinect/libs/libfreenect/platform -I/home/dasaki/src/openFrameworks/addons/ofxNetwork/src -I/home/dasaki/src/openFrameworks/addons/ofxOpenCv/src -I/home/dasaki/src/openFrameworks/addons/ofxOsc/src -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack/src -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack/src/osc -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack/src/ip -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack/src/ip/posix -I/home/dasaki/src/openFrameworks/addons/ofxOsc/libs/oscpack/src/ip/win32 -I/home/dasaki/src/openFrameworks/addons/ofxSvg/src -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2 -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2/license -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2/include -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2/include/libxml -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2/lib -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/libxml2/lib/linux64 -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/svgtiny -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/svgtiny/license -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/svgtiny/include -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/svgtiny/lib -I/home/dasaki/src/openFrameworks/addons/ofxSvg/libs/svgtiny/lib/linux64 -I/home/dasaki/src/openFrameworks/addons/ofxVectorGraphics/src -I/home/dasaki/src/openFrameworks/addons/ofxVectorGraphics/libs -I/home/dasaki/src/openFrameworks/addons/ofxXmlSettings/src -I/home/dasaki/src/openFrameworks/addons/ofxXmlSettings/libs -I/. -I. -I./src -I/./bin -I./bin -I./bin/data -I./bin/data/fonts -I./bin/data/images -I./bin/data/ofxbraitsch -I./bin/data/ofxbraitsch/fonts -I./bin/data/ofxbraitsch/ofxdatgui -I./bin/data/livecoding -I./bin/data/scripts -I./bin/data/shaders -I./bin/data/configs -MMD -MP -MF obj/linux64/Release/src/ofApp.d -MT obj/linux64/Release/src/ofApp.o -o obj/linux64/Release/src/ofApp.o -c /home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming/src/ofApp.cpp
cc1plus: error: /usr/../include/include: No es un directorio
cc1plus: error: /usr/../include/include: No es un directorio
make[1]: *** [/home/dasaki/src/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/ofApp.o] Error 1
make[1]: se sale del directorio '/home/dasaki/src/openFrameworks/addons/ofxVisualProgramming/example_ofxVisualProgramming'
make: *** [/home/dasaki/src/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
It's related to the compiler, not to OF or Mosaic, you have that wrong include path somewhere, and the compiling process is calling that particular file and so that include.
can you echo /root/.config/dconf/user
the other files are generated, so not relevant
You can try using qtcreator, don't know if will solve the issue, but it's worth a try
In /opt/openframeworks/apps/d3cod3/Mosaic
you'll find a qtcreator .qbs project
open it with qtcreator and compile the project from there
ok, will try
thanks for your help ;)
It's related to the compiler, not to OF or Mosaic, you have that wrong include path somewhere, and the compiling process is calling that particular file and so that include.
can you echo /root/.config/dconf/user
the other files are generated, so not relevant
the reference to "/usr/../include/include" in /root/.config/dconf/user is just a history log:
#history-search-for-I/usr/../include/include
ok, so is not in some file, it must be in some environmental variable
maybe trick it
create a folder in /include/include and leave it empty
dirty, but could work
maybe trick it
create a folder in /include/include and leave it empty
dirty, but could work
Cant belive it!... I had an "include" file in the root folder, something fortran related. After removing it the script and compilation ran smoothly.
However, when I run /opt/openFrameworks/apps/d3cod3/Mosaic/bin/Mosaic the process is there but no GUI appears...
same building the debug version
Yes, just checked on the virtual machine, it seems there is some problem with MATE desktop, installing gnome3 and running a session with it open Mosaic with no problems.
I tried compiling with qtcreator too, but more of the same, run Mosaic and got stuck before any GUI appear.
So it must be something MATE related
sorry, that can't be solved for now, a quick solution for you is to install ubuntu-desktop ( gnome3 ), then open a session with that when you want to use Mosaic.
Yes, just checked on the virtual machine, it seems there is some problem with MATE desktop, installing gnome3 and running a session with it open Mosaic with no problems.
I tried compiling with qtcreator too, but more of the same, run Mosaic and got stuck before any GUI appear.
So it must be something MATE related
sorry, that can't be solved for now, a quick solution for you is to install ubuntu-desktop ( gnome3 ), then open a session with that when you want to use Mosaic.
Hmmmm, I see. Ok, I'll try that. Thank you for your support!
During the execution of the Mosaic-Installer I got this:
this was solved with:
but then I got: