Thread: Getting Boost Libraries to work with Netbeans and MinGW

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    24

    Getting Boost Libraries to work with Netbeans and MinGW

    I'm getting this error

    Code:
    g++.exe: error: date_time: No such file or directory   make[2]: *** [dist/Debug/MinGW-Windows/boosttest.exe] Error 1  make[1]: *** [.build-conf] Error 2   make: *** [.build-impl] Error 2

    whenever I try to run this example: Examples - 1.53.0 using boost libraries. I've followed the steps here Netbeans IDE 7.2.1: How to add the c++ boost library - Stack Overflow and I don't see any red error marks, just that one runtime error. I've read on the boost site that Mingw isn't supported but I've seen tutorials for building it in eclipse so I'm assuming that there is a way to get it to work.I'm using windows 7 by the way.

  2. #2
    Registered User
    Join Date
    Feb 2013
    Posts
    24
    Nevermind. I was able to figure it out. All I had to do was to delete my library name under "Project -> properties -> Linker ->Libraries -> Add option -> Other -> -l%libname%" and everything worked properly. Could someone lock this thread?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to set Boost up with MinGW?
    By TriKri in forum Windows Programming
    Replies: 4
    Last Post: 05-07-2010, 05:27 AM
  2. strange linker error with minGW and boost
    By pheres in forum C++ Programming
    Replies: 3
    Last Post: 02-15-2009, 08:45 PM
  3. from dev-c++ mingw to netbeans cygwin
    By yahn in forum C++ Programming
    Replies: 10
    Last Post: 01-14-2009, 08:18 AM
  4. boost libraries
    By herWter in forum C++ Programming
    Replies: 6
    Last Post: 07-15-2008, 05:35 PM
  5. Boost for MinGW?
    By sh3rpa in forum C++ Programming
    Replies: 1
    Last Post: 11-13-2007, 09:57 AM