[PD-dev] Question about multi-arch Mac OS X - is 32-Bit still around?

2014-01-10 Thread Thomas Mayer
Hi, I am using the library template for PuREST JSON. This library needs libcurl for compilation, and libcurl throws errors while cross-compiling for architectures with different word sizes, e.g. compiling 32-Bit on 64-Bit. (http://ubuntuforums.org/showthread.php?t=1680426) To counter this,

[PD-dev] Problem with renaming setup functions

2013-11-14 Thread Thomas Mayer
json_encode_setup(void); In purest_json.c: #include purest_json.h void purest_json_setup(void) { post(PuREST JSON version %s: A library for executing HTTP queries and encoding and decoding JSON data from Puredata., PUREST_JSON_VERSION); post((c) Thomas Mayer (Residuum) 2013); post(Get

[PD-dev] Best practices for dealing with binary data in externals

2013-07-10 Thread Thomas Mayer
Hello, I am pondering about a feature request for PuREST JSON to being able to download binary data: https://github.com/residuum/PuRestJson/issues/22 Currently, [rest] and [oauth] output the downloaded data as a symbol on its left outlet, and binary data is output as a symbol, as long as there

[PD-dev] Include Header Files in Library Template Makefile

2013-06-21 Thread Thomas Mayer
Hi, as I have upgraded PuREST JSON to using the latest Makefile from the library template, and I have header files for each source file, I propose the attached patch to include these in the library template Thanks, Thomas -- Ich komme aus dem Staunen nicht heraus. Dann bleib halt drin, du

[PD-dev] Getting path of external

2013-04-17 Thread Thomas Mayer
Hi, for PuREST JSON on Windows, I need a way to verify SSL signatures, because currently this is not working. One way to accomplish that, is setting the path to the certificate file. As I want to package the file with the zip, I would like to store it in the same directory as the dll for the

[PD-dev] error() with MinGW leads to segfault in Pd-extended

2013-02-22 Thread Thomas Mayer
Hi, while I was trying to figure out a bug in my library, I found that the segfault results from calls to the function error() from my code. When I change these calls to post() everything works as advertised: https://github.com/residuum/PuRestJson/issues/14 I found it in Pd-extended 0.42 and

[PD-dev] Question about error in external

2013-01-18 Thread Thomas Mayer
Hello, while I am working on PuREST JSON, I have gotten an interesting error, but only on Windows: Two of my objects do not load correctly with the message: load_object: Symbol rest_setup not found On Linux, this works without any problems, as do the other objects in Windows. What is

Re: [PD-dev] Question about error in external

2013-01-18 Thread Thomas Mayer
On 18.01.2013 16:32, Hans-Christoph Steiner wrote: On 01/18/2013 06:33 AM, IOhannes zmölnig wrote: On 01/18/2013 10:41 AM, Thomas Mayer wrote: Hello, while I am working on PuREST JSON, I have gotten an interesting error, but only on Windows: Two of my objects do not load correctly

Re: [PD-dev] stackoverflow tag

2013-01-08 Thread Thomas Mayer
Hi, On 08.01.2013 23:05, Hans-Christoph Steiner wrote: Anyone on Stack Overflow with more than 1500 reputation? If so, please create a puredata or pd tag, you need at least that many points to be allowed to do so. What would be a good question to ask on Stackoverflow? I have enough

Re: [PD-dev] stackoverflow tag

2013-01-08 Thread Thomas Mayer
OK, so here is the question (and the tag): http://stackoverflow.com/questions/14226869/how-to-keep-audio-and-video-gem-synchronised On 08.01.2013 23:05, Hans-Christoph Steiner wrote: Anyone on Stack Overflow with more than 1500 reputation? If so, please create a puredata or pd tag, you need

Re: [PD-dev] Cross Compiling External for Windows - Problem

2012-08-22 Thread Thomas Mayer
Hello Patrice, On 14.08.2012 11:52, Patrice Colet wrote: Output: i686-pc-mingw32-gcc -I/home/thomas/src/Pd-0.42.5-extended/pd-win/include/pd -std=c99 re, how to get information about the linker used, and how to set it in the Makefile. That was part of the original question, try to put

[PD-dev] Cross Compiling External for Windows - Problem

2012-08-10 Thread Thomas Mayer
Hello, I try to cross compile my external PuREST JSON for Windows using MXE on Linux. According to their tutorial, a little work is necessary on the Makefile to be able to cross-compile (http://mxe.cc/#tutorial): -- Start quote -- Step 5d: Cross compile your Project (Makefile) If you have a

Re: [PD-dev] Cross Compiling External for Windows - Problem

2012-08-10 Thread Thomas Mayer
Hi, On 10.08.2012 11:29, Patrice Colet wrote: Also you might find this template interesting for porting the external: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/template/ I am already using the template, but the template is not ready for cross compilation. I wanted

Re: [PD-dev] Cross Compiling External for Windows - Problem

2012-08-10 Thread Thomas Mayer
does not work. Best regards, Thomas Colet Patrice - Mail original - De: Thomas Mayer tho...@residuum.org À: pd-dev@iem.at Envoyé: Vendredi 10 Août 2012 10:49:15 Objet: [PD-dev] Cross Compiling External for Windows - Problem Hello, I try to cross compile my external PuREST JSON

[PD-dev] Source code for [comport]

2012-04-24 Thread Thomas Mayer
Hi, where is the source code for [comport] that is included in Pd-extended? Is this still the most recent source? https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/iem/comport/comport/ as it is referenced on http://puredata.info/downloads/comport Thanks, Thomas -- When

[PD-dev] Questions concerning library template

2012-02-03 Thread Thomas Mayer
Hello, I have just tried to compile and load the latest version of PuREST JSON in Windows. Compilation is no problem, and I have copied the resulting files to %PROGRAM FILES%\pd\extra\purest_json\ including libpurest_json.dll, but the loader cannot find this dll, see