Comments (3)
Hi ! There is no cast needed, it seems to be a git submodules issue : the signature of the function has changed in bimg library, so if you have an earlier version of bgfx with a more recent version of bimg, you get the error you have. The versions of bgfx and bimg must match.
I'm not sure why you have a more recent bimg version though, in theory they are identified by the commit hash : https://github.com/hugoam/mud/tree/master/3rdparty
So your bimg repo should be at the https://github.com/bkaradzic/bimg/tree/bd3366bba0ab15df20ac5be5547c526ef147cfb1 commit and the bgfx repo should be at the https://github.com/hugoam/bgfx/tree/acf4b80bad43d0a7bd96706fa587d4eb87f7f57f commit. This should be the default situation just after you cloned "fresh" mud.
Did you by any chance pull a more recent version of bimg ?
from two.
Yes, I did. I manually cloned each dependency submodule. I will pay more attention to clone the proper commit.
When I do use the proper commits for bimg and the mud-sample mud, everything compiles fine.
For whatever reason, I get the following error in a normal clone:
$ git clone --recursive git://github.com/hugoam/mud.git
Initialized empty Git repository in /var/tmp/burgreen/dev/mud/github/mud/.git/
remote: Counting objects: 5009, done.
remote: Compressing objects: 100% (462/462), done.
remote: Total 5009 (delta 539), reused 527 (delta 353), pack-reused 4193
Receiving objects: 100% (5009/5009), 58.54 MiB | 12.39 MiB/s, done.
Resolving deltas: 100% (3249/3249), done.
Submodule '3rdparty/FastNoise' (https://github.com/Auburns/FastNoise) registered for path '3rdparty/FastNoise'
Submodule '3rdparty/GENie' (https://github.com/hugoam/GENie) registered for path '3rdparty/GENie'
Submodule '3rdparty/amalgamate' (https://github.com/edlund/amalgamate) registered for path '3rdparty/amalgamate'
Submodule '3rdparty/bgfx' (https://github.com/hugoam/bgfx) registered for path '3rdparty/bgfx'
Submodule '3rdparty/bimg' (https://github.com/bkaradzic/bimg) registered for path '3rdparty/bimg'
Submodule '3rdparty/bx' (https://github.com/bkaradzic/bx) registered for path '3rdparty/bx'
Submodule '3rdparty/glfw' (https://github.com/glfw/glfw) registered for path '3rdparty/glfw'
Submodule '3rdparty/glm' (https://github.com/g-truc/glm) registered for path '3rdparty/glm'
Submodule '3rdparty/json11' (https://github.com/dropbox/json11) registered for path '3rdparty/json11'
Submodule '3rdparty/lua' (https://github.com/lua/lua) registered for path '3rdparty/lua'
No url found for submodule path '3rdparty/nanovg-layers' in .gitmodules
from two.
The cloning issues should be solved by now, if you encounter them again please reopen an issue
from two.
Related Issues (20)
- Fix Metal backend on OSX HOT 2
- Build failing on `yacc` error HOT 2
- Failure to run any demos on Windows: GLFW error HOT 9
- build failure, Ubuntu 16.04 HOT 5
- Example 03_materials crashes HOT 6
- Example 05_character renders incorrectly HOT 4
- Example 06_particles does not render particles HOT 2
- Example 07_gltf renders materials incorrectly HOT 5
- GUI retina support? HOT 1
- sysmalloc assertion failure HOT 7
- build failing on BgfxSystem.cpp HOT 8
- Noob tutorial request
- Server does not allow request for unadvertised object xxxx HOT 2
- so many problems
- build on 64 bit
- .gitmodules have some issues HOT 1
- bin/windows/genie vs2017 fails HOT 1
- build fails due to bgfx shaderc webgpu dependency
- What bgfx::render type does **two** choose? HOT 1
- Force pushed clean commit history? 🤔
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 two.