Comments (9)
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.
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.
@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.
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.
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
):
from tileson.
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.
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
from tileson.
@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.
from tileson.
Related Issues (20)
- Remove warnings HOT 1
- u8_string problems HOT 2
- Make sure Tileson has full C++20 support! HOT 3
- Tile properties are only loaded for first tileset HOT 2
- How to parse infinite maps? HOT 2
- Fix Catch2 error with GCC 11.2
- Add support for Tiled 1.8 HOT 1
- CMake Issue when building tests on Windows with MinGW/G++
- Tile layer data compression HOT 2
- Tileset::GetImage() returns a space before extension
- Multiple definition of `std::type_info::operator==(std::type_info const&) const` HOT 6
- Add support for Tiled 1.9
- [SUGGESTION] Add a conan package for library HOT 2
- Update README and documentation for v1.4.0
- Access violation when getting the drawing rect of a tile by id HOT 4
- 'tson::World': no appropriate default constructor available HOT 6
- Text object is missing several important fields. HOT 3
- Add an option to be able to read Tiled Projects and its maps through memory.
- Add an option to be able to read Tiled Worlds and its maps through memory.
- Make sure tson::Class objects with modified values are updated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileson.