Re: Sourcecode Examples in C/C++ available?

Andreas Wehrmann <[email protected]> Tue, 19 May 2009 07:29:14 +0200
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
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 the proper libs... I think.
Here's how I call the compiler:
gcc -I/usr/include/ClearSilver -lneo_cgi -lneo_cs -lneo_utl static.c


I'm using Ubuntu 8.10 (Intrepid) here with Clearsilver installed from
the repository.


About Clearsilver++: I tried to download it, but the file does not exist
anymore.



Regards,

Andreas



Brandon Long wrote:
> 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++:
>
> http://biology.nmsu.edu/software/clearsilver++/index.html
>
> Though, that's not an example, just a C++ wrapper.
>
> Brandon
>
> On 05/18/09 David Jeske uttered the following other thing:
>   
>> 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
>> it into C++.
>>
>> For C, there is some example code in imd/imd.c, though I think Brandon's
>> commented that it's not the best example.
>>
>> What are you having trouble with specifically?
>>
>> -- Andreas Wehrmann wrote:
>>     
>>> 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.
>>> Are there source code examples for C/C++
>>> that demonstrate the use of CS?
>>>       
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>
a_wehrmann.vcf (text/x-vcard, 346 B)
begin:vcard
fn:Andreas Wehrmann
n:Wehrmann;Andreas
org:Centersystems GmbH;Software Development
adr:;;Ignaz-Koeck-Strasse 19;Vienna;Vienna;1210;Austria
email;internet:[email protected]
title:Cand. Ing.
tel;work:+43 (0)190 199 3616
tel;fax:+43 (0)190 199 2110
x-mozilla-html:FALSE
url:http://www.centersystems.com
version:2.1
end:vcard