Skip to content

Instantly share code, notes, and snippets.

View danzeeeman's full-sized avatar

Dan Moore danzeeeman

View GitHub Profile
I/REMOVE BEFORE COMMIT(30873): OFAndroidViewGrabber getInstance: 0
I/REMOVE BEFORE COMMIT(30873): OFAndroidViewGrabber initGrabber: w: 320 h: 240 targetFPS: -1
I/REMOVE BEFORE COMMIT(30873): OFAndroidViewGrabber else:
W/InputMethodManagerService( 306): Got RemoteException sending setActive(false) notification to pid 30773 uid 10077
V/OF (30873): Camera 0 facing: 0
V/OF (30873): Camera 1 facing: 1
I/CameraService( 126): Opening camera 0
I/CameraHAL( 126): camera_device open
I/ActivityManager( 306): Displayed cc.openframeworks.androidCameraExample/.OFActivity: +478ms
I/AwesomePlayer( 126): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
D/AndroidRuntime(12902): Shutting down VM
W/dalvikvm(12902): threadid=1: thread exiting with uncaught exception (group=0x40a621f8)
E/AndroidRuntime(12902): FATAL EXCEPTION: main
E/AndroidRuntime(12902): java.lang.RuntimeException: Method called after release()
E/AndroidRuntime(12902): at android.hardware.Camera.setPreviewDisplay(Native Method)
E/AndroidRuntime(12902): at android.hardware.Camera.setPreviewDisplay(Camera.java:405)
E/AndroidRuntime(12902): at cc.openframeworks.OFAndroidVideoGrabber$CameraPreview.surfaceCreated(OFAndroidVideoGrabber.java:351)
E/AndroidRuntime(12902): at android.view.SurfaceView.updateWindow(SurfaceView.java:533)
E/AndroidRuntime(12902): at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:226)
E/AndroidRuntime(12902): at android.view.View.dispatchWindowVisibilityChanged(View.java:5839)
---PROJECT_ADDONS---
ofxRaspberryPi
--------------------
linking bin/soundPlayerExample for linuxarmv6l
mkdir -p bin
g++ -o bin/soundPlayerExample obj/Linuxarmv6lRelease/src/testApp.o obj/Linuxarmv6lRelease/src/main.o -Wl,-rpath=./libs -L../../../libs/freetype/lib/linuxarmv6l -L../../../libs/kiss/lib/linuxarmv6l -L../../../libs/poco/lib/linuxarmv6l -L../../../libs/tess2/lib/linuxarmv6l -L/opt/vc/lib ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a -ludev -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lGLESv2 -lEGL -lfreeimage -lportaudio ../../../libs/freetype/lib/linuxarmv6l/libfreetype.a ../../../libs/kiss/lib/linuxarmv6l/libkiss.a ../../../libs/tess2/lib/linuxarmv6l/libtess2.a ../../../libs/poco/lib/linuxarmv6l/libPocoNet.a ../../../libs/poco/lib/linuxarmv6l/libPocoXML.a ../../../libs/poco/lib/linuxarmv6l/libPocoUtil.a ../../../libs/poco/lib/linuxarmv6l/libPocoFoundation.a -pthread -lcairo -lz -lgstapp-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.
@danzeeeman
danzeeeman / gist:4526448
Created January 13, 2013 22:06
Build Error from openframeworks develop
ake DebugAndroid
compiling object for ../../../openFrameworks/3d/of3dUtils.cpp
mkdir -p obj/DebugAndroid/openFrameworks/3d
~/android-ndk-r8d//toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++ -g3 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -nostdlib --sysroot=~/android-ndk-r8d//platforms/android-8/arch-arm/ -fno-short-enums -frtti -fexceptions -I"~/android-ndk-r8d//platforms/android-8/arch-arm/usr/include/" -I"~/android-ndk-r8d//sources/cxx-stl/gnu-libstdc++/include" -I"~/android-ndk-r8d//sources/cxx-stl/gnu-libstdc++/4.6/include" -I"~/android-ndk-r8d//sources/cxx-stl/gnu-libstdc++/libs/armeabi/include" -I"~/android-ndk-r8d//sources/crystax/include/" -I"~/android-ndk-r8d//sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/include" -DANDROID -Wall -fexceptions -I../../../FreeImage/include -I../../../assimp/include -I../../../assimp/include/Compiler -I../../../cairo/include -I../../../cairo/include/cairo -I../../../cairo/include/libpng15 -I../../../cairo/include/pixman-1
@danzeeeman
danzeeeman / vine-notes.md
Last active December 12, 2015 03:08
My notes on Vine

##My Notes on Vine

Vine is an iOS only application that lets you shoot, edit, and upload a short 6 second clip. You can search twitter to find vines using the twitter api:search 'http://search.twitter.com/search.json?q=vine&since_id=MAX_ID' you'll get something like this (but with 15 results):

{
	   "completed_in" : 0.0110,
	   "max_id" : 2.982193446625239e+17,
	   "max_id_str" : "298219344662523904",
	   "next_page" : "?page=2&max_id=298219344662523904&q=vine",

"page" : 1,

void testApp::update(){
fingerMovie.update();
if(!fingerMovie.isPlaying()){
cout<<"video not playing"<<endl;
}
}
From https://github.com/openframeworks/openFrameworks
* branch develop -> FETCH_HEAD
warning: Cannot merge binary files: libs/poco/lib/win_cb/libPocoXML.a (HEAD vs. 35c81801047ea28175f6273bf512887214cdb074)
warning: Cannot merge binary files: libs/poco/lib/win_cb/libPocoUtil.a (HEAD vs. 35c81801047ea28175f6273bf512887214cdb074)
warning: Cannot merge binary files: libs/poco/lib/win_cb/libPocoNet.a (HEAD vs. 35c81801047ea28175f6273bf512887214cdb074)
warning: Cannot merge binary files: libs/poco/lib/win_cb/libPocoFoundation.a (HEAD vs. 35c81801047ea28175f6273bf512887214cdb074)
Auto-merging libs/poco/lib/win_cb/libPocoXML.a
CONFLICT (content): Merge conflict in libs/poco/lib/win_cb/libPocoXML.a
Auto-merging libs/poco/lib/win_cb/libPocoUtil.a
CONFLICT (content): Merge conflict in libs/poco/lib/win_cb/libPocoUtil.a
@danzeeeman
danzeeeman / oF 0.7.4 release notes
Created February 10, 2013 00:51
Since pirate pad is down I'm putting this here for now.
---------------------------------------------------------------------------------------------------------------------
OF 0.7.4 changelog:
change key:
+ added
- removed
/ modified
---------------------------------------------------------------------------------------------------------------------
DEPRECATIONS & REMOVALS
1> openframeworksLib.vcxproj -> C:\Users\Al\Documents\GitHub\openFrameworks\libs\openFrameworksCompiled\project\vs2010\..\..\lib\vs2010\openframeworksLibDebug.lib
2>------ Build started: Project: imageCapture, Configuration: Debug Win32 ------
2> testApp.cpp
2>c:\users\al\documents\github\openframeworks\libs\openframeworks\types\ofparameter.h(63): error C2872: 'enable_if' : ambiguous symbol
2> could be 'c:\users\al\documents\github\openframeworks\libs\openframeworks\types\ofparameter.h(58) : enable_if'
2> or 'c:\program files (x86)\microsoft visual studio 10.0\vc\include\type_traits(975) : std::tr1::enable_if'
2>c:\users\al\documents\github\openframeworks\libs\openframeworks\types\ofparameter.h(63): error C2872: 'enable_if' : ambiguous symbol
2> could be 'c:\users\al\documents\github\openframeworks\libs\openframeworks\types\ofparameter.h(58) : enable_if'
2> or 'c:\program files (x86)\microsoft visual studio 10.0\vc\include\type_traits(975) : std::tr1::enable_i
03-22 22:34:22.875: I/LULZ HAXOR(28153): action 6 0.266667
03-22 22:34:22.875: I/LULZ HAXOR(28153): action 2 0.266667
03-22 22:34:22.875: I/LULZ HAXOR(28153): action 2 0.266667
03-22 22:34:22.875: I/LULZ HAXOR(28153): action 5 0.333333
03-22 22:34:22.885: I/LULZ HAXOR(28153): action 6 0.333333
03-22 22:34:22.896: I/LULZ HAXOR(28153): action 2 0.200000
03-22 22:34:22.896: I/LULZ HAXOR(28153): action 1 0.200000
03-22 22:34:22.976: I/LULZ HAXOR(28153): action 0 0.333333
03-22 22:34:22.996: I/LULZ HAXOR(28153): action 2 0.333333
03-22 22:34:23.016: I/LULZ HAXOR(28153): action 2 0.333333