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 https://github.com/residuum/PuRestJson/issues/7
Any idea, why this is the case? Do I need to copy this dll somewhere else?
Another issue I am currently working on: Unicode in JSON, where json-c has a bug in the released version (https://github.com/residuum/PuRestJson/issues/5). Instead of waiting for json-c to be released with this bug fixed, I could change all unicode characters to lowercase. Is there an easy way to do this, basically replacing stuff like "\u00E7" with "\u00e7". Regex? (how in C?) Seems like my high-level knowledge is not enough for that.
Thanks for your help, Thomas
Hmm, yeah, I have the same problem building the 'chaos' library the same way. Let me look into it. In the meantime, you can build it as all one binary file by doing:
make purest_json
And you should end up with a purest_json.dll that includes all the objects.
.hc
On Feb 3, 2012, at 5:17 PM, Thomas Mayer wrote:
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 https://github.com/residuum/PuRestJson/issues/7
Any idea, why this is the case? Do I need to copy this dll somewhere else?
Another issue I am currently working on: Unicode in JSON, where json-c has a bug in the released version (https://github.com/residuum/PuRestJson/issues/5). Instead of waiting for json-c to be released with this bug fixed, I could change all unicode characters to lowercase. Is there an easy way to do this, basically replacing stuff like "\u00E7" with "\u00e7". Regex? (how in C?) Seems like my high-level knowledge is not enough for that.
Thanks for your help, Thomas -- "From the perspective of communication analysis, government is not an instrument of law and order, but of law and disorder." (Gracchus Gruad in: Robert Shea & Robert A. Wilson, The Golden Apple) http://www.residuum.org/
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
OK, I will update the build instructions for now.
About my regex question: I solved it differently, because I once again meditated on that famous jwz quote ...
Thomas
On 05.02.2012 05:30, Hans-Christoph Steiner wrote:
Hmm, yeah, I have the same problem building the 'chaos' library the same way. Let me look into it. In the meantime, you can build it as all one binary file by doing:
make purest_json
And you should end up with a purest_json.dll that includes all the objects.
.hc
On Feb 3, 2012, at 5:17 PM, Thomas Mayer wrote:
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 https://github.com/residuum/PuRestJson/issues/7
Any idea, why this is the case? Do I need to copy this dll somewhere else?
Another issue I am currently working on: Unicode in JSON, where json-c has a bug in the released version (https://github.com/residuum/PuRestJson/issues/5). Instead of waiting for json-c to be released with this bug fixed, I could change all unicode characters to lowercase. Is there an easy way to do this, basically replacing stuff like "\u00E7" with "\u00e7". Regex? (how in C?) Seems like my high-level knowledge is not enough for that.
Thanks for your help, Thomas -- "From the perspective of communication analysis, government is not an instrument of law and order, but of law and disorder." (Gracchus Gruad in: Robert Shea & Robert A. Wilson, The Golden Apple) http://www.residuum.org/
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
How are you currently handling the curl and json-c dependencies? Do you statically link them in? If its DLLs, then they'll have the same problem as libpurest_json.dll.
.hc
On Feb 3, 2012, at 5:17 PM, Thomas Mayer wrote:
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 https://github.com/residuum/PuRestJson/issues/7
Any idea, why this is the case? Do I need to copy this dll somewhere else?
Another issue I am currently working on: Unicode in JSON, where json-c has a bug in the released version (https://github.com/residuum/PuRestJson/issues/5). Instead of waiting for json-c to be released with this bug fixed, I could change all unicode characters to lowercase. Is there an easy way to do this, basically replacing stuff like "\u00E7" with "\u00e7". Regex? (how in C?) Seems like my high-level knowledge is not enough for that.
Thanks for your help, Thomas -- "From the perspective of communication analysis, government is not an instrument of law and order, but of law and disorder." (Gracchus Gruad in: Robert Shea & Robert A. Wilson, The Golden Apple) http://www.residuum.org/
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds