Skip to content

Instantly share code, notes, and snippets.

@bagong
bagong / gist:0b7edf01117ffc55bda2
Created March 19, 2016 10:51
Cmake output for compiling SC with MinGW 4.9.2 in build configuration release with -Wstrict-aliasing (=-Wstrict-aliasing=3)
[ 0%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_allocation.c.obj
[ 0%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_converters.c.obj
[ 0%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_cpuload.c.obj
[ 0%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_debugprint.c.obj
[ 1%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_dither.c.obj
[ 1%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_front.c.obj
[ 1%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_process.c.obj
[ 1%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_ringbuffer.c.obj
[ 1%] Building C object external_libraries/portaudio/CMakeFiles/portaudio.dir/src/common/pa_stream.c.obj
[ 2%] Building C object external_libraries/portaudio
@bagong
bagong / gist:7787e8a383cb55c9ecda
Created March 19, 2016 11:02
Cmake output for compiling SC with MinGW 4.9.2 in build configuration release with -Wstrict-aliasing (=-Wstrict-aliasing=1)
This file has been truncated, but you can view the full file.
"C:\Program Files (x86)\CMake\bin\cmake.exe" -HC:\Users\Rainer\Projects\sc\supercollider -BC:\Users\Rainer\Projects\sc\supercollider\build_test --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_start C:\Users\Rainer\Projects\sc\supercollider\build_test\CMakeFiles C:\Users\Rainer\Projects\sc\supercollider\build_test\CMakeFiles\progress.marks
C:/Qt/Tools/mingw492_32/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory 'C:/Users/Rainer/Projects/sc/supercollider/build_test'
C:/Qt/Tools/mingw492_32/bin/mingw32-make.exe -f external_libraries\portaudio\CMakeFiles\portaudio.dir\build.make external_libraries/portaudio/CMakeFiles/portaudio.dir/depend
mingw32-make.exe[2]: Entering directory 'C:/Users/Rainer/Projects/sc/supercollider/build_test'
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" C:\Users\Rainer\Projects\sc\supercollider C:\Users\Rainer\Projects\sc\supercollider\external_libraries
@bagong
bagong / scPRQTWebengine
Created March 30, 2016 19:37
Crash report SC 3.8dev with PR QTWebengine using Qt5.5.1
Process: SuperCollider [10714]
Path: /Users/USER/*/SuperCollider.app/Contents/MacOS/SuperCollider
Identifier: net.sourceforge.supercollider
Version: 3.8 (dev)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SuperCollider [10714]
User ID: 501
Date/Time: 2016-03-30 21:29:52.574 +0200
@bagong
bagong / scPRQTWebengineQt5.6
Created March 30, 2016 19:47
Using Qt 5.6
Process: SuperCollider [13702]
Path: /Users/USER/*/SuperCollider.app/Contents/MacOS/SuperCollider
Identifier: net.sourceforge.supercollider
Version: 3.8 (dev)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SuperCollider [13702]
User ID: 501
Date/Time: 2016-03-30 21:46:52.993 +0200
@bagong
bagong / gist:d94fecbef0170c9a3ad21aeb56fba3ba
Created April 1, 2016 15:51
SC Build error Windows master April 2016 VS 2013
C:\Users\Rainer\Projects\sc\supercollider\lang\LangPrimSource\SC_HID_api.cpp(492): warning C4101: 'err' : unreferenced local variable [C:\Users\Rainer\Projects\sc\supercollider\build_master_VS_Db\
lang\libsclang.vcxproj]
DumpParseNode.cpp
PyrObject.cpp
C:\Users\Rainer\Projects\sc\supercollider\lang\LangSource\PyrObject.cpp(1102): warning C4068: unknown pragma [C:\Users\Rainer\Projects\sc\supercollider\build_master_VS_Db\lang\libsclang.vcxproj]
C:\Users\Rainer\Projects\sc\supercollider\lang\LangSource\PyrObject.cpp(1232): error C2780: 'boost::future<boost::result_of<F(void)>::type> boost::async(F &&)' : expects 1 arguments - 8 provided [
C:\Users\Rainer\Projects\sc\supercollider\build_master_VS_Db\lang\libsclang.vcxproj]
C:\Users\Rainer\Projects\sc\supercollider\external_libraries\boost\boost/thread/future.hpp(4035) : see declaration of 'boost::async'
C:\Users\Rainer\Projects\sc\supercollider\lang\LangSource\PyrObject.cpp(1232): error C2780: 'boost::future<T> boost::async(R (__cdecl *)(void))' :
@bagong
bagong / gist:0084f016cb80e61e0949c0f5b0f130a6
Last active April 1, 2016 15:53
SC Build error Windows master April 2016 gcc 4.9.2 upwards
[ 60%] Building CXX object lang/CMakeFiles/libsclang.dir/LangSource/PyrObject.cpp.obj
In file included from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/chrono/detail/inlined/win/chrono.hpp:15:0,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/chrono/detail/inlined/chrono.hpp:28,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/chrono/system_clocks.hpp:230,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/thread/win32/thread_data.hpp:18,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/thread/win32/condition_variable.hpp:10,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/thread/condition_variable.hpp:14,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/boost/boost/thread/future.hpp:21,
from C:\Users\Rai
-> HIDFunc.usage(nil, nil, nil, nil)
[ 0.49019607901573, 125, 49, 1, 10, a HIDElement(10: type: 2, usage: 1, 49), 0, a HID, anyUsage ]
... This must be the joistick turning (it's so fast, hard for me to tell). I basically did a quick
circle: Maybe element 10 and 11 are the two axises of the joystick? :
[ 0.48235294222832, 123, 49, 1, 10, a HIDElement(10: type: 2, usage: 1, 49), 0, a HID, anyUsage ]
[ 0.43921568989754, 112, 48, 1, 9, a HIDElement(9: type: 2, usage: 1, 48), 0, a HID, anyUsage ]
[ 0.49019607901573, 125, 49, 1, 10, a HIDElement(10: type: 2, usage: 1, 49), 0, a HID, anyUsage ]
[ 0.34901961684227, 89, 48, 1, 9, a HIDElement(9: type: 2, usage: 1, 48), 0, a HID, anyUsage ]
@bagong
bagong / HIDCreativeGPCobra2USB
Created May 20, 2016 18:41
HID Data output Creative Gamepad Cobra 2 USB
Gamepad Creative Cobra 2 USB
HID.findAvailable
-> IdentityDictionary[ (1 -> a HIDInfo(, , IDs:1054, 4099, USB_041e_1003_14200000, , 272, -1)), (2 -> a HIDInfo(, Apple Mikey HID Driver, IDs:0, 0, , , 0, -1)), (4 -> a HIDInfo(Apple Inc., Apple Internal Keyboard / Trackpad, IDs:1452, 611, USB_05ac_0263_1d182000, , 546, -1)), (5 -> a HIDInfo(Apple Inc., Apple Internal Keyboard / Trackpad, IDs:1452, 611, USB_05ac_0263_1d182000, , 546, -1)), (0 -> a HIDInfo(Apple Inc., Apple Internal Keyboard / Trackpad, IDs:1452, 611, USB_05ac_0263_1d182000, , 546, -1)),
(3 ...etc...
h = HID.open(1054, 4099)
HID: path was not set specified yet, chosen the one with path: USB_041e_1003_14200000
open device 0x7fac62560a80
start polling thread for 1649805952
[ 7%] Building C object external_libraries/hidapi/windows/CMakeFiles/hidapi.dir/hid.c.obj
In file included from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/hidapi/windows/hidsdi.h:30:0,
from C:/Users/Rainer/Projects/sc/supercollider/external_libraries/hidapi/windows/hid.c:26:
C:/msys/mingw64/x86_64-w64-mingw32/include/hidpi.h:52:3: error: unknown type name 'USAGE'
USAGE Usage;
^~~~~
C:/msys/mingw64/x86_64-w64-mingw32/include/hidpi.h:53:3: error: unknown type name 'USAGE'
USAGE UsagePage;
^~~~~
C:/msys/mingw64/x86_64-w64-mingw32/include/hidpi.h:57:3: error: unknown type name 'USAGE'
@bagong
bagong / gist:d90528e65ce013612810c7838ebbc843
Created March 7, 2017 00:49
Build output for sc3-plugins using VS2015 64-bit 3.9dev as 7. March 2017
This file has been truncated, but you can view the full file.
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 07.03.2017 01:35:11.
Project "C:\Users\Rainer\Projects\sc\sc3-plugins\build_VS64_2015_Rl\install.vcxproj" on node 1 (default targets).
Project "C:\Users\Rainer\Projects\sc\sc3-plugins\build_VS64_2015_Rl\install.vcxproj" (1) is building "C:\Users\Rainer\Projects\sc\sc3-plugins\build_VS64_2015_Rl\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "x64\Release\ZERO_CHECK\".
Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus: