... en, ulist_test.c show the correct way to use uListSearch, after modify my prog accrodding stringCompare(), it work correct, thanks! ... yes, I don't want...
Hi, I'm building Clearsilver under LTIB for use on a Freescale PowerPC platform. A problem arises when the configure script wants to run Python (or Perl for...
... Hmm, currently the configure script probably doesn't work for cross compiling, definitely for the non-C parts. You can use --with-python to point at...
Hello, cross compiling clearsilver is working fine, one has to remove the 'test' target in cs/makefile by hand though. this is what i'm doing on my linux-host...
Mario Gliewe
mag@...
May 5, 2009 8:39 am
1288
I agree. The cross-compile does work for my C/CPP files but the Python stuff does not. Brandon is correct about setup.py -- it's not friendly with the...
So, if you can run programs built for the board on your local box, its probably fairly straight-forward. If not, things get more complicated, but what I think...
That didn't help; the offending compile options were still present. I guess the arguments only add "extra" options, they don't replace what's there. I can...
No, it should work to not use setup.py, earlier versions of clearsilver built it directly before we switched to distutils. Brandon ... -- "The Creation of the...
Hey there! I recently discovered Clearsilver and it makes a good impression. I'd like to use it in C/C++ application but am having trouble to get it working. ...
Andreas Wehrmann
a.wehrmann@...
May 18, 2009 5:20 pm
1293
I don't know of an OO structured C++ example. If this is what you're looking to do, I recommend taking a look at the Python CSPage.py example, and extrapolate ...
There's a basic example in cgi/cs_static.c as well. I keep meaning to get some better example code listed somewhere. For C++, there is Clearsilver++: ...
Thanks for the responses. static.c seems to be a good start. However, when trying to link it, I get a lot of "undefined reference" errors, although I link to...
Andreas Wehrmann
a.wehrmann@...
May 19, 2009 8:29 pm
1296
... I would need to know what the undefined reference is to to know what you're missing. A local link line looks like: gcc -o cs_static.cgi static.o...
... Yes, I've been doing it for years. You can compile it with MSYS, though I know someone on this list has made it compile with visual studio (see the group...
I used mingw as well. And I think that I used the msys terminal to compile on a Win2003 machine. I remember making a changes in the code like sleep() to...
Hi, I am new to CS, and have a quick question. I want to add a special tag in my templates for certain pieces of text. For example, I want to enclose text in...
Hi, This is something confused me in neo_hash mode: 1, dose neo_hash.c line 146 should change to node = _hash_lookup_node(hash, *key, NULL); 2, and before we...
Hi, I'm trying to compile ClearSilver on a System i platform. The compiler is C89 compatible (AFAIK). I am compiling the stuff manually, starting with the util...
Schmidt, Mihael
Mihael.Schmidt@...
Jun 11, 2009 2:47 pm
1308
Hi, I'm using an HDF file to store account info and I wanted to know if there's an easy way to delete nodes and re-order. For example: Accounts{ 0{ user=joe ...
I suspect the real problem is with the other macros __PRETTY_FUNCTION, __FILE__ and __LINE__. These are magic macros defined by some compilers, but they might ...
... There isn't a quick way to reorder nodes.... I recommend using something unique as the HDF key and then just loading and sorting as needed. (i.e. the...
... it be ... definitely got ... nerr_raise() is setup to work like the printf() family of functions. For example, you might have: nerr_raise(NERR_ASSERT,...
Schmidt, Mihael
Mihael.Schmidt@...
Jun 12, 2009 5:18 am
1312
oh... it is util/ulocks.c (not util.ulock.c) I compiled clearsilver on a linux system and took the cs_config.h from it (and modified it a little bit). Now i...
Schmidt, Mihael
Mihael.Schmidt@...
Jun 12, 2009 5:34 am
1313
After some searching on the web I found that HAVE_LOCKF is queried in Clearsilver.h. There is seems that ulock, rcfs, dict and skiplist are optional (are not...