Code Monkey home page Code Monkey logo

Comments (14)

yglukhov avatar yglukhov commented on May 13, 2024

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.

kingofoz avatar kingofoz commented on May 13, 2024

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.

yglukhov avatar yglukhov commented on May 13, 2024

@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.

kingofoz avatar kingofoz commented on May 13, 2024

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.

yglukhov avatar yglukhov commented on May 13, 2024

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.

dom96 avatar dom96 commented on May 13, 2024

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.

dom96 avatar dom96 commented on May 13, 2024

What we really need is a native Nim regex implementation ;)

from nimx.

kingofoz avatar kingofoz commented on May 13, 2024

@dom96 please see the issue dom96/jester#82

from nimx.

kingofoz avatar kingofoz commented on May 13, 2024

@yglukhov please remove SDL. I like nimx but don't like SDL. :-)

from nimx.

kingofoz avatar kingofoz commented on May 13, 2024

@yglukhov by the way, do we have any document about how to use nimx on Andriod?

from nimx.

yglukhov avatar yglukhov commented on May 13, 2024

@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.

yglukhov avatar yglukhov commented on May 13, 2024

I'm closing this for now. Feel free to open more specific issues.

from nimx.

SerialDev avatar SerialDev commented on May 13, 2024

What we really need is a native Nim regex implementation ;)

Is this still needed?

from nimx.

dom96 avatar dom96 commented on May 13, 2024

This exists nowadays https://github.com/nitely/nim-regex. We need it in our stdlib :)

from nimx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.