-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
compile issues with nightly build #8102
Comments
Same problem with of_v20240902_linuxaarch64_release.tar.gz Testing on Ubuntu 22.04 on virtual machine UTM on Mac M1 Pro I run the download_libs.sh script then install_dependencies.sh and install_codecs.sh. Finally I run compileOF.sh and I get find: '../../../libs//include': No such file or directory .... ../../../libs/openFrameworks/utils/ofConstants.h:306:10: fatal error: tesselator.h: No such file or directory |
Github actions seems to be passing (green) even when failing,
|
Thanks @dimitre but in my case the compilation stops and no binary file is created.
|
Ran into a similar issue:
System info:
|
Hi, I fixed the issue with tessellator.h - it's due to the wrong position of libs after the download. They should be in OF/libs but I've found them in OF/libs/openFrameworksLibs_bleeding_linuxaarch64. So if you move glm, json,..., tess2 and the others to OF/libs it compiles OF. Now I've issue with compiling examples. it complains about lblas and llapack
|
I tried the other script
it compiles some examples and for others it complains about an other path
I think that in the of_v20240902_linuxaarch64_release night build or maybe even in others there are some issues with the folders structure, i checked other older night builds and I found differences. |
Hey way to go @paolo-scoppola ! You know I tried moving all of the libs from the "bleeding edge" folder directly into /libs for the armv6 nightly , and I got a different set of compile errors. Also, it looks like you're trying to compile arch linux? And since maybe its not just an armv6 issue, I think I'll change the title back to something more generic. |
Turns out I hadn't run one of he scripts called "./download_libs.sh". After I ran that, I was able to build 👍 For anybody having issues this is what I did:
|
NOTE:Remember to add "export PG_OF_PATH=/home/lgomez/shaders/openFrameworks" to bashrc/zshrc. |
Ran into another issue, after fixing the libs issue by moving the folders to the right directory as pointed out by @paolo-scoppola I ran Trying to compile Nightly on my Raspberry PI B+ V1.2 When I run ../../../libs/openFrameworks/sound/ofSoundStream.cpp: In constructor 'ofSoundStream::ofSoundStream()':
../../../libs/openFrameworks/sound/ofSoundStream.cpp:26:30: error: 'ofRtAudioSoundStream' was not declared in this scope; did you mean 'ofBaseSoundStream'?
26 | #define OF_SOUND_STREAM_TYPE ofRtAudioSoundStream
| ^~~~~~~~~~~~~~~~~~~~
../../../libs/openFrameworks/sound/ofSoundStream.cpp:181:49: note: in expansion of macro 'OF_SOUND_STREAM_TYPE'
181 | setSoundStream(std::make_shared<OF_SOUND_STREAM_TYPE>());
| ^~~~~~~~~~~~~~~~~~~~
../../../libs/openFrameworks/sound/ofSoundStream.cpp:181:70: error: no matching function for call to 'make_shared<<expression error> >()'
181 | setSoundStream(std::make_shared<OF_SOUND_STREAM_TYPE>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/12/memory:77,
from ../../../libs/openFrameworks/utils/ofConstants.h:17,
from ../../../libs/openFrameworks/sound/ofSoundBaseTypes.h:4,
from ../../../libs/openFrameworks/app/ofBaseApp.h:3,
from ../../../libs/openFrameworks/sound/ofSoundStream.h:3,
from ../../../libs/openFrameworks/sound/ofSoundStream.cpp:1:
/usr/include/c++/12/bits/shared_ptr.h:1005:5: note: candidate: 'template<class _Tp, class ... _Args> std::shared_ptr<typename std::enable_if<(! std::is_array< <template-parameter-1-1> >::value), _Tp>::type> std::make_shared(_Args&& ...)'
1005 | make_shared(_Args&&... __args)
| ^~~~~~~~~~~
/usr/include/c++/12/bits/shared_ptr.h:1005:5: note: template argument deduction/substitution failed:
../../../libs/openFrameworks/sound/ofSoundStream.cpp:181:70: error: template argument 1 is invalid
181 | setSoundStream(std::make_shared<OF_SOUND_STREAM_TYPE>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
make[1]: *** [makefileCommon/compile.core.mk:261: ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/sound/ofSoundStream.o] Error 1
make: *** [makefileCommon/compile.core.mk:233: Debug] Error 2``` |
@etlaM21 are you using nightly build? or 0.12.0 ? |
I'm trying to compile the nightly build. Should be the one from yesterday, 14.10. |
@dimitre I just tried these changes and still get the same error message. |
I think that the problem is that the target is not being properly setup by OF. There are a bunch of preprocessor directives that are setup depending on the platform, os, etc, and because of that the RTAudio is not being added to the raspi build. |
Let me look into this today, I think the best solution is to actually compile GLM headers as per spec rather than just copy from git repo as before. This way headers are placed / macros defined and copied to the spec for platform |
I think the whole install / process for RPi and Linux is a bit all over the shot at the moment though. Like really need to fix the whole install process. Confusing as f |
From forum thread here: https://forum.openframeworks.cc/t/tesselator-h-and-compiling-the-rpi-nightly-build/43856
With of_v20240901_linuxarmv6l_release, compiling with the compileOF.sh script fails with:
../../../libs/openFrameworks/utils/ofConstants.h:306:10: fatal error: tesselator.h: No such file or directory 306 | #include <tesselator.h> | ^~~~~~~~~~~~~~ compilation terminated.
Trying to compile on an RPi3B with 32-bit Bullseye, following the setup guide (which is very nicely written now and I'm finding it very easy to follow).
@dimitre thinks that maybe the libs path isn't getting included in the makefile.
The text was updated successfully, but these errors were encountered: