tg
tg copied to clipboard
Problems building for windows
I'm struggling to build this project on Windows. I've installed and updated MSYS2 - no issues there.
I then tried pasting this entire code into the MSYS shell:
```sh
pacman -S mingw-w64-x86_64-gcc make pkg-config mingw-w64-x86_64-gtk3 mingw-w64-x86_64-portaudio mingw-w64-x86_64-fftw git autoconf automake libtool
git clone https://github.com/vacaboja/tg.git
cd tg
./autogen.sh
./configure
make
but nothing happened, it instantly returned to > So I tried typing the lines following sh in one by one, the pacman and git lines directly into the MSYS shell, and the remainder into Mingw64.exe shell. The application build, but running it (as administrator, and after copying all the .dlls from a released version of TG) produced the dreaded: the application was unable to start correctly (0xc00007b)
Any suggestions?
I've had another look at this, and although I can't get the application running as a stand alone, distributable executable, it is running successfully within the mingw64 shell. In addition to the instructions given in Readme.md I had to issue export PATH=${PATH}:/C/msys64/mingw64/bin so the autogen could find the compiler, and export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig/ so the configure could find the gtk package.
after make, the application can be launched with: ./tg-timer.exe
Good luck, Jake