Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost -gd lib file

Tags:

c++

boost

After building the boost library (so I could use the filesystem namespace) I found in the stage/lib folder the following files with filesystem in the name:

libboost_filesystem-vc100-mt-1_51 (838 kb)

libboost_filesystem-vc100-gd-mt-1_51 (4210 kb)

Notice the -gd in the second one. I also put in the size in parenthesis. So, what's the difference? Which one do I use?

like image 244
sinθ Avatar asked Aug 25 '12 21:08

sinθ


People also ask

What is Boost library used for?

Boost is a set of libraries for the C++ programming language that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains 164 individual libraries (as of version 1.76).

What is file Boost?

The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories. The motivation for the library is the need to be able to perform portable script-like operations from within C++ programs.

Is Boost part of STL?

Lavavej digs into the Boost Library. In his words, it's an open source, super quality, community-driven Standard Template Library (STL).


1 Answers

-gd is for debug version of libs. Use -gd-mt for building in debug configuration and -mt for release configurations.

like image 171
Mikhail Avatar answered Oct 04 '22 17:10

Mikhail