Closed GoogleCodeExporter closed 9 years ago
I suppose if I had just opened the included solution that builds a static lib, I
would've been fine, sheesh. But, in all fairness, I had earlier done a cmake
of it
for a mingw build, so I figure I needed to without looking.
Regards,
Tim
Original comment by tim.fi...@gmail.com
on 4 Nov 2009 at 10:22
What exactly is an "import" library? I've never actually worked with .dlls in
Windows, so I'm not really sure what the procedure is. Does this mean that you
wouldn't be able to link to the .dll unless I added __declspec to a bunch of
stuff?
Original comment by jbe...@gmail.com
on 4 Nov 2009 at 11:01
Heh, yeah, windows is fun! Yes, you have a long way to go if you want to use
yaml-cpp as a .dll. Every class that is exported needs the declspec crap and
all
their the inherited classes. Even worse, all of the STL members need similar .
It's
probably better to just support a static lib using MSVC.
http://msdn.microsoft.com/en-us/library/d14wsce5.aspx
http://support.microsoft.com/default.aspx?scid=KB;EN-US;168958
Original comment by tim.fi...@gmail.com
on 4 Nov 2009 at 11:13
Hmmm... this seems like a lot more work than I'd like to do right now. I may
return to
this idea in the future, but for now I'm marking it "WontFix".
Thanks!
Original comment by jbe...@gmail.com
on 6 Nov 2009 at 3:32
Original issue reported on code.google.com by
tim.fi...@gmail.com
on 4 Nov 2009 at 8:49