Thanks a lot, Christof!
This is indeed very helpful. I will let you know what I can find!
Cheers,
f
fdch.github.io
> On Feb 4, 2020, at 7:02 PM, Christof Ressi wrote:
>
> Hi,
>
> I usually run Pd in a debugger like this:
>
> gdb --args pd
>
> > run
>
> Wait for the segfault. The follo
Hi,
I usually run Pd in a debugger like this:
gdb --args pd
> run
Wait for the segfault. The following will print a stack trace, showing
you the function where the segfault occurs:
> bt
(you might need to hit enter to show additional lines of the stacktrace)
From there you can either set
As I said before, I could make a binary with Christof's steps, but I dont know
how to debug an external on windows. If you can give me some basic guidelines I
can continue with that.
In the meantime, we got joyosc working on Windows so that's looking good!
Best,
f
fdch.github.io
> On Feb 4
You just have to replace it with #include . I also compiled it
with Msys2.
Christof
On 04.02.2020 23:13, Martin Peach wrote:
On Sun, Feb 2, 2020 at 1:46 PM ffdd cchh wrote:
Ok, I did Christof's step c) and copied those dummy functions (and basically commented out anything
but a debug_post()
On Sun, Feb 2, 2020 at 1:46 PM ffdd cchh wrote:
>
> Ok, I did Christof's step c) and copied those dummy functions (and basically
> commented out anything but a debug_post() inside "hidio_devices()" and
> "hidio_elements()", and indeed got a binary. But, it's no use.
>
> I try to get some data on
Sorry for the "-hdi" typo... As I said, I don't think anyone ever
compiled and tested this on Windows, so I'm not surprised the binary
fails for you. If you like to investigate it further, please go ahead! I
might take a look myself in the future, but I'm terribly busy at the moment.
Christof
Ok, I did Christof's step c) and copied those dummy functions (and
basically commented out anything but a debug_post() inside
"hidio_devices()" and "hidio_elements()", and indeed got a binary. But,
it's no use.
I try to get some data on why it crashes but it just says 'segmentation
fault':
```
ca
1 Jan 2020 15:05:39 -0500
> From: ffdd cchh
> To: Pd-List
> Subject: [PD] compiling hidio for Windows
> Message-ID:
>
> Content-Type: text/plain; charset="utf-8"
>
> Dear list,
>
> I need to use external controllers via USB with vanilla (say, a PS4
>
You are right! I now have undefined references only on hidio.o:
hidio.o: In function `hidio_write_event':
Z:\Desktop\hidio/hidio.c:357: undefined reference to `hidio_write_event_symbols'
Z:\Desktop\hidio/hidio.c:336: undefined reference to `hidio_write_event_ints'
Z:\Desktop\hidio/hidio.c:347: und
I'm not sure but I think -lhdi should be -lhid, since it's a human
interface device library.
See
https://docs.microsoft.com/en-us/windows-hardware/drivers/hid/introduction-to-hid-concepts
Martin
On Sun, Feb 2, 2020 at 12:04 PM ffdd cchh wrote:
> Hi Martin, Christof,
>
> thanks both. Still no lu
Hi Martin, Christof,
thanks both. Still no luck.
I managed through steps a) b) and d), with the exception that I could not
add "-lhdi", as it appears to not be installed here. Is that pointing to
this: https://cran.r-project.org/web/packages/hdi/index.html ?
The log now points to *many* undefine
l.com>>
> To: Pd-List mailto:pd-list@lists.iem.at>>
> Subject: [PD] compiling hidio for Windows
> Message-ID:
><mailto:cao_hsb79+k5crpw_zbalykquuyvjf6sgzx5e5f6fwlbg6fo...@mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Dear list,
>
The order of .o files doesn't matter. It's shared and static libraries
which sometimes have to be specified in a certain order.
The actual problem was that
a) hidio_windows.c used _WINDOWS instead of _WIN32 as a guard around the
whole code, so hidio_windows.o was empty.
b) then there was a w
Line 76 of the log:
gcc -DPD -g -O2 -I/z/Desktop/pure-data/src -mms-bitfields
-L/z/Desktop/pure-data/src -L/z/Desktop/pure-data/bin
-L/z/Desktop/pure-data/obj -s -shared -o hidio.dll hidio.o hidio_types.o
hidio_windows.o -L/src -L/bin -L/obj -lpd
hidio.o: In function `hidio_tick':
Z:\Deskt
Hi Christof,
Thanks! Yes, I found these threads on the list:
https://lists.puredata.info/pipermail/pd-list/2019-11/126348.html
https://lists.puredata.info/pipermail/pd-list/2019-10/126096.html
But, there are still no Windows version of this external...
Github issue is up: https://github.com/Ben
I remember a similar thread on the list a few months ago. I tried to
compile it and gave up. The build system for Windows seems to be broken
and needs to be fixed (and probably switched from automake to
pd-lib-builder). Unfortunately, I don't have time right now to work on
this, but you could f
Dear list,
I need to use external controllers via USB with vanilla (say, a PS4
controller), and I have not found a compiled version of [hidio] for
Windows. Please, let me know if there are ready-made options out there
(feel free to change subject line if that thread goes wild).
In the meantime, I
17 matches
Mail list logo