The Wayback Machine - https://web.archive.org/web/20200628203953/https://github.com/faiface/pixel/issues/104
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

DOC: windows guide should include step to set path with mingw tools #104

Open
edmwagner opened this issue Mar 14, 2018 · 1 comment
Open

DOC: windows guide should include step to set path with mingw tools #104

edmwagner opened this issue Mar 14, 2018 · 1 comment

Comments

@edmwagner
Copy link

@edmwagner edmwagner commented Mar 14, 2018

in https://github.com/faiface/pixel/wiki/Building-Pixel-on-Windows#gcc-toolchain
the proper compilers are installed but use should also add them to the path with:

export PATH=/mingw64/bin:/mingw32/bin:$PATH

Otherwise they get confusing and hard to investigate build issues in c world like

  • ...errror: implicit declaration of fumction ...
  • ...ld: cannot find -lmingwex
  • ...ld: cannot find -lming32

I found mention of adding these to the path during investigation but it added them to WINDOWS PATH which is not inherited by the MINGW* environment by default. it was also posted as suggestions so took a while to try it.

The export above should be included and also appended to ~/.bashrc

echo 'export PATH=/mingw64/bin:/mingw32/bin:$PATH' >> ~/.bashrc

Once I did this builds were working as expected and suggested in the current docs.

@faiface
Copy link
Owner

@faiface faiface commented Mar 16, 2018

Hi, this is a good suggestion! I'm quite busy, though. Would you be so kind and make an improved version of the wiki article in a GitHub Gist, so that I can just copy and paste it in? (The reason for this obscure way of contributing is that only I can access the wiki.) Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.