Compiling and configuring Boost C++ libraries for Visual Studio 2010

This video demonstrates how to compile the Boost C++ Libraries for VC++ 10.0. It will then show how to configure Visual Studio 2010, making it ready for use in your own C++ projects. You can download the source code at: toefel.nl For a good detailed description, you can also check out this page: stackoverflow.com I hope it helps, Christophe Hesters ( www.toefel.nl )


Comments

25 Responses to “Compiling and configuring Boost C++ libraries for Visual Studio 2010”

  1. danmalikin on February 24th, 2011 8:04 am

    @toefel18 this is what i did i went ti to the QT project settings Qt modules and disabled the opengl option but i still got the error, but i saw something about this, u might check this and see if its related the qt center

  2. danmalikin on February 24th, 2011 8:18 am

    @toefel18 this is the link qtcentre.org/threads/36056-Qt-4.7.1-libgles_cm.lib-for-OpenGL-ES-can-t-be-opened

  3. danmalikin on February 24th, 2011 8:49 am

    any suggestion for what i should do next

  4. chotansign on February 24th, 2011 9:02 am

    @toefel18 from this page (code.google.com/p/visual-control/wiki/Compiling) step no. 6, 7, 8 and 9 which include and library paths I have to show.

  5. toefel18 on February 24th, 2011 9:08 am

    @danmalikin I have no Idea, sorry.

  6. danmalikin on February 24th, 2011 9:09 am

    @toefel18 Alright, tnx, i will let u know if i solve it

  7. toefel18 on February 24th, 2011 9:11 am

    @chotansign The same library and include paths that are shown in the video tutorials for OpenCV, Tbb, and Boost! Step trough the last parts of the tutorial for an explanation of how to configure your Visual Studio projects. (Do the same steps as I do in the solutions in the tutorials.)

  8. danmalikin on February 24th, 2011 10:03 pm

    @danmalikin i solve the libgles problem by going to the project properties and removing the the libgles from add dependencies bt im having this error now fatal error LNK1104: cannot open file ‘cxcore210d.lib, despite adding this directories to the openCV property sheet directory \OpenCV-2.1.0\build\lib and \OpenCV-2.1.0\include\opencv for the library is their something that im doing wrong ?

  9. danmalikin on March 3rd, 2011 10:08 pm

    i’m not getting the libgles error but im getting this error now, what shoud i do
    LINK : fatal error LNK1104: cannot open file ‘cv210d.lib’

  10. danmalikin on March 15th, 2011 9:02 am

    I have solve the previous problem but im having this error now if you can help me please
    >eigenfacerecognizer.obj : error LNK2019: unresolved external symbol _cvEigenDecomposite referenced in function “public: virtual bool __thiscall cognition::EigenfaceRecognizer::train(void)” (?train@EigenfaceRecognizer@cognition@@UAE_NXZ)

  11. toefel18 on March 15th, 2011 9:06 am

    @danmalikin make sure you add cvaux210d.lib to your configuration! (so propterties>linker>dependencies) and the cvaux210d.DLL needs to be in the same directory as your application or in your PATH variable

  12. danmalikin on March 15th, 2011 9:42 am

    build is a success, however did not find the following dll in the bin tbb_debug.dll

  13. danmalikin on March 15th, 2011 9:45 am

    thanx i have found the tbb dll everything works just fine, tnx for all the help really appreciate it

  14. AstralAbraxas on May 9th, 2011 5:15 pm

    great vid helped me out big time. I tried using their auto-installer and couldn’t figure out what was wrong… but once i built it myself worked with no problems

  15. armpitpuncher on May 25th, 2011 8:06 pm

    Much easier just to use the installers provided at boostpro.com

  16. FragZz on July 11th, 2011 10:54 am

    Thank me? No thank you!

  17. zephedzephed on August 10th, 2011 1:30 am

    worked great, thanks.

  18. Muftobration on August 19th, 2011 2:53 pm

    Thank you very much. I originally used boostpro to get the libraries and was not able to link them. I followed your tutorial here to build them myself (very easy and clear, by the way) and everything worked fine.

  19. xDAZZE on September 18th, 2011 12:01 pm

    Do you need to do all of this every time you create a new program using Boost?

  20. toefel18 on September 19th, 2011 2:14 pm

    @xDAZZE no, just once and you’re set for every program that uses boost

  21. xDAZZE on September 19th, 2011 10:06 pm

    @toefel18 Thanks

  22. stooray1 on November 22nd, 2011 11:45 pm

    I am getting the following error while building boost:
    execnt.c(29) : fatal error C1083: Cannot open include file: ‘windows.h’: No such file or directory

  23. toefel18 on November 23rd, 2011 2:40 am

    @stooray1 are you building using the Visual Studio Command Prompt? this command prompt sets up your environment(include paths, library path’s, etc) and provides the headers you need. (you can find it in the start menu)

  24. dooooman122 on November 24th, 2011 4:17 am

    I got like roughly 10 long errors when typing the bjam command. Also, bootstrap mentions something about Boost.Build, not Boost.Jam for me. :S

  25. Mechainy on January 8th, 2012 4:30 pm

    thanks, worked :)

Leave a Reply

You must be logged in to post a comment.

Powered by Yahoo! Answers