Giter Site home page Giter Site logo

Comments (9)

TheMaverickProgrammer avatar TheMaverickProgrammer commented on August 16, 2024 1

I don't mean to self-plug here but my Swoosh project uses SFML. Feel free to steal copy my cmake script that uses git submodules to clone SFML as a dependency. I use this script for all my cross platform projects.

https://github.com/TheMaverickProgrammer/Swoosh

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024 1

On a side note, after the next merge to master, only #13 remains for version 1.2.0, which is all about stabilizing before the release and update the demo. The timing for this is perfect.

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

@TheMaverickProgrammer: When I first the demo it was something "quick and dirty" by request, that would build for all OSes, with the cost of some limitations like x86 for Windows. I haven't tried to build the examples in the newest master, as updating the examples is kinda the last thing I do before a release, but I'll boot into my Windows and see if I get the same error, and push a quick fix, eventually 🙂
I may fix, or at the very least improve the linking process in the examples for the 1.2.0 release, so it's not that dirty anymore 🙂

I'll get back to you!

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

Thanks! 😄
I have a cmake script using the proper way of building with SFML in another project,
but yours may be better for what I know. Appreciate the share nonetheless, and I think it's about time to make the example project right.

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

Just tried to build the very latest master on Windows, but I did not encounter any issues...
Maybe there is a local debug setting in your VS causing the issue?
I used these settings (Using VS 2019 Pro 16.7.4):
bilde

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

Also: Took a look at your Swoosh project. Looks very nice, and the CMakeLists.txt file is one of the cleanest CMake files I've ever seen. Well done 😄

I'll clean up the messy examples CMakeLists.txt before the release of 1.2.0, but you should be able to build and run the latest example with the latest master using similar settings that I used above. As said: I suspect a local Debug-setting causing build issues for you.

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

Did a quick google, and while old, this post seems related:
https://stackoverflow.com/questions/7668200/error-lnk2038-mismatch-detected-for-iterator-debug-level-value-0-doesnt

bilde

from tileson.

SSBMTonberry avatar SSBMTonberry commented on August 16, 2024

@TheMaverickProgrammer : I've just cleaned up the examples-CMakeLists.txt and I've verified that the examples now were able to build on both x86 and x64 in my Windows-environment. Can you test if this solves your build issue by getting the very last master build?
Thanks for addressing this issue. A cleanup in the examples build was very necessary, but I might not have cared too much about it if it had not been brought to my attention 🙂

from tileson.

TheMaverickProgrammer avatar TheMaverickProgrammer commented on August 16, 2024

from tileson.

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.