Comments (14)
Hi @kingofoz, the first bug is fixed in nim devel.
The second is interesting.
In the command prompt where you run nake, what does the following say?
nimble.cmd path nimx
Are you using cmd or cygwin shell?
from nimx.
Hi @yglukhov
For the first issue, I will try nim devel.
For the second issue, the output of "nimble.cmd path nimx" is "'nimble.cmd' is not recognized as an internal or external command, operable program or batch file."
So nimble.cmd is not found. I am using cmd on windows 7.
By the way, it is possible to run nimx on Andriod?
from nimx.
@kingofoz, sorry for delayed response. How do you run nimble then? Does nimble path nimx
work?
By the way, it is possible to run nimx on Andriod?
Sure. Nimx "officially" supports Andoid, iOS, Windows, Linux, MacOS, JS and asm.js.
from nimx.
Hi @yglukhov
Sorry the the delay, I was occupied by some other stuff.
Today I tried with nim devel and the previous issues are gone, but I run into some dll lacking issues.
main.nim can compile, but it can not be run. See this:
Hint: abstract_pasteboard [Processing]
Hint: key_commands [Processing]
Hint: [Link]
Hint: operation successful (71552 lines compiled; 18.779 sec total; 102.008MiB; Debug Build) [SuccessX]
Hint: d:\labs\nimx\main.exe [Exec]
could not load: SDL2.dll
Error: execution of an external program failed: 'd:\labs\nimx\main.exe '
I downloaded a SDL2.dll and put it in the folder where main.exe exists. And main.exe can be run. Is this normal?
After this, I went to $(nimble path nimx)/test and ran nake, I got another dll lacking error:
nake
could not load: pcre32.dll
Please give me some guide on solving the issues.
from nimx.
Yes, nimx currently depends on SDL. Eventually we shall get rid of it =). As for pcre, unfortunately it is required by jester (maybe @dom96 will eventually switch to pegs or smth ;) ?). pcre32.dll should come with your nim installation. If you can't find it, please ask about it on the forum or submit an issue to nim tracker.
from nimx.
As for pcre, unfortunately it is required by jester (maybe @dom96 will eventually switch to pegs or smth ;) ?)
Create an issue in the jester repo and I will add a flag to disable it, but as far as regex is concerned it will stay in Jester (very few people know of pegs).
from nimx.
What we really need is a native Nim regex implementation ;)
from nimx.
@dom96 please see the issue dom96/jester#82
from nimx.
@yglukhov please remove SDL. I like nimx but don't like SDL. :-)
from nimx.
@yglukhov by the way, do we have any document about how to use nimx on Andriod?
from nimx.
@yglukhov please remove SDL. I like nimx but don't like SDL. :-)
Feel free to contribute! ;)
@yglukhov by the way, do we have any document about how to use nimx on Andriod?
Just run nake droid
, fix the errors it complans about, and thats it. Basically you'll have to have sdl sources, android sdk, android ndk, and set corresponding env vars (paths to all this stuff). Everything else nake droid
does for you.
from nimx.
I'm closing this for now. Feel free to open more specific issues.
from nimx.
What we really need is a native Nim regex implementation ;)
Is this still needed?
from nimx.
This exists nowadays https://github.com/nitely/nim-regex. We need it in our stdlib :)
from nimx.
Related Issues (20)
- Set Window Icon HOT 1
- makeLayout and CollectionView
- Nim 1.6.4 fail to run nimx HOT 1
- libwebp problem for Android HOT 1
- Documentation for NimX is unclear. HOT 3
- How to draw images on collectionView elements (rects) ? HOT 2
- Popup button breaks if used alongside makeLayout HOT 1
- Build fails with Nim 1.6.8 HOT 3
- Failed to load sdl2 HOT 4
- Autosized buttons HOT 1
- Directory window widget HOT 1
- Problems regarding SDL2 HOT 3
- getDisplayBounds() for nimx HOT 4
- some linebreaks are missing when label is narrow. HOT 1
- sample02_controls and sample03_image crashes. HOT 2
- livedemo in Brave browser is broken
- JS mode is completely broken since November HOT 2
- IME input does not work in the webGL demo HOT 1
- Install fails due to missing dependency "darwin" HOT 2
- Failed to build helloworld with nim 2.0 on Mac M2 HOT 1
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 nimx.