ffmpeg compiling on MSVC9 (Visual C++ 2008) - compilation

i want to compile ffmpeg on windows MSVC9 (Visual C++ 2008) because i want to use it in wamp server 2 which is compiled using the same compiler however am currently at a loss of how to do this as there are no visual studio solution files. I know it is possible because people have compiled dlls but i cant seem to find just how they did it . There are also some precompiled dlls here but they are incompatible with my php version 5.38. Please help

FFMPEG does not compile natively under MSVC. You'll need to compile it under mingw or download pre-built libs/dlls from here
You will be able to compile your own apps against the link libraries with MSVC though.

Related

Is Microsoft C++ Build Tools available as portable (without installation)

We are currently using CUDA on windows which requires MS C++ Build tools installed. With every new version of the CUDA toolkit it happens that newer versions of Visual Studio are not supported. That's why we are using the MS build tools seperately so that the VS version doesn't matter.
Since its hard to guide our developers to install the right CUDA and MSVC version we have packaged it into NUGET packages so that the toolkit (especially NVCC) is in a defined version and location. Additionally we wanted to do this with MSVC but we couldn't find a good solution since the installer obviously does modifications on several places that we don't know.
Is there any good way to get the MSVC tools portable so that we can simply drop it into a folder and put the right pathes?
NVCC doesn't support GCC, otherwise I would have gone with this.

How to compile mex file in matlab 2014a, visual studio 2017 and win10?

I'm trying to compile a mex file using MATLAB 2014a. It returns an error No compiler found and I try mex -setup but it cannot find any compiler while I have installed `Visual Studio 2017'.
I'm using Win10 and I don't know how to fix this!
You are using a version of MATLAB that isn't supported on your OS (it is supported up to Windows 8.1), and a version of MSVC that didn't exist when it was released (it only recognizes MSVC versions 2008-2013).
However, it is supposed to have lcc-win32 bundled with it, which is a simple C compiler, and should be found by mex -setup.
If you want to compile C++ MEX-files, you will need to find MSVC 2013 or upgrade your version of MATLAB (highly recommended at this point).
Have you check whether your system is compatible or supported each other?
You may refer here https://www.mathworks.com/support/compilers.html

How to make boost multiprecision library work in Visual Studio 2010?

I downloaded and installed Boost. It works but multiprecision part of library (especially float128.h) needs some external libs depends on libquadmath from gcc. I downloaded MinGW, installed and it still doesn't work. How to make it work?

using Qt 5.0 with Qt Creator and vs2010 compiler

I recently decided to upgrade from Qt 4.X to 5, though now it has only vs2010 supported. Whenever I start Qt Creator I get that there isn't any compiler (and there are no options in the settings to set one).
Question:
How do I download the vs2010 compiler? Do I have to download vs2010 itself? Will I get a debugger as well?
I have tried this suggestion, but Qt didn't pick up the compiler: Using Visual Studio as a Compiler for QT Creator
Sorry if this question have been asked before, but I have been unable to find a source that explains what I should do.
Seems like you didn't install MSVC yet. Get it from Microsoft website.
Than download sources from Nokia. Unpack them to a new folder e.g C:\QtSources and compile them with MSVC. This instructions are working just fine.
Finally add them to Qt Creator in
Tools -> Options -> Building -> Qt Versions
by poiting to your new qmake executable in
C:\QtSources\bin\qmake.exe
Hope Qt 5 will work with free Express Edition of MSVC.
You shouldn't need to re-compile Qt, as the SDK version is built with msvc2010 32-bit. For debugging, you may need to download the Windows SDK 8. Qt Creator may auto-detect your compiler and debugger, but if not, proceed as follows:
Under Options/Build & Run/Qt Versions, point to qmake.exe
Under Options/Build & Run/Kits, set "Qt Version" to the one you just created, and set your compiler and debugger
The compiler should be auto-detected if it's on your system.
The debugger is something like C:\Program Files\Windows Kits\8.0\Debuggers\x86\cdb.exe.
Good luck!

Can I compile ffmpeg using cygwin so that I would get redistributable dll's of it?

So my point is to compile ffmpeg (I know that autobuild tools or minGW can be used but I want cygwin) using gcc to have a library (like .dll or, better .lib) usable from my windows visual studio C++ appication. Is it possible and what are main instructions on how to do such thing?
You seem a bit confused about the difference between MinGW and cygwin, but reading the following links will probably not be a waste of time:
http://www.cygwin.com/cygwin-ug-net/dll.html
http://www.emmestech.com/moron_guides/moron2.html
http://www.mingw.org/wiki/FAQ

Resources