Coder Social home page Coder Social logo

getboost's Introduction

NuGet Packages for Boost.

  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package
  • NuGet package

Releases

For Developers

Building Boost

  1. Download Boost library from boost.org.
  2. Unpack the Boost library in the parent folder of getboost.
  3. Rename it to boost.
  4. Run boost.bat. It may take several hours to complete.

Building NuGet Packages

  1. Open builder\builder.sln in Visual Studio 2017 or higher.
  2. Build and run the builder project. It may take about half an hour to complete.
  3. Find NuGet packages in the builder\builder\bin\Debug\ folder.

getboost's People

Contributors

dependabot[bot] avatar sanderaernouts avatar sergey-shandar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

getboost's Issues

ICU Support

Hello,

Doest the last version of NuGet packages of Boost comes with ICU support? Or should it be build manually including ICU flag?

The issue is that during locale checks, localization_backend_manager of boost_locale-vs141 appears to be with NO icu:

screenshot from 2019-01-28 15-42-50

vc packages

For example, boost_atomic-vc.1.58.0 depends on

  • boost_atomic-vc100.1.58.0,
  • boost_atomic-vc110.1.58.0,
  • boost_atomic-vc120.1.58.0,
  • boost_atomic-vc140.1.58.0.

Request: boost_zlib package

I was able to get boost_iostreams_zlib working following the note in issue #21, but this then introduces a dependency on boost_zlib, which is not available on NuGet. I've taken the liberty of packaging up boost_zlib-vc140 on NuGet as follows:

https://www.nuget.org/packages/boost_zlib-vc140/1.61.0

The binaries are taken from the boost-binaries SourceForge project. However, is it possible that you would be able to add boost_zlib to the packages you create and maintain? I can of course transfer ownership of the NuGet package I've added to you.

Thanks,
Owen.

All src packages are broken.

For Example, at boost_program_options-src.targets, defined macro is invalid.

<PreprocessorDefinitions>BOOST_PROGRAM_OPTIONS-SRC_NO_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>

BOOST_PROGRAM_OPTIONS-SRC_NO_LIB should be BOOST_PROGRAM_OPTIONS_NO_LIB.

boost_python numpy dependence

I use boost_python-src package and get a error message:

"xxxx\packages\boost.1.67.0.0\lib\native\include\boost\python\numpy\internal.hpp(29): fatal error C1083: Cannot open include file: 'numpy/arrayobject.h': No such file or directory"

I dont need a numpy support for project. When I edit boost_python-src.targets file and remove reference to boost/python/numpy sources files, a build is successfull. I tried to install numpy and make an own package for it, but it is a not trivial task.

nanosecond resolution libraries?

Sergey,
Thanks so much for providing these nuget packages, they've been really helpful.

For the date_time library, did you compile using the 96 bit resolution for posix_time? Or the standard 64 bit?

boost_locale-vc141 1.65.1 in Visual Studio 2017

Hi.
To test Message formating and Translation I created a console application and downloaded the nuget package: boost_locale-vc141 1.65.1 and with it the dependencie package boost 1.65.1

If I use the translate Method in the main everything works fine. Until define a variable of generator like in "the first fully localized program" example. Then I get 9 linker errors.

Error	LNK2001	unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)	translation	...\libboost_locale-vc141-mt-gd-1_65_1.lib(localization_backend.obj)

Error	LNK2001	unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)	translation	...\libboost_locale-vc141-mt-gd-1_65_1.lib(lcid.obj)

Error	LNK2001	unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)	translation	...\libboost_locale-vc141-mt-gd-1_65_1.lib(date_time.obj)

...

The member std::fpos::seekpos() is non-Standard

When I want to debug and build my project it gives me this error:
Severity Code Description Project File Line Suppression State
Error C4996 'std::fpos<_Mbstatet>::seekpos': warning STL4019: The member std::fpos::seekpos() is non-Standard, and is preserved only for compatibility with workarounds for old versions of Visual C++. It will be removed in a future release, and in this release always returns 0. Please use standards-conforming mechanisms to manipulate fpos, such as conversions to and from streamoff, or an integral type, instead. If you are receiving this message while compiling Boost.IOStreams, a fix has been submitted upstream to make Boost use standards-conforming mechanisms, as it does for other compilers. You can define _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING to acknowledge that you have received this warning, or define _REMOVE_FPOS_SEEKPOS to remove std::fpos::seekpos entirely.

drop support of Visual C++ 2010 from version 1.58.0 of Boost?

  1. Available Visual C++ Express 2010 edition doesn't support x64. There is a workaround using Windows SDK 7.1 but it's hardly compatible with Windows 8.1 and Visual C++ Express 2010 SP1.
    • possible solution: ship only 32-bit libraries. NuGet package description/tags should contain this information.
  2. I was not able to install proper NuGet package to Visual C++ Express 2010 SP1 so I can't test Boost NuGet packages.
  3. codeplex download page can't be bigger than 10000 symbols which is not enough to have references on all nuget packages. Possible solutions:
    • generate several CodePlex Download pages
    • make GitHub site sergey-shandar.github.io/getboost and place all download pages there.

Improve Boost build speed

Stanislaw Szczepanowski: "B2 has this nice param of โ€œ-j%NUMBER_OF_PROCESSORS%โ€. It dramatically speeds up the build. Consider adding that to the boost.cmd script.".

boost 1.67 python lib issue

See e.g. https://ci.appveyor.com/project/chcg/pythonscript/build/1.0.9.120/job/9lx99ogcnyvyapys

LINK : fatal error LNK1104: cannot open file 'libboost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION-vc140-mt-s-x32-1_67.lib' [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj]

of https://github.com/chcg/PythonScript/tree/boost_1_67.

