[Botan-devel] Compiling botan as a static library (Windows)
Z. S. O.
tiredashell at gmail.com
Mon Jun 15 08:14:28 EDT 2009
Sorry I meant to write the second error as occurring on line 53:
dl_group.h(51) : error C2143: syntax error : missing '}' before '('
dl_group.h(53) : error C2143: syntax error : missing ';' before '}'
On Mon, Jun 15, 2009 at 8:13 AM, Z. S. O. <tiredashell at gmail.com> wrote:
> I added /DBOTAN_DLL= to the makefile and it compiled fine and appears to be
> a static library. I then also added that flag to my VC++ project which uses
> the library, but upon compiling I still get a bunch of errors, mostly in
> dl_group.h, saying things like:
> dl_group.h(51) : error C2143: syntax error : missing '}' before '('
> dl_group.h(51) : error C2143: syntax error : missing ';' before '}'
> I'm trying to think if I am forgetting anything in the project properties
> dialog, but nothing comes to mind.
> On Mon, Jun 15, 2009 at 6:40 AM, Joel Low <joel at joelsplace.sg> wrote:
>> Yep, declare as blank.
>> *From:* botan-devel-bounces at randombit.net [mailto:
>> botan-devel-bounces at randombit.net] *On Behalf Of *Z. S. O.
>> *Sent:* Sunday, 14 June, 2009 1:51 PM
>> *To:* Botan development list
>> *Subject:* [Botan-devel] Compiling botan as a static library (Windows)
>> I'm trying to compile botan on Windows as a static .lib without much
>> success. I tried adding /D "BOTAN_DLL" in the makefile, but that just
>> returns a slew of errors like "missing tag name." Normally, a macro that
>> sets either __declspec(dllexport) or __declspec(dllimport) should be left
>> blank to build it as a static library, correct?
>> botan-devel mailing list
>> botan-devel at randombit.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel