Rajinder Yadav - Windows/Linux C++ Development Tools & Resources :Design, Code, Test, Deploy

PreviousNext

Building SQLite3 with Visual Studio 2005

Author: Rajinder Yadav
Date: Nov 24, 2007

Revised: Jan 12, 2008

Step 6

We are now ready to start building all the projects. Go to the folder, "G:\dev\src\icu\source\allinone" and double click on "allinone.sln", this will launch Visual Studio and open the ICU solution that contains all the projects. From the "Solution Explorer" tab, click select the project named, "common" and right click on it and select, "Properties".

From the Properties dialog box, click on "General" from the treeview on the right pane and type in, "$(SolutionDir)" for the "Output Dir" field.

Next go down to the "Linker" section and select "General", modify the "Output File" field to use "$(BuildDir)\bin\" as the output location. Make sure not to alter the DLL name.

Finally select the "Advanced" tree item found under "Linker" and modify the, "Import Lib" filed to use, "$(BuildDir)\lib\" as the output location. Make sure not to alter the Lib name.

Now you will need to do the same steps for project "i18n".

Note: Make sure to modify both "Debug" and "Release" project settings!

Now build project, "i18n" and this will causes the dependent projects, "common" and, "stubdata" to also get built. Once the projects are built you should have 2 DLL files and 2 Lib files in their respect folders. These files will be used to the build SQLite3 DLL.

Note: for those using VC++ Express, you will also need to manually include the link to advapi32.lib in your project setting under the linker section.

Let's now take a look at creating the SQLite3 project...


PreviousNext

Copyright © 2007 Rajinder Yadav, All rights reserved