Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualBaneTrapper

Posted 25 March 2013 - 07:52 AM

I highly doubt you want dynamic debug and release. You probably want a debug and release build using the dynamic runtime, not having a DLL for each of Boost's sublibraries. In this case the line you probably want is

bjam --stagedir=. --build-dir=./build-dir variant=release,debug threading=multi link=static runtime-link=shared --toolset=msvc stage
which will have to do a bit less work compared to the above line.

Edit: For the record, the official build tutorial is here while an explanation of the parameters is here.

I will try that out thanks.

 

My build problem. I tried to include #include <boost\filesystem.hpp> this is output

1>------ Build started: Project: Test, Configuration: Debug Win32 ------
1>  main.cpp
1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc110-mt-gd-1_53.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

 

 

EDIT::
What i asked how to copy files around at this post. http://www.gamedev.net/topic/640771-coping-files-around-help/

Best answer was using boost::filesystem.

 

I only need boost::filesystem part. Its cross platform so i decided to use it.

I currently have .dll files from other libs i am using so it wouldn't be problem including those i need in as well.

 

I just don't want issues for people if they will want to play the game i am making as(downloading and installing components because game wont run) i try to provide everything. Here starts the problem, i don't know what are advantages and disadvantages of static or dynamic libs or with sould i use in this case.

 

If you wanna help guide me id be much biggrin.png. Else i will just do with what i have.


#1BaneTrapper

Posted 25 March 2013 - 07:39 AM

I highly doubt you want dynamic debug and release. You probably want a debug and release build using the dynamic runtime, not having a DLL for each of Boost's sublibraries. In this case the line you probably want is

bjam --stagedir=. --build-dir=./build-dir variant=release,debug threading=multi link=static runtime-link=shared --toolset=msvc stage
which will have to do a bit less work compared to the above line.

Edit: For the record, the official build tutorial is here while an explanation of the parameters is here.

I will try that out thanks.

 

My build problem. I tried to include #include <boost\filesystem.hpp> this is output

1>------ Build started: Project: Test, Configuration: Debug Win32 ------
1>  main.cpp
1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc110-mt-gd-1_53.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 


PARTNERS