cuinjune / ofelia Goto Github PK
View Code? Open in Web Editor NEWA real-time cross-platform creative coding tool for multimedia development
License: GNU General Public License v3.0
A real-time cross-platform creative coding tool for multimedia development
License: GNU General Public License v3.0
Hi there,
I'm having trouble running a specific iOS-based project, I'm using the iOSExample
demo project as a template with my own Pd patch running inside.
My patch runs fine in Pd on OS X, but once it starts running on my iPhone/iPad the app will crash after a few seconds of animation. The console gets spammed with [notice ] error: stack overflow
as this happens.
I've used the iOSExample
as a template for a handful of other patches, and this is the only one that is giving me problems so I have a feeling I've done something wrong in Pd. Since it runs fine in Pd itself I'm not sure how to debug this.
The project file is over 200MB so I've attached just the patches. If you place these in the /bin/data/pd
folder of the iOSExample
project it should work. Can you tell me if you see something in my patch that would cause this stack overflow error?
Thanks,
-Chris
Hi everyone,
When trying to build ofxOfelia, I get "/home/xxx/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/glmBindings.cpp:2733:10: fatal error: glm/gtc/functions.hpp: Datei oder Verzeichnis nicht gefunden
#include <glm/gtc/functions.hpp>"
"Datei oder Verzeichnis nicht gefunden" means: file or directory not found.
I installed the libglm-dev package which I believe should be the appropriate one for Debian. But the aforementioned file is not included unfortunately. I looked around GLM's documentation and changelogs to see if there was at some point said file included, but I could not find one, except a functions.hpp which is in the gtx sub-folder, but not the gtc one..
Same with my "/home/xxx/OF/libs/glm/include/glm/" folder. My Open Frameworks version is 0.11.0.
At first I just wanted to copy that functions.hpp file to the gtc folder, but since I am not sure that it would work and in fear of messing something up, I thought I'd better ask here, if somebody has an idea how to tackle this.
I am writing some useful abstractions that makes ofelia easy to use with pd.
During this process, I found some instabilites under OSX, and no pb under Windows / Linux.
Here is an example that I tried to keep as minimal as possible, it crashed pd with two of my OSX computers 100% of the time after a few minutes and second time screen is created.
The more stack of "set:method", the quicker the crash occurs.
Tested with pd-0.50-2 / pd 0.50
Tested under OSX Mojave / OSX Catalina
Under windows10, it doesn't crash at all
Ofelia v3.1.0 from deken
Hi there,
I have been experimenting with this library for a little while and it's amazing!
I was trying to figure out how to load 3d models from .obj files today, but it doesn't seem like this feature is available yet?
If I wanted to create my own external based off of ofxAssimpModelLoader
how would I go about doing this?
Thanks!
hello,
i am exploring ofelia,
i am missing features , for my use.
i couldn't find ways to load video and camera feeds,
and glsl shaders.
is it possible?
Thanks , it works great here, on windows box.
installed via deken.
Hi Zack,
Just messing around with your 3.0. Great work!!!
Seems I am unable to send a [setPaused{ message to [ofVideoPlayer]
If I send [setPaused true{ I get:
ofelia: [string "ofRequire = require..."]:26: Error in ofVideoPlayer::setPaused (arg 2), expected 'bool' got 'string'
If I send [setPaused 1{ I get:
ofelia: [string "ofRequire = require..."]:26: Error in ofVideoPlayer::setPaused (arg 2), expected 'bool' got 'number'
Maybe there is a way to send a "bool" in a message to ofVideoPlayer that I do not know of?
Thanks!
Behind the Great Firewall of China, deken is painfully slow and not reliable. And the Ofelia package for Windows is large, will take literally at least an hour (if the connection doesn't drop in the middle).
I would like to download from github on my Linux machine (which has a vpn). But I see only ofxOfelia releases here.
How do I download Ofelia for Windows on a non-Windows machine?
Hi,
I'm very beginner with Android Studio, but I'm trying to use ofxPd addon with Android target in mind.
After some path modifications inside some libpd files (I had to modify paths inside some #include lines), I succeeded in building and running the pdExample of ofxPd (OF 11.0) with Android Studio 4.1.2 on Linux platform.
The app launches, I can hear sound and see graphical animation, but it freeses when I press the 'Recent' button, and relaunches when I go back to the app.
It seems related to ofSoundStreamSetup : If I comment this line in ofApp.cpp, I don't get any "app exit" notification from Android OS.
What did I miss ? How did you manage to create an android app with ofxOfelia ?
Thanks
FYI, I could compile ofxOfelia for android, and generate an apk, but at this point the app crashes when launched on my phone.
I'm also working on ofxPof addon and trying to build pofDroid app (https://github.com/Ant1r/ofxPof/tree/master/PofDroid) that uses opensl_stream for audio, but it doesnot work, unless I switch for ofSoundStreamSetup, and in this case I get same problem as with pdExample.
This is for ofelia tagged v3.1.0-45-g5e746c6 using openframeworks 0.10.1-198-gd4c7ec101
i've followed the instructions to compile the pure data external version of ofelia. However, i get this when trying to load ofelia in pure data:
ofelia.pd_linux load_object: Symbol "ofelia_setup" not found
I see the pure data setup function in ofxOfeliaSetup.cpp, so i'm not sure what went wrong
Hello, and thanks for this awesome project !
I manage to install ofelia through deken on mac os, but it doesn't show up on windows (win 10, and pd 0.49.1). It's actually a bit weird because I see the windows versions in the list of proposed external when I do a search on mac.
I tried to install it manually on windows eg copying files in "mypath/pd/externals" adding the path to startup but I couldn't manage to get the lib to work on windows.
I would be willing to test stuff out if necessary don't hesitate to ping me .
Hello,
Thanks for your awesome library!
Is it possible to have a getter for textureId inside ofelia to share it with gem ? (for example i want to use the syphonserver that i have written for Gem)
it would be nice if array:get has a second argument for the length of the array.
i also realized that pd likes to crash if i send lists with a length > 800 into array:set.
I wouldn't suggest doing this on windows (right now).
I've spent two days on this, without resulting in a nice .apk file :/
This is not due to ofelia, but openframeworks:
For what it's worth here's what I tried/solve:
for some reason windows directorypaths in combination with android studio breaks openframework regexes
libs/openFrameworksCompiled/project/android/common-functions.gradle
at line 179 excludeConfig.each { ex ->
def _ex = ex.replaceAll(/\*/,".+")
++ //if(folder ==~ /.*$addon\/$_ex/ ) {
++ // excluded = true
++ //}
}
C:\Users\Leon\Desktop\projects\ofx\of_v0.11.0_android_release\addons\ofxOfelia\libs\ofxLua\libs\lua\liolib.c:441:13: error: no member named 'decimal_point' in 'struct lconv'
Solution: add this to
(your_open_frameworks_dir)/ofxOfelia/libs/ofxLua/libs/lua/luaconf.h
#if defined(__ANDROID__)
#define lua_getlocaledecpoint() ('.')
#define LUA_USE_C89
#endif
To solve this, I had to upgrade gradle
AndroidExample/build.gradle
--- buildToolsVersion = "25.0.3"
+++ buildToolsVersion '28.0.2'
--- classpath 'com.android.tools.build:gradle-experimental:0.9.3'
+++ classpath 'com.android.tools.build:gradle:3.1.2'
After two days of poking around, trying different Gradle / NDK combinations I decided to leave it at this :)
I'll keep an eye on this thread, and hopefully somebody else (with more android studio experience) can get a working example going.
Hello,
after running make in macOSExternal I get the following error:
ld: unknown option: -rpath=./libs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/ofelia.pd_darwin] Error 1
make: *** [Release] Error 2
maybe i am just old school running make rather than the *.xcodeproj but it just seems much easier for me.
just wanted to send you a note a bout it.
cheers
Hi there,
When trying to build the example projects (so far I've tried the MacOSExternal
, and MacOSExample
projects using OF v0.11.0) I get a build error saying that emscripten.h
is not found (included from ofxOfeliaPdBindings.h
). I have emsdk 1.38.9 installed locally, but after trying to add the headers in the Header Search Paths of either project it threw a bunch more errors:
Could you tell me the proper version/method for including emscripten in the latest Xcode example projects? Currently I'm still trying to experiment with adding new Lua bindings to ofelia and for this I need to be able to compile ofelia.xcodeproj
.
Thank you!
Not sure if the dialog-renderer just truncated the string (it was nonresizable), or that it's a hint of an internal path-length limitation.
I looked into the externals
folder, and there was a ofelia-v3.1.0-(Windows-amd64-64)-externals.zip.zip
(note the double zip-extension).
solution: I opened the zip and moved the ofelia-folder into the externals folder. Luckily this was hinted in the console:
Hi,
I am having trouble getting ofelia to work on my chromebook with pure data 0.49. (ubuntu xenial)
Installed with deken, and ran the ubuntu/install_dependencies.sh
doing ldd ofelia.pd_linux
outputs
./ofelia.pd_linux: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./ofelia.pd_linux)
./ofelia.pd_linux: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./ofelia.pd_linux)
./ofelia.pd_linux: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by ./ofelia.pd_linux)
I understand that these are some big system libraries that are not updated enough in my version of ubuntu... is there anything I can do about this? other than try and upgrade by ubuntu? Is it possible to try and compile it myself? If so, where are the source files to be made?
Thanks!
Hi Cuinjune,
I compiled Ofelia 4.0.0 and all the examples work well.
But I have problems to run my "Game of Life" patch: https://forum.pdpatchrepo.info/topic/11826/conways-game-of-life-made-with-ofelia/3 which works well with Ofelia 3.1.0. Do you know what I have to change to make it compatible with the new Ofelia version?
The following patch, which utilizes ofImage, causes Pure Data to crash upon opening. There seems to be an issue when [loadbang] is sent to the message box containing the image name to be loaded. I'm running macOS 10.14.5, Pd-0.49-1, and ofelia 2.3.1.
I've attached the patch that causes the crash and one with a workaround. I've noticed that simply adding a [delay 1] object before the message box will fix the crash.
Sidenote:
This is an isolated version of a larger patch. In the larger patch, a number box would increase by 1 when receiving a particular MIDI command. This number box was connected to a variety of [select] objects increasing sequentially (like: [select 1] [select 2] [select 3] etc...). These [select] objects were connected to a variety of message boxes to load various images and were used to change which image ofelia displayed. Thus I was able to toggle through images by pressing a MIDI note. On patch load, a [loadbang] objects was set up to send a "1" and trigger the first image, which is how this problem started and I since isolated it.
Hi! I am trying create ofMesh object and fill it with vertices.
I am writing in onSetup section:
mesh = ofMesh();
mesh:setMode(OF_PRIMITIVE_LINES);
In ofUpdate section:
mesh:clear()
mesh:addVertex(ofVec3f(0,0,0));
And I got this error:
- ofelia: [string "package.preload['__.x2687c30.c'] = nil packag..."]:4: Error in Mesh_addVertex (arg 2), expected 'ofDefaultNormalType *|ofDefaultVertexType *|glm::vec3 *' got 'ofPoint *|ofVec3f *'
also if I try writing:
mesh:addColor(ofColor(255));
error:
- ofelia: [string "package.preload['__.x2687610.c'] = nil packag..."]:4: Error in Mesh_addColor (arg 2), expected 'ofDefaultColorType *|ofColor_< float > *|ofFloatColor *' got 'ofColor_< unsigned char > *|ofColor *'
It say what I give wrong type of argument, but I do as in the openFrameworks documentation.
can we expect a binary release for Debian/buster?
the problem being, that the ofelia releases link to some outdated libraries (libglew2.0, libboost-filesystem1.65.1, libboost-system1.65.1), which are no longer available in Debian/buster.
afaict, this also affects users of Ubuntu/disco (19.04) and onwards.
(my filesystem is full of devtools, but i'm somewhat reluctant to install the full OF sdk for playing around)
hi cuinjune,
i managed to compile ofelia with additional addons for linux without any issues. but when i want to compile with the same steps for windows, the addons are not recognized. "addon".h not found (in ofxOfeliaPdBindings.h). while compiling ofelia for windows without additional addons works well.
here is the example: https://github.com/Jonathhhan/volumetrics_anaglyph_example_ofelia
any idea what could be the compiling issue?
kind regards, jonathan
ofToString function is returning a list of audio drivers, when openframeworks documentation say that it should "Convert a value to a string."
On OSX and Windows10, here is the results of conversion from 1 to 10:
Unkown API
Alsa
Pulse
OSS
Jack
OSX Core Audio
MS WASAPI
MS ASIO
MS DirectShow
Unkown API
Hi Cuinjune,
it seems ofFbo() does not work in an Ofelia standalone app (tried linux and windows), while it works with PD and Openframeworks (with my setup).
Kind regards, Jonathan
Hi Zack,
Using your fingers.mov example file I am unable to setFrame by sending a [setFrame $1{ message to ofVideoPlayer.
All numbers sent greater than 76 return a -infinity
print: getCurrentFrame -2.14748e+09
If I send a [setFrame 75{ I get:
print: getCurrentFrame 1
If I send a [setFrame 75{ I get:
print: getCurrentFrame 1
kind of weird. not sure whats going on. is there something im missing here maybe?
Thanks!
I'm running Purr Data version 2.9.0 20190507-rev.22573662 on Ubuntu 19.04 and the library fails to load. Specifically the [ofelia] object doesn't load. All of the other objects/abstractions do load. In Pd Vanilla the [ofelia] object does load.
It seems I have the opposite problem as in issue #38.
I'm on Ubuntu 18.04, which supplies libglew2.0.
Ofelia 4.0 expects libglew2.1.
While I don't plan on remaining on Ubuntu 18 forever, upgrading the entire distribution is a rather invasive operation with a risk of downtime in case of failure (and I've never had a completely static-free OS upgrade). In the middle of the semester, I can't afford any downtime. I could do it in January after the semester ends.
So I'm curious what solutions are available short of upgrading Ubuntu. It seems building it myself might be feasible (which I think I can handle).
I realize this is a bit of a catch-22 -- if you rely on the older library, then rapid-upgraders are upset; after updating your dependency, then users who are not in a position to immediately upgrade the OS are upset. I realize I'm behind the curve, so I'm not asking you to change the dependency -- looking for workarounds.
Thanks.
There's a way to customize log messages in pd console with [ofelia] object?
The intention is produce log error messages in pd console, in red color, like described in the session "Log messages and error" in pd-Lua intro by agraef
Thanks!
Hi Cuinjune,
the pd.Array's setTable() function for setting Pure Data tables seems to only resize and not to set the table on Windows OS.
hi cuinjune,
with the newest emscripten 1.39.1 i get this compile error with the ofelia emscripten example on ubuntu 18.04:
/home/jonathan/Schreibtisch/of_v20191108_linux64gcc6_release/addons/ofxOfelia/libs/ofxLua/src/bindings/glmBindings.cpp:2733:10: fatal error:
'glm/gtc/functions.hpp' file not found
#include <glm/gtc/functions.hpp>
while it is possible to compile the open frameworks examples.
the strange thing is the ofelia example was working before. but also downgrading emscripten to sdk-1.38.20-64bit did not work.
edit: actually i get the same error with the linux example, so it is not emscripten specific.
Hi Cuinjune,
I experienced that on Windows the pitch is twice as high and the metro is twice as fast compared to Linux, if I run an Emscripten patch in the Browser.
Hi! I only start learning ofelia and openframeworks and I faced such problem: ofEasyCam and ofCamera classes are empty. It is available as tables with no content. Or I doing something wrong? A reasonable question arises: the camera is a very important part of working with 3D content. How can I control the position of the viewer and its properties (such as aperture etc..) in Ophelia? Thank you!
Hi there!
I'm trying to run ofelia 3.1.0 installed from decken on puredata 0.50.2 and Ubuntu 20.04. At some point of ofelia/scripts/ubuntu/install_dependencies.sh I get:
Installing libopencv-dev
E: Unable to correct problems, you have held broken packages.
error installing libopencv-dev
Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libopencv-dev : Depends: libopencv-calib3d-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-contrib-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-features2d-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-highgui-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-objdetect-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-stitching-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-superres-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-videoio-dev (= 4.2.0+dfsg-5) but it is not going to be installed Depends: libopencv-videostab-dev (= 4.2.0+dfsg-5) but it is not going to be installed
this seems an error with your distribution repositories but you can also
report an issue in the openFrameworks github: http://github.com/openframeworks/openFrameworks/issues
I did try to manually apt install these dependencies and their dependencies, by issuing
sudo apt install libopencv-calib3d-dev libopencv-contrib-dev libopencv-features2d-dev libopencv-highgui-dev libopencv-objdetect-dev libopencv-stitching-dev libopencv-superres-dev libopencv-videoio-dev libopencv-videostab-dev libavresample-dev libswscale-dev
but I got
The following packages have unmet dependencies:
libavresample-dev : Depends: libavutil-dev (= 7:4.2.4-1ubuntu0.1) but 7:4.3-2~18.04.york0 is to be installed
Depends: libavresample4 (= 7:4.2.4-1ubuntu0.1) but 7:4.3-2~18.04.york0 is to be installed
libswscale-dev : Depends: libavutil-dev (= 7:4.2.4-1ubuntu0.1) but 7:4.3-2~18.04.york0 is to be installed
Depends: libswscale5 (= 7:4.2.4-1ubuntu0.1) but 7:4.3-2~18.04.york0 is to be installed
E: Unable to correct problems, you have held broken packages.
so I figured I should ask for help instead of downgrading many package versions on my system (without any a priori guarantee of success).
Thanks!
Marcelo
when i try to run the ascii video example with the newest version (2.3.1) i get this error message:
: ofPixels: format doesn't support channels
: returning color not supported yet for UNKOWN format
Hi Cuinjune,
I can call an Ofelia Lua function from ofApp.cpp like that:
lua_getglobal(ofxOfeliaLua::L, "function_4");
lua_call(ofxOfeliaLua::L, 0, 0);
It just does not return anything to the outlet of the Ofelia object.
Is there a way to change that?
Kind regards, Jonathan
ofSystemTextBoxDialog() and ofSystemAlertDialog() functions crashes after hiting Ok or Cancel under OSX.
ofSystemLoadDialog() and ofSystemSaveDialog() functions freezes after opening the dialog and hiting cancel button.
Works well under Windows10
pd-O.50.2
OSX 10.15.4
ofToBool return always "false" on windows systems.
Tested with ofelia V4.0.0 and windows10 64bit.
It's a very handy function and I am using a lot in this series of abstraction: https://github.com/60-hz/Ofelia-Fast-Prototyping
following the install instructions, and after running
ofelia/scripts/arch_linux/install_dependencies.sh
when i try to initiate [ofelia] i get the following error
/home/user/pd/externals/ofelia/ofelia.pd_linux: libGLEW.so.2.0: cannot open shared object file: No such file or directory
mm... i see
i had to install the specific 2.0 version of glew, they coexist.
yay glew2.0
fixed that one
$ ldconfig -p | grep libGLEW
libGLEW.so.2.1 (libc6,x86-64) => /usr/lib/libGLEW.so.2.1
libGLEW.so.2.0 (libc6,x86-64) => /usr/lib/libGLEW.so.2.0
libGLEW.so (libc6,x86-64) => /usr/lib/libGLEW.so
i'm running mesa driver on an x230 laptop
Hey :)
Is there any documentation about installation on Raspbian?
I'm running into some issues that look similar to what was described in this thread.
Here's where I'm at so far : I've installed the package via PD, and used the install_dependencies script present in the Debian distro folder.
Ofelia is missing in all examples installed. I can't find ofelia.pd_linux to check if other specific elements are missing.
Alternatively, any tip on a working Rpi 3B+ configuration other than Raspbian Stretch (can't downgrade to Jessie) wiil be helpful.
Thanks !
The list of global functions includes:
ofxCvFloatImage ofxOpenCv/ofxCvFloatImage
ofxCvImage ofxOpenCv/ofxCvImage
ofxCvContourFinder ofxOpenCv/ofxCvContourFinder
ofxCvGrayscaleImage ofxOpenCv/ofxCvGrayscaleImage
ofxCvShortImage ofxOpenCv/ofxCvShortImage
ofxCvBlob ofxOpenCv/ofxCvBlob
ofxCvColorImage ofxOpenCv/ofxCvColorImage
ofxCvHaarFinder ofxOpenCv/ofxCvHaarFinder
But: "attempt to call a nil value (global 'ofxCvColorImage')"
Is this add-on-able? (What if I wanted it for a classroom full of students on both Mac and Windows...?)
Hello,
after running make in macOSExternal I get the following error:
ld: unknown option: -rpath=./libs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/ofelia.pd_darwin] Error 1
make: *** [Release] Error 2
maybe i am just old school running make rather than the *.xcodeproj but it just seems much easier for me.
just wanted to send you a note a bout it.
cheers
icosahedron primitive is missing in ofMesh
https://openframeworks.cc/documentation/3d/ofMesh/#!show_icosahedron
Hey, cuinjune,
first of all, thanks fro this awesome project!!!
Trying to compile the EmscriptenExample on mac Catalina I get the error:
invalid argument '-std=c++14' not allowed with 'C'
any suggestions, anyone?
Thx
If I use the function setUniform1fv to pass an array of floats to a shader I get this error:
Error in ofShader::setUniform1fv (arg 3), expected 'float const *' got 'table'
This probably happens because in the Lua script I define the float array as a table:
a = {}
a[1] = 2.0
a[2] = 4.0
Is there a way to pass the right variable type?
Duplicated the videoPlayerExample to edit. When I click on [ofelia] object, make a change to the lua script (simple change such as modifying of.background color and then save (on mac command + s) the background color changes as expected and then Pd crashes.
I assume we can edit lua scripts in real-time?
Anyway attached is the crash report.
Thanks for all the great work btw!
Following setup guides, but getting errors like this:
/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/libs/ofxLua/src/bindings/linuxarm/ofBindings.cpp: In function ‘int _wrap_CylinderPrimitive_getTopCapIndices(lua_State*)’:
/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/libs/ofxLua/src/bindings/linuxarm/ofBindings.cpp:16155:66: error: no match for ‘operator=’ (operand types are ‘SwigValueWrapper<std::vector<short unsigned int> >’ and ‘std::vector<unsigned int>’)
result = ((ofCylinderPrimitive const *)arg1)->getTopCapIndices(); {
and
/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/libs/ofxLua/src/bindings/linuxarm/ofBindings.cpp: In function ‘int _wrap_CylinderPrimitive_getCylinderIndices(lua_State*)’:
/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/libs/ofxLua/src/bindings/linuxarm/ofBindings.cpp:16174:68: error: no match for ‘operator=’ (operand types are ‘SwigValueWrapper<std::vector<short unsigned int> >’ and ‘std::vector<unsigned int>’)
result = ((ofCylinderPrimitive const *)arg1)->getCylinderIndices(); {
make
finally errors out with :
/home/ali/Documents/Development/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:298: recipe for target '/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/LinuxExternal/obj/linuxarmv7l/Release/addons/ofxLua/src/bindings/linuxarm/ofBindings.o' failed
make[1]: *** [/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/LinuxExternal/obj/linuxarmv7l/Release/addons/ofxLua/src/bindings/linuxarm/ofBindings.o] Error 1
make[1]: Leaving directory '/home/ali/Documents/Development/openFrameworks/addons/ofxOfelia/LinuxExternal'
/home/ali/Documents/Development/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:124: recipe for target 'Release' failed
make: *** [Release] Error 2
home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45679:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (arg1) (arg1)->timeoutSeconds = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; }
^~~~~~
/home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_HttpResponse_status_set(lua_State*)’:
/home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45842:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (arg1) (arg1)->status = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; }
^~
/home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45842:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (arg1) (arg1)->status = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; }
^~~~~~
/home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp: At global scope:
/home/s***/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:15364:12: warning: ‘int _wrap_3dPrimitive_draw(lua_State*)’ defined but not used [-Wunused-function]
static int _wrap_3dPrimitive_draw(lua_State* L) { int SWIG_arg = 0; of3dPrimitive arg1 = (of3dPrimitive ) 0 ;
^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/home/s*/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:354: /home/s***/of-workspace/addons/obj/linux64/Release/ofxLua/src/bindings/desktop/ofBindings.o] Error 1
make[1]: Leaving directory '/home/shank/of-workspace/addons/ofxOfelia/Linux64External'
make: *** [/home/s***/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
I'm start learning ofelia and and I came across the following behavior, initializing an array with ofArray in ofelia pd object I can't reduce the size of the array. See image below:
And if I open another patch with diferent ofelia object name with the same variable name, the biggest array size persist:
I don't know if its a expected behavior.. Or is there another way to do that I didn't get..
These are the patches: resetArraysIssuePatches.zip
Thanks!
Pd 0.51 - OSx 10.13.6 High Sierra - Ofelia v3.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.