Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload
Search found 4 matches
VCMI Project - Heroes 3: WoG recreated Forum Index
Author Message
  Topic: Build error on macOS: "source file is not valid UTF-8&q
catalina

Replies: 7
Views: 412

PostForum: Help & Bugs   Posted: 2017-07-04, 18:54   Subject: Build error on macOS: "source file is not valid UTF-8&q
SXX wrote:
Sadly dmg that built with CMake / CPack don't include all dependencies needed and I not even sure if they work at all.


Ah, makes sense. I tried building it that way (cmake -G Xcode etc.) and got a runtime crash that has something to do with Boost: https://gist.github.com/anonymous/6975a880ebb77284d24f67d65a655142
  Topic: Build error on macOS: "source file is not valid UTF-8&q
catalina

Replies: 7
Views: 412

PostForum: Help & Bugs   Posted: 2017-07-04, 14:57   Subject: Build error on macOS: "source file is not valid UTF-8&q
Thank you! I'll jump on Slack if I run into more issues.

Do you distribute the macOS DMGs anywhere, though? I see they're built and uploaded during the CI but I only see the Windows package here: https://github.com/vcmi/vcmi/releases/tag/0.99

EDIT: I see the Windows package is hosted on Dropbox but you can upload the binaries to GitHub as well, which might be more reliable.
  Topic: Build error on macOS: "source file is not valid UTF-8&q
catalina

Replies: 7
Views: 412

PostForum: Help & Bugs   Posted: 2017-07-03, 17:41   Subject: Build error on macOS: "source file is not valid UTF-8&q
SXX wrote:
Is it building fine with "-DENABLE_LAUNCHER=0"?


Happens with or without the launcher enabled; here's with it set to OFF: https://gist.github.com/dunn/f109ff2291babe85d4b798da0ae6f3b8

SXX wrote:
Also what Qt version do you using?


5.9.1, from Homebrew. Here's how I'm trying to build VCMI: https://github.com/dunn/homebrew-yolo/blob/vcmi/Formula/vcmi.rb
  Topic: Build error on macOS: "source file is not valid UTF-8&q
catalina

Replies: 7
Views: 412

PostForum: Help & Bugs   Posted: 2017-07-03, 15:44   Subject: Build error on macOS: "source file is not valid UTF-8&q
Trying to build VCMI with the editor on macOS (10.12.5), and it fails with a bunch of "source file is not valid UTF-8" errors:

Code:

/usr/local/opt/qt/lib/QtWidgets.framework/QtWidgets:1:1: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><U+0000><U+0006><U+0000><U+0000><U+0000><U+001F><U+0000><U+0000><U+0000><D0><U+0010><U+0000><U+0000><85><80><U+0011><U+0002><U+0000><U+0000><U+0000><U+0000><U+0019><U+0000><U+0000><U+0000><B8><U+0003><U+0000><U+0000>__TEXT<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><E0>D<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><E0>D<U+0000><U+0000><U+0000><U+0000><U+0000><U+0007><U+0000><U+0000><U+0000><U+0005><U+0000><U+0000><U+0000><U+000B><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>__text<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>__TEXT<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><A0>\<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><EA><B0>;<U+0000><U+0000><U+0000><U+0000><U+0000><A0>\<U+0000><U+0000><U+0004><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0004><U+0000><80><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>__stubs<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>__TEXT<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><8A>
^


Full logs, including build configuration: https://gist.github.com/dunn/3e8babff458f4f828de86c6f454bd6b3#file-03-make-L612
 
Jump to:  

Powered by phpBB modified by Przemo © 2003 phpBB Group

Hosting provided by DigitalOcean
Page generated in 0.03 second. SQL queries: 16