Ok. I am trying to compile the following application on Windows (Segmenter, see step 3).
I checked out the source and changed the references so that’d all be good. It’s basically a one file app, with a reference to ffmpeg.
The makefile reads:
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad
I have the Visual C++ compiler, but I just have no clue how to compile the above line using that compiler, or should I grab Gcc for Windows?
The line indicates a very simple compile. It’s compiling the file with one standard argument (-g for compiling with debug symbols, on MSVC it’s /Zi).
But it’s linking with a lot of libraries (that’s all the -l options). I recognize two of those as standard compression libraries (bz2 and z), so you are going to need to build those libraries first.