Wednesday, November 19, 2008

Creating a Symbol Server for Your PDB Files

Create a shared directory on your server, and give read/write access to the people who are going to be using it. (Developers & build server)

To upload a set of .pdb files use the following as an example:

symstore add /r /f c:\bin\debug\*.pdb /s \\myserver\symbols /t "Boost" /v "1.37.0"

/f - Location of the files to upload
/s - Location of your symbol server directory
/t - Product
/v - Product version

Building Boost PDB files.

Note to self:

To build boost with .pdb files, use the following commandline.

bjam --toolset=msvc --build-type=complete stage debug-symbols=on debug-store=database

Notice in perticular debug-symbols and debug-store options.

Friday, August 15, 2008

Importing DLLs

Well, it was that time of the year again... to update the external dependencies for Item Assistant. Downloading and updaing SQLite always baffels me until I remember the hoops I went through (read: googling around for hours) last time I wanted to generate an import lib for use with the DLL.

So here is a link to the MS KB article: http://support.microsoft.com/kb/131313
And a good article about more advanced DLL handling: http://qualapps.blogspot.com/2007/08/how-to-create-32-bit-import-libraries.html

Update:
This is the gist of it:

Open Visual Stuidio command prompt and run:
lib /DEF:sqlite3.def

This will genereate the appropriate .lib and .exp file.

Sunday, August 3, 2008

Konsole colors in Kubuntu

Switching on colors in the KDE Konsole is not fortunately very easy:
  • Start the Konsole application
  • Choose from the menu: Settings -> Edit Current Profile
  • Click the "Environment: Edit..." button on the General tab
  • Make sure the TERM variable is set to
    xterm-color like so: TERM=xterm-color
  • Click "OK" in both the dialogs to apply changes
  • Restart the Konsole application to see the effect it had

Tuesday, April 29, 2008

Find in Files

More Visual Studio 2005 oddities.

Today my Find in Files command suddenly stopped working. For some unknown reason. A very helpful error message showed up in the results window:

No files were found to look in. Find was stopped in progress.

After a bit of searching on the internet I came over this blog that explained how to fix it: http://bloggingabout.net/blogs/edward/archive/2005/01/31/2136.aspx

Basically you have to press CTRL + Scoll Lock to fix it... why? I have no idea.