Using boost in my project
I want to use the signals library, and that requires building the CPP files and linking them in. How am I supposed to do this? Boost wants me to use a DLL...how stupid is that?
I wanted to statically link to it, so I made a VC project and added all the CPP files in, then moved the lib file to the first project''s folder. It wouldn''t compile until I manually added the OBJ file references to the linker input options. Why is this? And what do people normally do when using a library in an open source project? Make people install it so they can edit your code?
I''ve considered dropping boost for something more specific to what I''m doing, but writing a signals and slots library isn''t exactly fun.
Is there a reason you don''t want to use a DLL? Just build it by using the jam scripts that come with boost and everything should work fine. If someone wants to use your code, they can either use your precompiled DLL or compile it themselves (say, for another OS). In general, all they need to do is to download Boost, and I don''t think that''s too much to expect.
quote:Boost wants me to use a DLL...how stupid is that?
Build your own library, its not hard, unless...
[edited by - petewood on May 1, 2003 2:44:55 PM]
I just threw it in with the rest of the project for now. I don''t see why jam doesn''t support building static libraries though, its no more or less portable than DLLs are.
Extra files for people to lose? Mismatched versions?
I''m still bitter about having to use a DLL instead of a static library because the static library leaves out symbols that are unused and there isn''t much you can do to include everything.
I''m still bitter about having to use a DLL instead of a static library because the static library leaves out symbols that are unused and there isn''t much you can do to include everything.
When using LGPL libraries don''t you need to use a DLL _and_ link to it from the program so you don''t need to release your game engine source code?? I like DLL''s I don''t see what the problem is.
quote:Original post by deadalive
When using LGPL libraries don''t you need to use a DLL _and_ link to it from the program so you don''t need to release your game engine source code?? I like DLL''s I don''t see what the problem is.
Boost is LGPL?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement