Author Topic: Compile windows: error pkg-config command not found  (Read 2283 times)

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Compile windows: error pkg-config command not found
« on: April 22, 2019, 03:13:31 PM »
I have a friend trying to compile attract from source on windows. I help remote using teamviewer. I never compile on windows so its new to me. We install msys2, successfully update the system and I confirmed all packages up to date. It seems like a stripped down version of arch.? Installed the required packages according to the wiki. Cloned and run make on attract, i get an error pkg-config command not found. I installed it manually from pacman. Still same error. Has anyone encountered this?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Compile windows: error pkg-config command not found
« Reply #1 on: April 22, 2019, 11:38:40 PM »
Why? A Linux cross-compile is better because it stores many libraries within the executable. A msys2 compile will require a lot of .dll files in order for attract.exe to run. http://forum.attractmode.org/index.php?topic=2278.msg15435#msg15435

My advice is to just use the daily Windows build here (which is a cross-compile) http://forum.attractmode.org/index.php?topic=2324.msg15751#msg15751 or cross-compile yourself.