Code Monkey home page Code Monkey logo

Comments (6)

timkurvers avatar timkurvers commented on September 14, 2024

Did you do anything out of the ordinary to get FreeImage to compile on Windows? Ran into some issues there. Will have a closer look at it later this week.

from wowser.

petersandor avatar petersandor commented on September 14, 2024

I did some changes in FreeImage, there was a missing include for std::min and std::max, see
petersandor/BLPConverter@6e32084

I can provide compiled DLLs (both 32 and 64 bit) if you need.

from wowser.

petersandor avatar petersandor commented on September 14, 2024

Finally made progress! Seems like using msvcr120 in blizzardry/lib/c-lib.js is enough. So this requires some platform detection to use that instead of libc on Windows.

Also making sure that Visual C++ Redistributable 2013 is installed

from wowser.

petersandor avatar petersandor commented on September 14, 2024

Confirmed, fixed by wowserhq/blizzardry@ef7672f and Kanma/BLPConverter#5

Closing this issue.

from wowser.

timkurvers avatar timkurvers commented on September 14, 2024

Yay, thanks so much for looking into this! 👍

from wowser.

DDuarte avatar DDuarte commented on September 14, 2024

@petersandor: did you test this on 32 or 64 bits? I'm getting the same issues on the fseek (the pointer returned by fopen doesn't seem to be valid) however I'm using VS 2015 with everything compiled to 64 bits.

Already tried changing the 'msvcr120' by 'msvcrt' (MS dropped versioned redistributables last year) without success.

Edit: 10 minutes later... managed to make it work by using 'ucrtbase' or 'ucrtbased' depending if 'libblp.dll' was compiled in Debug or Release.

from wowser.

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.