Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I know, it sounds ridiculous but I was asked to make an application backwards-compatible with win98. Specifically, I am interested in the boost-thread library that I have used. So, where can I find information about which version of the boost libraries is compatible with which operating system?
It depends on which version of Boost you are interested in.
You can go through the Boost version history and search the Release Notes for one that lists a compiler that supports Win98.
A quick search hints that this is likely to be MSVS 2005. This means Visual C++ 8.0.
The latest version of boost that I've found to list this version of VC++ as a supported (and targetted) compiler is boost 1.52.0.
The Boost Thread library has been around since version 1.25.0, so this seems like an acceptable candidate.
Conveniently, the link to download the source code (of any particular version) are also provided on the version history page.
See http://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/log/installation.html
It requires XP or newer, and at least VC8.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
The latest XCode clang has support for c++17 but I'm not sure if older iOS devices (e.g., iPhone5, iPhone6) would have the libc++ library to support that. Is there a way to find out if I can use C++17 to build ios apps that supports all supported iOS versions?
Reference:
iPhone5, with iOS12 is still supported
https://support.apple.com/guide/iphone/supported-models-iphe3fa5df43/12.0/ios/12.0
The answer is yes, to some extent. If you're back-deploying to older OSes, there are things from C++17 you'll be able to use, and others you won't be able to use. Just try using it and you'll get a compiler error if it's not available on your deployment target. This requires telling the compiler your deployment target, which is usually done with -mios-version-min=<version> (or similar for other platforms).
Specifically, a feature X that is implemented in the system library (libc++.dylib) won't be supported on OSes older than the first version that shipped a libc++.dylib with support for X. Anything that does not require any sort of library support, i.e. that is all implemented in the headers, will work.
We maintain availability markup in the libc++ headers to flag when you're using something that would break on your deployment target. This is done by using attributes like __attribute__((availability(ios,strict,introduced=<VERSION>))) on declarations that depend on something in the shared library. The compiler does the rest of the job -- if you try to use a declaration that hasn't been "introduced" in the deployment target that you specify, it will let you know.
Edit: I'm using iOS as an example above, but this works for macOS, watchOS and all other Apple platforms.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Recently I downloaded Qt 5.6
I didn't knew that installing visual studio is necessary to build with Qt.
I have a poor internet connection and somehow managed to download Qt. But now is it necessary to install visual studio of 7 GiBs which is nearly impossible for me to download with my shitty kind of internet? I had searched on google and found that MinGW can be used to build with Qt. Please help me to configure it.
You can download a pre-build version of Qt, building it yourself is not necessary or recommended for beginners:
http://download.qt.io/official_releases/qt/5.6/5.6.0/
The qt-opensource-windows-x86-mingw492-5.6.0.exe comes with MinGW 4.9.2 bundled.
Building Qt from sources can take many hours on a slow machine, and potentially fail for a number of reasons, also it has 3rd party requirements such as perl and python.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm fully aware of this question asking for the same thing. That question is closed and rather old. Accepted answer suggests rather complicated way of making your own cross-compiler and it requires cygwin.
Maybe now there are some other, simpler ways of doing this?
Actually, there is.
If you want cross-compile for linux on ARM, you can use linaro toolchain, which is available for windows. It doesn't require cygwin.
If you want cross-compile for linux on x86, that's a bit of a problem. The only ready-to-use toolchain (apart pre-built solution in that answer) that I'm aware of is "cross-compile tools" for Intel Edison (here). There are some drawbacks to it:
It will compile 32-bit linux binary
Version for windows 64-bit requires cygwin
Version for Windows 32-bit doesn't require cygwin but contains case-sensitive filenames (i.e. there are some files with names that differ only in case and windows will consider them the same file). You may have to make your Windows case-sensitive.
Windows binaries will be at "sysroots\x86_64-pokysdk-mingw32\usr\bin\i586-poky-linux"
To use edison toolchain you have to provide it with sysroot option for compilation and linking, something like this:
"i586-poky-linux-g++.exe" --sysroot=../../../../core2-32-poky-linux
ELLCC is available as a binary download for Windows, Linux, and Macs. It doesn't require cygwin, and can build Linux programs for several targets, including ARM. It is based on the clang/LLVM compiler.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Does this exist? Can someone recomend one if it does. I was going to use minGW from the command line but Boost does not support minGW from the command line.
Figured I'd go ahead and try and install an IDE and Boost .
Edit Ok, none of these actually come with boost. I don't know of an IDE that does (and frankly I don't know why it should). Installing Boost is pretty simple as it is. I interpreted the question to be:
What nice windows IDE does support compiling with Boost?
VS Express 2010 C++: http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
Code::Blocks and
eclipse CDT work with MingW
see http://ascend4.org/Binary_installer_for_Boost_on_MinGW
nuwen.net (thanks, Benjamin!)
My MinGW distribution ("distro") currently contains GCC 4.6.1 and Boost 1.47.0.
mingw-7.2.exe (16.8 MB) : This is a self-extracting archive. It's incredibly easy to install; see How To Install below.
I find BoostPro the easiest way to install pre-compiled boost binaries (libs, DLLs) and compiler pre-requisites (headers etc). http://www.boostpro.com/download/ (it's an installer that downloads whatever Boost modules you select and unzips them wherever you've told it to). All you need to do after that to use it is add the lib and include paths to your IDE/compiler. I personally recommend Visual Studio for Windows.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to use some cross platform C++ library for starting, stopping and getting standard output for processes. I found and I would like to use C++ POCO libraries:
are these good?
What's the best alternatives? I use Boost and they have Boost Process, but is not part of the official release and AFAIK it won't be neither very soon (development stopped at 2008).
Can you advise me a bit on this POCO lib or other?
I don't have any direct experience with the Processes lib in POCO but I'm a big fan of the project in general and the networking and threading libs in particular. Works great under Windows (MinGW & VS), OS X, and Linux.
I have used POCO cross-platform for iOS/Android and it was very straightforward, dynamic pointers, threading and much much more. There was some threshold on getting it running at first, but once first sample was running: no problems... You may want to check out our entire project here