$(WinSDKRoot)\include\$(WinSDKVersion)\ucrt $(WinSDKRoot)\include\$(WinSDKVersion)\shared Then I set the compiler and resource compiler search path to: VCVERSION=8 (or whatever the current version is) VCROOT=(whatever path visual c++ was installed to) WINSDKVERSION=9.0 (or whatever kit is being used) WINSDKROOT="C:\Program Files (x86)\Windows Kits\10" What I've tried so far is to define 4 custom variables: I've been trying to find a good solution for this too. Has anyone got this working properly (preferably with Boost and most important for me Boost.Test)? Should the setup file vsvarsall.bat be involved in the startup process? LINK : fatal error LNK1181: cannot open input file 'bin\Release\hello_boost.exe' LINK : warning LNK4044: unrecognized option '/s' ignored LINK : warning LNK4044: unrecognized option '/o' ignored LINK : warning LNK4044: unrecognized option '/LC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\lib' ignored Microsoft (R) Incremental Linker Version 9.0 J:\Cpp\Misc\hello_boost\hello_boost.cpp : warning C4710: 'class std::basic_ostream > & _ptr64 _cdecl std::endl >(class std::basic_ostream > & _ptr64)': function not inlined I:\modular-boost\boost/config/stdlib/dinkumware.hpp(99): warning C4668: '_HAS_NAMESPACE' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\include\xlocinfo.h(59): warning C4820: '_Collvec': '4' bytes padding added after data member '_Collvec::_Page' All rights reserved.Ĭl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future releaseĬl : Command line warning D9002 : ignoring unknown option '-fexceptions'Ĭ:\Program Files (x86)\Windows Kits\10\Include\9.0\ucrt\malloc.h(44): warning C4820: '_heapinfo': '4' bytes padding added after data member '_heapinfo::_useflag'Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\include\vcruntime_exception.h(25): warning C4820: '_std_exception_data': '7' bytes padding added after data member '_std_exception_data::_DoFree'Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\include\vcruntime_typeinfo.h(44): warning C4820: '_std_type_info_data': '7' bytes padding added after data member '_std_type_info_data::_DecoratedName' Microsoft (R) C/C++ Optimizing Compiler Version 9 for 圆4Ĭopyright (C) Microsoft Corporation. Link.exe -L"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\lib" -o bin\Release\hello_boost.exe obj\Release\Misc\hello_boost\hello_boost.o -s "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\lib" Build: vs2017_Release in hello_boost (compiler: Visual Studio 2017)-Ĭl.exe -Wall -fexceptions -O2 -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -Wall -II:\modular-boost -II:\modular-boost -I"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\include" -I"C:\Program Files (x86)\Windows Kits\10\Include\9.0\ucrt" -c J:\Cpp\Misc\hello_boost\hello_boost.cpp -o obj\Release\Misc\hello_boost\hello_boost.o So I have put this at the 'root' toolchain folder and that seems to get started. The Visual Studio (and tools and kits) directory structure has completely and radically changed for this version (and will keep changing rapidly with the very frequent MS update - Hurrah!)Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\8\bin\Host圆4\圆4Īnd not in the folder /bin and things start OK Has anyone got Visual Studio 2017 Pro (or Community) to work with Codeblocks?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |