Skip to content

Instantly share code, notes, and snippets.

View kalwalt's full-sized avatar
⛰️
Working on the mountains!

Walter Perdan kalwalt

⛰️
Working on the mountains!
View GitHub Profile
@kalwalt
kalwalt / log of install_dependencies.sh
Created April 6, 2013 22:19
log of install dependencies script under new elinuxGLFW branch
walter@walter-desktop:~/OF-glfwelinux/openFrameworks/scripts/linux/ubuntu$ sudo ./install_dependencies.sh
[sudo] password for walter:
Trovato http://ports.ubuntu.com precise Release.gpg
Trovato http://ports.ubuntu.com precise-updates Release.gpg
Trovato http://ports.ubuntu.com precise-security Release.gpg
Trovato http://ppa.launchpad.net precise Release.gpg
Trovato http://ports.ubuntu.com precise Release
Trovato http://ppa.launchpad.net precise Release
Trovato http://ports.ubuntu.com precise-updates Release
Trovato http://ports.ubuntu.com precise-security Release
@kalwalt
kalwalt / log 070413-15:53
Created April 7, 2013 13:53
this log is from elinuxProgrammableGLFW arturo branch ( based on develop branch)
walter@walter-desktop:~/OF/openFrameworks/scripts/linux$ sudo ./compileOF.sh
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Compiling ../../../libs/openFrameworks/app/ofAppEGLWindow.cpp
mkdir -p ../../../libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Debug/libs/openFrameworks/app
g++ -g3 -Wall -fexceptions -march=armv7 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -I../../../libs/cairo/include -I../../../libs/cairo/include/pixman-1 -I../../../libs/cairo/include/cairo -I../../../libs/cairo/include/libpng15 -I../../../libs/fmodex/include -I../../../libs/glfw/include -I../../../libs/glfw/include/GL -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/portaudio/include -I../../../libs/rtAudio/include -I../../../libs/tess2/in
@kalwalt
kalwalt / log220413
Created April 22, 2013 12:44
emscripten issue with BananaBread
walter@walter-RC530-RC730:~/BananaBread/cube2/src/web$ make
/home/walter/emscripten/emscripten/emmake make -C enet/ all
make[1]: ingresso nella directory "/home/walter/BananaBread/cube2/src/web/enet"
/bin/bash ./libtool --tag=CC --mode=link /home/walter/emscripten/emscripten/emcc -version-info 1:3:0 -o libenet.la -rpath /usr/local/lib callbacks.lo compress.lo host.lo list.lo packet.lo peer.lo protocol.lo unix.lo win32.lo
libtool: link: /home/walter/emscripten/emscripten/emar cru .libs/libenet.a callbacks.o compress.o host.o list.o packet.o peer.o protocol.o unix.o win32.o
Traceback (most recent call last):
File "/home/walter/emscripten/emscripten/emar", line 23, in <module>
subprocess.call(newargs)
File "/usr/lib/python2.7/subprocess.py", line 493, in call
return Popen(*popenargs, **kwargs).wait()
1>------ Inizio compilazione: Progetto: ImpBT, Configurazione: Debug Win32 ------
1> stdafx.cpp
1> ImpBTDLL.cpp
1>c:\program files (x86)\grome 3\sdk\grome\public\engine\types\t_char.h(47): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string.h(283): vedere la dichiarazione di 'wcscpy'
1>c:\program files (x86)\grome 3\sdk\grome\public\engine\types\t_char.h(49): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string.h(306): vedere la dichiarazione di 'wcsncpy'
1>c:\program files (x86)\grome 3\sdk\grome\public\engine\types\t_char.h(51): warning C4996: 'wcscat': This function or variable may be unsa
(gdb) run
Starting program: /home/walter/OF-glfwelinux/openFrameworks/examples/gl/multiTextureShaderExample/bin/multiTextureShaderExample
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[ofAppEGLWindow::createSurface:notice] Setting up EGL Display
PVR:(Warning): LoadWSModule: Window system module libpvrws_KMS.so did not validate native display [98, /generic_ws.c]
PVR:(Warning): LoadWSModule: Window system module libpvrws_WAYLAND.so did not validate native display [98, /generic_ws.c]
[ofAppEGLWindow::createSurface:notice] EGL Display correctly set.
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
[ofAppEGLWindow::createSurface:notice] No current render selected.
@kalwalt
kalwalt / gist:5654180
Created May 26, 2013 22:09
ogitor log crash with caelum
23:03:43: Creating resource group General
23:03:43: Creating resource group Internal
23:03:43: Creating resource group Autodetect
23:03:43: SceneManagerFactory for type 'DefaultSceneManager' registered.
23:03:43: Registering ResourceManager for type Material
23:03:43: Registering ResourceManager for type Mesh
23:03:43: Registering ResourceManager for type Skeleton
23:03:43: MovableObjectFactory for type 'ParticleSystem' registered.
23:03:43: ArchiveFactory for archive type FileSystem registered.
23:03:43: ArchiveFactory for archive type Zip registered.
@kalwalt
kalwalt / gkGameLevel.cpp
Created June 1, 2013 14:14
gkGameLevel.cpp from CppDemo from Gamekit http://gamekit.googlecode.com/ with an example on how add an ogre .mesh to the gkScene through a gkGameObject
/*
-------------------------------------------------------------------------------
This file is part of OgreKit.
http://gamekit.googlecode.com/
Copyright (c) 2006-2010 Charlie C.
Contributor(s): none yet.
-------------------------------------------------------------------------------
This software is provided 'as-is', without any express or implied
@kalwalt
kalwalt / bumblebee.conf
Created April 25, 2014 15:04
bumblebee.conf
walter@walter-RC530-RC730:~$ cat /etc/bumblebee/bumblebee.conf
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
@kalwalt
kalwalt / Vector_fractal_example.json
Created February 3, 2017 11:05
Basic example of Sv Vector Fractal node
{
"export_version": "0.063",
"framed_nodes": {},
"groups": {},
"nodes": {
"Plane": {
"bl_idname": "PlaneNode",
"color": [
0.0,
0.5,
@kalwalt
kalwalt / alpha-mask-example.json
Created February 14, 2017 19:09
alpha-masking with nodes and scripting
{
"export_version": "0.063",
"framed_nodes": {},
"groups": {},
"nodes": {
"Formula": {
"bl_idname": "Formula2Node",
"color": [
0.6079999804496765,
0.6079999804496765,