Probably a known issue mentioned in https://www.boost.org/users/history/version_1_67_0.html which is fixed by:
https://www.boost.org/patches/1_67_0/0003-Python-Fix-auto-linking-logic-Windows-only.patch

Is it possible to build new packages of boost python XY with this fix?

OpenSSL

Is ASIO compiled with OpenSSL Support? It sure doesn't look like it.

Why not use official binaries?

Why not use the binaries from the 7z or zip file linked to here and then just pack them in a NuGet?
It saves you the time of building and the hassle of having some machine with all these compilers configured correctly + you know the binaries are exactly the same as the official ones.

Boost 1.70 signals missing

Hi there,

Wanted to upgrade by boost 1.68 to 1.70.
Seems nuget are missing from the repository.

Unable to resolve dependencies. 'boost 1.70.0' is not compatible with 'boost_signals-vc141 1.68.0 constraint: boost (= 1.68.0)'.

missing boost_unit_test_framework-vc142

Hi, I'm updating from boost 1.69 to 1.70 but I noticed there is no boost_unit_test_framework-vc142 on nuget, while it was there in previous releases? Was this a conscious choice or a missed package?

Link 1104 Error

I am working on a project that used libRETS of which boost filesystem is a dependency.I have created a new win32 console application and selected empty project, created a main.cpp file to include librets.h, and installed Boost 1.61 from Nuget, but when building the bare solution I get an error:

Error LNK1104 cannot open file 'libboost_filesystem-vc140-mt-gd-1_61.lib'

Do I need to download the Boost source distribution and rebuild the library with any additional flags to b2 or can this be easily fixed with a couple settings that may need to be toggled in my project? Thank you help will be appreciated.

boost::locales missing dependency to boost::system

boost_locale-vc141 does not work, requiring an additional install of boost_system-vc141 and manually add "boost_system-vc141-mt-1_64.lib" to project's Additional Dependencies, with the location of the library file .dll in the root folder of course. Although in the dependencies "boost_locale-vc141" only the "boost" is indicated.

1>libboost_locale-vc141-mt-1_64.lib(generator.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(localization_backend.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(lcid.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(date_time.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(generator.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(localization_backend.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(lcid.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) 1>libboost_locale-vc141-mt-1_64.lib(date_time.obj) : error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) 1>E:\Yandex.Disk\Projects\OS\Release\Devs.exe : fatal error LNK1120: 2 unresolved externals

Visual Studio 2017 Update 3 support

https://stackoverflow.com/questions/30760889/unknown-compiler-version-while-compiling-boost-with-msvc-14-0-vs-2015#30959156

change:

#if (_MSC_VER > 1910)
#  if defined(BOOST_ASSERT_CONFIG)
#     error "Unknown compiler version - please run the configure tests and report the results"
#  else
#     pragma message("Unknown compiler version - please run the configure tests and report the results")
#  endif
#endif

to:

#if (_MSC_VER > 1911)
#  if defined(BOOST_ASSERT_CONFIG)
#     error "Unknown compiler version - please run the configure tests and report the results"
#  else
#     pragma message("Unknown compiler version - please run the configure tests and report the results")
#  endif
#endif

boost_zlib 1.62.0 package missing include files

Unfortunately the boost_zlib 1.62.0 package appears to be missing the "include" directory (and the zconf.h and zlib.h header files). These were present in my 1.61.0 package.

The lack of them means that an application including boost_iostreams_zlib-src won't build without manually copying over the zlib include files. I can do this if necessary, but I would have thought it should all just work "out of the box".

boost_python3 libraries not built correctly

The boost_python3 library uploaded to nuget.org (https://www.nuget.org/packages/boost_python3-vc140/) seems to be compiled against the wrong python version. The libraries

  • boost_python3-vc140-mt-1_64.lib
  • boost_python3-vc140-mt-gd-1_64.lib

export the symbol

struct _object * __cdecl boost::python::detail::init_module(char const *,void (__cdecl*)(void))

when they should export

struct _object * __cdecl boost::python::detail::init_module(struct PyModuleDef &,void (__cdecl*)(void))

See boost/python/module_init.hpp:

#  if PY_VERSION_HEX >= 0x03000000
BOOST_PYTHON_DECL PyObject* init_module(PyModuleDef&, void(*)());
#else
BOOST_PYTHON_DECL PyObject* init_module(char const* name, void(*)());
#endif

Make sure you actually compile boost_python3 for python3

Integration of nuget package in an Visual Studio C++CLR dll Project raise linker error

Hi,

thanks for the newest version, I really like how you prepared it.

I tried to update my boost.1.6.3 to boost.1.6.4. with the help of your nuget package
But i got

  • Error LNK1104 cannot open file 'libboost_atomic-vc140-mt-gd-1_64.lib'

I didn't understand where this was coming from, but I found it out, ... in some way ...
It's not happening in Normal C++ Projects only in C++/CLR Projects.
Because in some way then the 'libboost_atomic-vc140-mt-gd-1_64.lib' get referenced. How i don't know.

Actually I thought it's only possible by

  • adding the lib file into the project properties, where it wasn't
  • with the target file but in none of this it was referenced,
  • I read about #pragma comment(lib, "lib.lib") but i found none active in the code base (only 4 commented parts)

I made a project to test it,

  • MS C++/CLR with Boost.1.64 -> not working Link errors
  • MS C++ with Boost.1.64 -> working
  • MS C++/CLR with boost_atomic-vc140.1.64 -> working

Boost164.zip

I do not know if this is an issue for boost, the right dependencies or visual studio.
Besides boost maintainers itself I wrote here and a message to visual studio (because i couldn't find where the linking happened and that it was nowhere logged).

Well long short. Thanks for reading this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.