New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and Dependencies - Windows #3
Comments
Hi, currently I am working on this project to rewrite the builder to use cmake instead of gyp. Gyp is great and I was actually quite reluctant to move away from it but cmake will give me more flexibility to get the builds working on more platforms. So for now, all I can do is suggest you wait. I should have a cmake version out relatively soon. |
Thanks, @tyduptyler13! Meanwhile, I'll be making some tests and taking a look at bindings, particularly nbind. |
Sounds great. :) I am glad that the project caught someone's attention. I personally believe this project has a great potential for success. I just need to carve out some more time to work on it. I might do some this afternoon. See if I can get the basic build working again. Unfortunately I started migrating builds half way between changing the underlying renderer to bgfx but I will see if I can't hack something together. |
Sorry for the late response. Been a little busy lately. It really does have potential. I tend to run away from Qt 😅, and have been using electron for a while now, so it's great. Thanks! |
Not a problem I have been pretty distracted with work lately anyways. I too have been working to create a game of my own but unfortunately I need the money and talent to get something like that off the ground. I feel like I may get back into this again soon though. My distractions are running out 😄 and I miss doing engine programming. |
Encountered the same error, any updates? `
|
The current build is still in pieces. I keep looking at the engine to improve it but just haven't had the motivation to implement the core renderer again. If you want to toy around with the engine I recommend checking out the Alpha-7 tag and building that. It should work ok so long as EVERYTHING is built using the same compiler. (I'm pretty sure you'll be ok since you are on mac, but if electron was cross compiled then its a huge pain to build properly) I am glad to see that there is still interest in this project though. Would you mind sharing what attributes about this feel the most worthwhile to you? |
For me personally, I'm still exploring possibilities. Thus, the idea is to use Electron as a base, do prototyping first before I implement all the low level systems in C++ with the possibility to move that logic later to C++. Currently the big question is if I can use my own render context which seems you have/had figured out. |
Hi, thanks for sharing. Yes, if you are interested in sharing contexts then Alpha-7 was the last stable release and will happily do what you need (although you may have to implement some shaders and such). Since then I figuratively have ripped everything appart again to put bgfx in as the core rendering framework with all of my math and object libraries as an abstraction layer. I originally started this with the goal of being a native speed rendering library with an API that is extremely similar to three.js that was easy to mod/prototype with nodejs. Since then I also added electron with the goal of having html as a UI framework but also added the bonus of having other window controls and browsing. The problem with this is remaining abi compatible with electron is a huge pain and I've been hoping to replace it with something else. I am open to any external input for design or desired features though. |
Good evening!
I'm really interested in this project (the idea of electron, node and c++ working together). I want to figure out how you put it together and I've been trying to run this project in Windows. But I'm not entirely sure what might be missing.
Here's my process thus far, based on the errors yielded by trying to run
npm install
:C:\MinGW\bin\
toPATH
(so I can usemake
from cli)npm install -g node-gyp
npm --add-python-to-path='true' --debug install --global windows-build-tools
(because gyp wasn't finding python - this way it installs 2.7 and so on)git submodule update --init --recursive
(to install git submodules.git submodule init
didn't really work, maybe due to my git version)With the above, the result of running
npm install
still yields the following error:gyp: Dependency 'build.gyp:glsl-optimizer#target' not found while trying to load target build.gyp:MyEngine#target
Running
node-gyp configure build
directly yields the same result.What should I do to install it?
Maybe we can use this fresh attempt to make a step-by-step windows build guide of the project 😄
The text was updated successfully, but these errors were encountered: