Comments (16)
TODO
- build a 32bit version of Gem on OSX-10.9
- build a 64bit/linux version using
clang++
from gem.
there is a new gem::any
implementation (originally submitted in the master
branch, but now retracted to the any
branch as
- it needs much more testing
- is likely to break each and every pre-compiled plugin
from gem.
so i did some further tests, and it seems that:
- 32bit binaries on OSX/mavericks work with the original
any.h
implementation - using
clang++
on linux/64 produces a working binary with the originalany.h
implementation
$ clang++ --version
Debian clang version 3.5.0-svn213451-1 (trunk) (based on LLVM 3.5.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
so this leaves us with only OSX/64bit (which versions?) that do not work
from gem.
seems that the hack in commit 5d93cf9 fixed this issue (or rather: worked around it)
from gem.
the workaround in 5d93cf9 doesn't work
At least, building Gem from that point on 10.10.1 doesn't work.
So I think we should reopen this and mark #92 as duplicate
from gem.
could you please provide the full compiler specs?
from gem.
$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
NOTE : by merging master into any (see https://github.com/avilleret/Gem/tree/any)
I'm able to build 32bit and 64bit with working Pixes
from gem.
good to know that the any
branch got this working.
i'm not entirely sure about the reasons why i decided to not merge it back-then (probably to keep binary compatibility)
from gem.
checking the logs, it seems that i actually reverted these changes back then...there must be a reason for this
from gem.
I saw that, but don't understand the reason
afair, you revert with note "need more testing"
then I do, it seems to work , at least more than master :-)
from gem.
Pd crashes when loading pix_film
I'll do more testing later...
from gem.
here is a backtrace : https://gist.github.com/avilleret/bcefe62e4ee6a72cbffa
to reproduce, build Gem 64bit from https://github.com/avilleret/Gem/tree/any and then open Pd and load Gem, make a new patch, add a pix_film
object, pd crashes here
from gem.
ubuntu 64bit also suffer form this issue, here is a bactrace :
https://gist.github.com/avilleret/b555a73245571c74dd56
from gem.
which probably explains why i reverted the changes...
from gem.
with a fresh build from 5a11cfb
on macos Sierra 10.12.6 (running in VirtualBox)
and the following patch :
diff --git a/src/Pixes/pix_noise.cpp b/src/Pixes/pix_noise.cpp
index 151a98d..6681c3a 100644
--- a/src/Pixes/pix_noise.cpp
+++ b/src/Pixes/pix_noise.cpp
@@ -78,6 +78,15 @@ void pix_noise :: render(GemState *state)
generateNoise();
}
state->set(GemState::_PIX,&m_pixBlock);
+
+ pixBlock pix;
+ pixBlock*pixPtr=&pix;
+ GemState _state;
+ _state.set(GemState::_PIX, pixPtr) ;
+ if(!_state.get(GemState::_PIX, pixPtr))
+ error("oops");
+ else
+ post("ok dude, eveything's fine !");
}
and the following g++
$ g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
and I got lots of
ok dude, eveything's fine !
in the Pd console.
So my guess is that everything is working.
If you need some more test, let me know.
from gem.
great. let's assume the problem has been fixed :-)
from gem.
Related Issues (20)
- default rendering backend is not working, and gemglfw3window is not compiled by default HOT 3
- Compilation issues with new model loader HOT 6
- gemhead abstraction is not used, and the compiled object behaviors changed. HOT 2
- PD's not able to create GEM objects HOT 18
- Single buffer issues HOT 7
- 'film' plugin does not load HOT 2
- Force rendering on gemhead not working HOT 3
- [gemkeyboard] keycodes HOT 2
- YUV420p->RGBA conversion is broken HOT 11
- [pix_buffer_filmopen] argument issues
- [pix_film_buffer] as [pix_film] alternative HOT 1
- [pix_buffer_filmopen] show same frame
- [pix_film] don't detect last frame
- [model] crash after windows re-creation HOT 1
- pix_offset doesn't wrap values as help says HOT 4
- postrender is executed a bit early, when associated with triggers HOT 9
- multisample framebuffer
- compute shader
- gemwin no longer accept argument for the X server to use HOT 6
- FSAA message did not work with gemglxwindow HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gem.