sergey-shandar / getboost Goto Github PK
View Code? Open in Web Editor NEWNuGet packages for Boost C++ libraries.
License: Boost Software License 1.0
NuGet packages for Boost C++ libraries.
License: Boost Software License 1.0
nuget delete boost 1.58.0-rc2 -ApiKey %1
...
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.
Hello,
The boost_iostreams_zlib package published to nuget.org appears to still be on version 1.60.0 - is there a 1.61.0 version available?
Something like boost-python-python27-vc140/boost_python-python34-vs140.
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)'.
See boostorg/python#129 and https://lists.boost.org/boost-build/2017/12/29715.php. Boost python3 windows packages before boost 1.67 (at least since 1.64) are wrongly build against python 2.7 instead of 3.x.
So e.g. https://www.nuget.org/packages/boost_python3-vc140/ seem to be broken and should contain a hint about this problem.
Is ASIO compiled with OpenSSL Support? It sure doesn't look like it.
I was trying to specify the linkage for the unit test library but I cannot find the Referenced Package section in the property sheet of my project. As far as I have understood this depends on the .targets file. The issue is described in detail with screenshots on SO at https://stackoverflow.com/q/45785216/159684 . Am I missing something or should I manually edit the targets file?
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.
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".
Hi Sergey,
Currently, there is no x64 platform support for boost_program_options-vc100
.
Could you please build and upload it on nuget.org? ๐
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
.
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
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
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?
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
For precompiled prerelase nuget pakages such as vc14ctp6 we need to accept any boost header files package from 1.57.0 (including) to 1.57.1 (excluding).
http://www.symbolsource.org/Public
Note: symbol packages for pre-releases should be deleted after release.
The bug was introduced in this commit 26e5b8b
Hi,
Any reason why you are not using the CoApp tools to produce your packages?
boost_python3-vc141 nugget package links against the wrong version of python (python27.dll when expected to link to python version 3)
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)
...
Any plans to provide support for regex and python for vc10?
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?
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.
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
The package version should be "1.57.0.vc140ctp6".
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::filesystem-vcXXX has a dependency to boost::system-vcXXX
it dose not compile without it
but in nuget package dependency isn't visible, boost::system had be installed manually
For example, vc110 package description should contain this line
Visual Studio 2012 Update 4
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.
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.".
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
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
I made a project to test it,
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.
I need to support Windows xp in my programm which uses boost. Do I have to compile the packages for myself. Or is there any other way?
For example, boost_atomic-vc.1.58.0 depends on
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.