Coder Social home page Coder Social logo

ofxsquashbuddies's People

Contributors

elliotwoods avatar satoruhiga avatar tobiasebsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ofxsquashbuddies's Issues

dyld: Library not loaded:

dyld: Library not loaded: /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/brieflz/libsquash0.8-plugin-brieflz.dylib
  Referenced from: /Volumes/BORG/....../Sketches/exampleReceivePixels/bin/SquashBuddiesDebug.app/Contents/MacOS/SquashBuddiesDebug

When search paths have been set up properly it crashes after successfully compiled. I'm assuming these hard coded paths aren't supposed to be here.
That aside though, are all these dynlibs supposed to be required and included inside Xcode, i.e. the fact that they are in a bin folder should not be understood to mean they are supposed to go inside the oF bin folder right?

dylib links

when I compile this I get some dylib warnings and the plugins don't load (on OSX). If I use otool, I see this:

otool -L /Users/zachlieberman/Desktop/OF_0.9.0/addons/ofxSquashBuddies/exampleSendPixels/bin/exampleSendDebug.app/Contents/MacOS/exampleSendDebug

I see normal stuff and then these paths:

/Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/brieflz/libsquash0.8-plugin-brieflz.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/brotli/libsquash0.8-plugin-brotli.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/bsc/libsquash0.8-plugin-bsc.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/bzip2/libsquash0.8-plugin-bzip2.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/copy/libsquash0.8-plugin-copy.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/crush/libsquash0.8-plugin-crush.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/density/libsquash0.8-plugin-density.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/fari/libsquash0.8-plugin-fari.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/fastlz/libsquash0.8-plugin-fastlz.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/gipfeli/libsquash0.8-plugin-gipfeli.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/heatshrink/libsquash0.8-plugin-heatshrink.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/libdeflate/libsquash0.8-plugin-libdeflate.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lz4/libsquash0.8-plugin-lz4.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzf/libsquash0.8-plugin-lzf.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzg/libsquash0.8-plugin-lzg.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzham/libsquash0.8-plugin-lzham.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzjb/libsquash0.8-plugin-lzjb.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzma/libsquash0.8-plugin-lzma.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/lzo/libsquash0.8-plugin-lzo.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/miniz/libsquash0.8-plugin-miniz.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/ms-compress/libsquash0.8-plugin-ms-compress.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/ncompress/libsquash0.8-plugin-ncompress.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/quicklz/libsquash0.8-plugin-quicklz.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/snappy/libsquash0.8-plugin-snappy.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/wflz/libsquash0.8-plugin-wflz.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/yalz77/libsquash0.8-plugin-yalz77.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/zlib/libsquash0.8-plugin-zlib.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/zlib-ng/libsquash0.8-plugin-zlib-ng.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/zling/libsquash0.8-plugin-zling.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/zpaq/libsquash0.8-plugin-zpaq.dylib (compatibility version 0.0.0, current version 0.0.0)
    /Users/satoruhiga/Documents/openFrameworks/of_v0.9.0_osx_release/addons/ofxSquash/build/squash/build/plugins/zstd/libsquash0.8-plugin-zstd.dylib (compatibility version 0.0.0, current version 0.0.0)

I'm not sure where the refs to @satoruhiga's drive comes from.... (if it's helpful, you can use install_name_tool in a script the build phase to change these to make them relative to the app, etc. http://qin.laya.com/tech_coding_help/dylib_linking.html)

I did move the plugins to next to the data folder but no luck...

Dropped frames on localhost

This is not really an issue but a really strange behavior that I'm seeing.
I'm trying to debug a slowdown that I have over time when sending kinect data (users' point cloud positions and colors).
I noticed that even when the sender and receiver are running on the same machine I'm still getting dropped frames. Also noticed that over time the frequency of dropped frames increases (after about an hour with a lot of data).
I was running the tests with a few different codecs including: density, lz4, and copy (no compression) and got the same result.

Is this normal? Do you have any idea what can be the cause or where to look?
Thanks!

Incompatibilities with ofxKinect (visual studio)

Hi,

I'm trying to add ofxKinect to one of the examples (exampleLoopback) to use the kinect instead of a webcam.

Initially, I managed to compile the example in both relese and debug configurations but when I add ofxKinect the project will only compile in debug. Trying to compile in release triggers this error:
Error C1047 The object or library file '..\..\..\addons\ofxKinect\libs\libusb\lib\vs\x64\libusb-1.0.lib' was created with an older compiler than other objects; rebuild old objects and libraries

I've managed to compile other projects using ofxKinect in release mode without problems, the problem comes when trying to use these two addons together.

My environment is Windows 10, oF 0.10.1, Visual Studio 2017. These are the steps I followed to create the solution (x64):

  • Use projectGenerator, only add ofxKinect and ofxSquashBuddies
  • Add projects ofxAsioLib and ofxSquashLib to solution
  • Add ofxAsio.props to ofxAsioLib and exampleLoopback
  • Add ofxSquash.props to ofxSquashLib and exampleLoopback
  • Add references

I'm not very experienced with visual studio and can't figure out what the problem is, it would be super helpful if someone could share a fix or point me into the right direction.

Thanks!

Feature : EndPoint filtering

If (by accident) 2 senders are sending to the same receiver, we want to make sure we don't muddle the packets.

  • A FrameBuffer should know which EndPoint it is associated with
  • bool FrameBufferSet::isExpired(uint32_t frameIndex) const; should handle EndPoint also (perhaps rename to isValuablePacket)

Infinite hang on Receiver::close() on macOS

Hey Elliot,

Noticed an issue on macOS which seems to cause a hang on close.

Note: it only seems to hang if data isn't being sent to the port bound. If there is data coming it it closes as expected. However if no data has ever come in or if data has come in but stops coming in and you call Receiver::close() it hangs at this point:

(Ignore the SIGSTOP in the screengrab that was just from pausing the app )

image

Here is a minimally reproducible example for macOS.
Hitting 1 or 2 will cause the app to hang at the point above.

//--------------------------------------------------------------
void ofApp::setup(){
  
    rx = make_shared<ofxSquashBuddies::Receiver>();
    rx->init(5550);
}

//--------------------------------------------------------------
void ofApp::update(){

    if( rx ){
        rx->update();
        if( ofGetKeyPressed( '1' )){
            rx->close();
        }
        if( ofGetKeyPressed( '2' )){
            rx.reset();
        }
    }
    
}

Here are the states of the related threads:

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.