Comments (5)
It works for me. Try building godot-cpp (which has its own SConstruct) before trying to build the demo. The demo's SConstruct should call godot-cpp's SConstruct, but you should check that godot-cpp is working first.
Take a close look at the error message you are getting. Make sure that the files it's looking for actually exist. You posted above Cannot open include file: 'godot_cpp/godot.hpp': No such file or directory
, but this file does not exist (there is godot-cpp/include/core/Godot.hpp
).
If you are still having issues try doing a fresh clone and let Git initialize the submodules. It sounds like you are manually moving around folders which should not be required. When you download you want to use the git clone
command and then the git submodule update --init
command to initialize the submodules.
from gdnative-demos.
GitHub is not a support forum. If you need further help consider using one of the community channels such as Discord.
from gdnative-demos.
You need to use godot-cpp
(with -
) not godot_cpp
(with _
).
from gdnative-demos.
Thank you for reply. I don't understand it.
I try to rename folder from godot_cpp to godot-cpp
And move gen folder to godot-cpp\include
not working
from gdnative-demos.
WOW! thank you for detail answer. I'm stupid and can not thinking if short reply. I didn't fix _
to -
whatever to binding or compile something. I must git clone --recursive https://github.com/godotengine/godot-cpp
and then the git submodule update --init --recursive
command replace manually download from github.
from gdnative-demos.
Related Issues (19)
- simple_get_data leaks memory
- Reorganise projects so source is separate from godot project HOT 5
- add windows example HOT 3
- what about android/ios builds HOT 13
- How do I run the C++ demos on OSX? HOT 2
- Request: Demo of an EditorPlugin HOT 4
- GLFWDemo is outdated to the api and the headers
- Need to make target=release work on linux and mac HOT 1
- Unknown template GodotScript HOT 2
- Add a README file to the repo HOT 1
- Add README files to all projects in the style of godot-demo-projects HOT 1
- Move the WebRTC demos to this repository HOT 2
- gd native
- Linux. GLFW Crash after terminating the Godot Project HOT 2
- Windows running cpp/simple project results in failure. HOT 3
- Samples are out of date, and don't compile cleanly on Windows 10 HOT 4
- trying to build the demo Simple i get fatal error: 'gdnative_api_struct.gen.h' file not found HOT 7
- godot_native_init not found HOT 3
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 gdnative-demos.