mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.67k stars 780 forks source link

failed to build mgba qt #3098

Open luc-git opened 9 months ago

luc-git commented 9 months ago

Hello. When I build mgba with qt. cmake throws

  Evaluation file to be written multiple times with different content.  This
  is generally caused by the content evaluating the configuration type,
  language, or location of object files:

   C:/Users/luc/source/repos/mgba/build/qt/updater.qrc

error.

This bug happens with qt installed by aqt installer.

To fix the bug I just had to comment the following line: https://github.com/mgba-emu/mgba/blob/d83b2f99cd3d35509cf110bb47cbc72f569a31ed/CMakeLists.txt#L1025

endrift commented 9 months ago

Which generator are you using?

luc-git commented 9 months ago

visual studio