Skip to content

build error C2220 different #542 #1566

Answered by towbes
tourmaline3333 asked this question in Q&A
Discussion options

You must be logged in to vote

I just ran into a similar issue with latest base. After saving the chrono.h file in VS2019 (which auto saves as UTF-8 with BOM), I ran into another file that complained about encoding: mobutils.cpp. I opened that file and saved it, then build was successful after that.

However even after the successful build, topaz_game was still crashing after init_mobs. Debug showed it crashing trying to set a path variable.

I set my system locale from Japanese -> US and it fixed the issue.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@zach2good
Comment options

@tourmaline3333
Comment options

@zach2good
Comment options

@tourmaline3333
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by zach2good
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants