mgba icon indicating copy to clipboard operation
mgba copied to clipboard

failed to build mgba qt

Open luc-git opened this issue 1 year ago • 2 comments

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

luc-git avatar Dec 31 '23 00:12 luc-git

Which generator are you using?

endrift avatar Dec 31 '23 00:12 endrift

visual studio

luc-git avatar Dec 31 '23 01:12 luc-git