🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Borneq Thu, 29 Dec 2016 11:01
[VS2015]Jak wpisać ścieżki do bibliotek Boost?
#308965
Author: Borneq
Date: Thu, 29 Dec 2016 11:01
13 lines
1342 bytes
Kompilacja projektu wypisuje:
cannot open file 'libboost_filesystem-vc140-mt-gd-1_61.lib'	

ten plik jest w 
c:\boost\bin.v2\libs\filesystem\build\msvc-14.0\debug\link-static\threading-multi\

z jednym plikiem jeszcze nie ma kłopotów, ale jest dużo bibliotek i 
każda siedzi w innym katalogu.

A może według
http://stackoverflow.com/questions/31566807/how-to-build-boost-version-1-58-0-using-visual-studio-2015-enterprise

przekompilować wszystkie lib do jednego katalogu Boosta?
Re: [VS2015]Jak wpisać ścieżki do bibliotek Boost?
#308966
Author: Borneq
Date: Thu, 29 Dec 2016 11:23
20 lines
1795 bytes
W dniu 29.12.2016 o 12:01, Borneq pisze:
> przekompilować wszystkie lib do jednego katalogu Boosta?

Użycie
b2 variant=debug,release link=static runtime-link=static address-model=64

przekompilowało wszystko do jednego katalogu boosta,
unresolved external symbol "class boost::filesystem::file_status __cdecl 
boost::filesystem::detail::status(class boost::filesystem::path const 
&,class boost::system::error_code *)" 
(?status@detail@filesystem@boost@@YA?AVfile_status@23@AEBVpath@23@PEAVerror_code@system@3@@Z) 
referenced in function "bool __cdecl boost::filesystem::exists(class 
boost::filesystem::path const &)" 
(?exists@filesystem@boost@@YA_NAEBVpath@12@@Z)	BlockNew 
D:\code\Coinfirm.git\block-exe\main.obj	1	


i jest warning:
library machine type 'X86' conflicts with target machine type 'x64' 
BlockNew	c:\boost\stage\lib\libboost_filesystem-vc140-mt-gd-1_61.lib	1	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads