Closed captainerd closed 1 year ago
Hello, sorry, I did not added any build scripts yet, I gues the best way to try and build it right now is to add every *.cpp files into a project and make sure default project path is on the root of it. If you need just run it then you can get precompiled windows binary from here https://github.com/minyor/syn2midi/releases
Hello, sorry, I did not added any build scripts yet, I gues the best way to try and build it right now is to add every *.cpp files into a project and make sure default project path is on the root of it. If you need just run it then you can get precompiled windows binary from here https://github.com/minyor/syn2midi/releases
So it seems have to try with mingw. and i will need to build also ffmpeg too? or i can use the headers of ffmpeg un-builded ?
It been to long, but I think I used bundled ffmpeg libraries they come both with .a and .lib, so I guess it should be possible to build it in VS, I did not tried though. You will need also build 'midifile-master', i saw a visual studio vcxproj inside of it
It been to long, but I think I used bundled ffmpeg libraries they come both with .a and .lib, so I guess it should be possible to build it in VS, I did not tried though. You will need also build 'midifile-master', i saw a visual studio vcxproj inside of it
Thanks, that worked fine. I didn't notice u had everything inside.. thanks for predicting it.
In case someone else wonders the same, Everything is included in "ffmpeg/ffmpeg-dev" and in "midifile-master" use the provided versions, use the .dll's in the release too, and compile with MingW :
1. cd midifile-master and "make library"
2. g++ -g -I"ffmpeg/ffmpeg-dev/include" -I"midifile-master/include" -L"ffmpeg/ffmpeg-dev/lib" -L"midifile-master/lib" report.cpp midi.cpp main.cpp -o output -lavformat -lavcodec -lavutil -lmidifile -lswscale -lswresample -lavdevice -lavfilter
Just that, i have VC 2022 Build tools, wondering how to build it