Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building for windows #14

Open
jakelewis3d opened this issue Feb 4, 2019 · 1 comment
Open

Problems building for windows #14

jakelewis3d opened this issue Feb 4, 2019 · 1 comment

Comments

@jakelewis3d
Copy link

jakelewis3d commented Feb 4, 2019

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?

@jakelewis3d
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant