Git Product home page Git Product logo

Comments (6)

darkstar avatar darkstar commented on June 9, 2024 1

msys/mingw libraries are not compatible with MSVC. You either need boost/icu libraries that were compiled on MSVC, or compile them yourself.

Also make sure that you are using the same runtime in your MSVC build that was used when compiling boost/icu (i.e. /MD, /MT, /MTd, etc.) as otherwise you will get strange crashes

from xoreos.

DrMcCoy avatar DrMcCoy commented on June 9, 2024

I'm kinda at a loss here, sorry. This sounds to me like a completely broken Boost installation?

How did you install Boost? If you're using MSYS2 and use the ICU from MSYS2, you need to install the boost libraries using pacman within MSYS2 as well. Some parts of Boost depend on ICU, and you do obviously need the ICU version the Boost libraries were compiled against.

(However, you should be able to install multiple versions of ICU at the same time, as long as they're all compiled to have the version number encoded within the soname. You can even link against several different ICU versions within the same project, since ICU can encode the version number into its namespace as well. Not that I'm saying that's what you should do here, but ICU is able to cope with that.)

from xoreos.

rickjs avatar rickjs commented on June 9, 2024

Made mistake, said mingw62, meant mingw64
How did you install Boost?
Used pacman -U mingw64 boost file,1.62 version

Some parts of Boost depend on ICU,
Yeah, locale does.
Installing icu 57, let you know results

from xoreos.

rickjs avatar rickjs commented on June 9, 2024

Installed icu 57 using pacman.
Rebuilt common, google test libs.
Using common datetime test for quick build.
Rebuilt common datetime test, same error, boost locale can't find reference to icu_57 objects.
libboost_locale-mt.a(icu_backend.o undefined reference to `icu_57::Locale::Locale()

from xoreos.

seedhartha avatar seedhartha commented on June 9, 2024

It's not clear to me, what you're trying to do. If compiling xoreos using VS 2017 and Boost is what you want, you could always install prebuilt Boost libraries from (https://sourceforge.net/projects/boost/files/boost-binaries/) and pass it to CMake as - DBoost_INCLUDE_DIR. What do mingw and msys have to do with anything? :)

from xoreos.

DrMcCoy avatar DrMcCoy commented on June 9, 2024

Yeah, I'm going ahead and close this issue as not a bug. Feel free to reopen with more information if it still occurs.

from xoreos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.