Comments (9)
Found the correct one however now I am getting:
nsa-000:mud-sample freebsd$ mud/bin/genie --gcc=linux-gcc gmake
cannot open /Users/freebsd/repo/_dev/mud-sample/mud/3rdparty/bx/scripts/bx.lua: No such file or directory
stack traceback:
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:96: in function 'dofile'
.../repo/_dev/mud-sample/mud/scripts/3rdparty/bgfx/bgfx.lua:6: in main chunk
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:96: in function 'dofile'
/Users/freebsd/repo/_dev/mud-sample/mud/scripts/mud.lua:6: in main chunk
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:96: in function 'dofile'
/Users/freebsd/repo/_dev/mud-sample/scripts/genie.lua:22: in main chunk
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:96: in function 'dofile'
[string "_WORKING_DIR = os.getcwd()..."]:45: in function '_premake_main'
from two.
Hi !
Two issues to fix there :
- I didn't include OSX genie binaries because I don't have an OSX computer.
The genie binary you are running was compiled with linux so I'm not sure it is supposed to work on OSX.
You can build genie from source by going in3rdparty/GENie/build/gmake.darwin
, and building that with make.
Put the resulting binary anywhere you like (for examplemud\bin\darwin
would be a good place) and run the commands with that one instead of the one inmud\bin
- The second error simply seems to be caused by the fact you didn't get all the submodules recursively, sor the
mud/3rdparty/bx
folder is probably empty. If you didn't clone with--recursive
or if there was an issue go in the mud folder and rungit submodule update --init
from two.
Thanks!
Resolving deltas: 100% (527/527), done.
Cloning into '/Users/freebsd/repo/_dev/mud-sample/mud/3rdparty/vorbis'...
remote: Counting objects: 16260, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 16260 (delta 8), reused 12 (delta 6), pack-reused 16240
Receiving objects: 100% (16260/16260), 28.38 MiB | 2.70 MiB/s, done.
Resolving deltas: 100% (12812/12812), done.
Submodule path 'mud/3rdparty/FastNoise': checked out 'faba4443efcd85ad55bf5dd85c8ee458d427d6aa'
error: Server does not allow request for unadvertised object 82cf20e4fb0472b69aac01afe3e79c7a207d631a
Fetched in submodule path 'mud/3rdparty/GENie', but it did not contain 82cf20e4fb0472b69aac01afe3e79c7a207d631a. Direct fetching of that commit failed.
Failed to recurse into submodule path 'mud'
Seems like a problem with one of the submoduls.
from two.
Ah, sorry, I realize you're using mud-sample
. I think it fell a little bit behind. Two options :
- I just pushed an update to mud-sample to fix that issue. If you want to keep using
mud-sample
, you have togit pull
and thengit submodule update --init
in bothmud-sample
and then inmud-sample/mud
. If you run into any issues you can juste clone the whole thing from scratch also. - You can directly clone and build from the
mud
repository itself : it contains most examples already. If you want to do that, start from scratch : remove mud-sample, clone mud recursively, and build that one with the tips above.
For live help you can also come to the mud gitter room : https://gitter.im/hugoam/mud
from two.
Thanks for the effort.
I am working on win 10, vc 17, should I still use:
genie.exe --gcc=linux-gcc gmake ?
I have no executables under bin:
from two.
Ok found that for Win 10 its:
genie.exe vs2017
Lets see how it works
from two.
exe created by execution crashes; should I run from a nother dir?
from two.
Nope, it should work ! If you can run it with the debugger and tell me where and how it crashes / give me a stack trace, that would help me solve the issue :)
(Also, if you manage to capture what was written to the console before it crashed, that can help too.)
from two.
It's been a while and mud has changed a lot. OSX build is fixed, but has some issues running with the Metal backend (see #7). Please reopen an issue if you can produce a stacktrace that crashes on windows with the latest version.
from two.
Related Issues (20)
- 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? 🤔
- 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
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.