Comments (5)
@zetashift Well... the problem was that my project's folder also contained a space... :) It's all working now. Compiled nicely and the stub is running.
Thank you for testing it, or otherwise I would remain thinking the problem wasn't on my end and wouldn't have double checked.
from godot-nim.
Are you using https://github.com/pragmagic/godot-nim-stub ? It shows how to attach a NativeScript to a Node and how to use godot-nim.
from godot-nim.
@zetashift I tried building godot-nim-stub with nake, but it tells me "Invalid GODOT_BIN path: C:\Users\Skaruts\Google Drive\Programming\Godot 3"
a million times until nake crashes.
I have no idea what can be causing that. I'm thinking about the fact the path contains spaces, and also that I have several versions of godot in the folder, where each executable is named differently, such as Godot_v3.2-rc1_win64.exe
.
The problem was indeed that the path can't take spaces, and I overlooked the requirement that it must point to the executable, not just the folder. So nake is working.
However, it just keeps restarting godot, and saying Failed to generate api.json
. I'm doing this with the most recent version of godot (3.2_rc1), which I'm not sure it's supported.
from godot-nim.
@Skaruts, yeah I was about to point out that it needs the executable path, glad nake is working now. Might be worth to check open up an issue either on nake or nim repo (if it uses the stdlib to work with paths) to make sure spaces are allowed.
As for your error Failed to generate api.json
, I tried to reproduce but I'm not on Windows. With a clean install of godot / nake and using Godot RC1 I get a succesfull compile using latest Nim devel.
This is however on Linux x64. I'll have Windows access next week then I could check for you, but it should work.
Any more info about the error?
from godot-nim.
Closing as a duplicate of #17.
from godot-nim.
Related Issues (20)
- Nim constructor not found for class BulletPhysicsDirectSpaceState HOT 1
- Issue with connecting signal BodyEntered (area) HOT 1
- Generate .dll for other platforms (like Linux) HOT 4
- New native extension system for 4.0 HOT 1
- Basis getEuler behavior
- Add proc directionTo for vector2 and vector3
- GDExtentions Support HOT 1
- Nake Build Error HOT 14
- Nake build failed if GODOT_BIN path contains space character
- How to deal with exceptions? (and other beginner notes) HOT 7
- Documentation search doesn't do anything
- Export questions HOT 2
- Is this abandoned? What's happening HOT 4
- nake build error:: type expected but got symbol 'Array' of kind 'enumField' HOT 2
- godot-nim crashing godot (windows 10) [Solved?]
- I can't find the answers
- Error: type expected, but got symbol 'Array' of kind 'enumField' HOT 1
- is this abandoned? HOT 7
- Output is flooding with `A foreign thread is created` when i use NavigationAgent
- Cant compile to wasm
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 godot-nim.