GPSTk is under LGPL and it means that it must be dynamic linked with program. Under Windows, this library builds like *.lib (static, but I can't inherit license in this program).

How I can use GPSTk on Windows without inheriting LGPL license in program?

Adding __declspec(dllexport) and modifying local sources is not the best way to solve this problem. Also, GPSTk us under LGPL, not LGPL + static.

May be I've missed something...

Thanks for attention!

-- ArtemKuskis - 07 Apr 2015


ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

In my reading of the LGPL, just using the library interfaces does not require you to inherit the LGPL for the rest of your code. However, the LGPL does require you to allow the user to upgrade the library if you are going to distribute your application to users. The easiest way to do this is use a DLL like you suggest. However, and alternate approach is to distribute compiled object files with your application that would allow a user to upgrade the library without having access to your source code. See

-- RickMach - 07 Apr 2015

Great, thank you for full answer!

-- ArtemKuskis - 08 Apr 2015 No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r3 - 08 Apr 2015, ArtemKuskis

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback