From: Warren Young Date: November 24 2008 9:38pm Subject: Re: Static Library compilation difficulties on vc2008 List-Archive: http://lists.mysql.com/plusplus/8197 Message-Id: <0ABDD510-C8D5-45D8-AE78-29677DC9B92F@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Nov 24, 2008, at 1:33 PM, Attila wrote: > Is there a guide which I can refer to to build the static libraries? Is your program GPL'd, LGPL'd, or used only within a single organization? If not, you can't use static linking anyway. Read LICENSE.txt, which accompanied MySQL++. If it turns out that you're one of the few that can legitimately use static linking, you've probably got an inconsistent build setting wrong. VC++ demands that all modules use the same /M build option. You could change this in all of the many project files, but it's easier to just change the few places it occurs in mysql++.bkl and re- generate the project files according to README-Visual-C++.txt.