Code Monkey home page Code Monkey logo

Comments (6)

mkmik avatar mkmik commented on July 28, 2024

make should just work. The reason it doesn't is the same as #33.
If make would just work out of the box, would you feel it still needs more documentation?

from mongoose-os.

fedy2 avatar fedy2 commented on July 28, 2024

I've tried make but I get this:

fedy2@guendalinaXII ~/esp/smart.js/platforms/posix $ make
Makefile:31: ../../../v7/scripts/platform.mk: No such file or directory
make: *** No rule to make target `../../../v7/scripts/platform.mk'.  Stop.

from mongoose-os.

mkmik avatar mkmik commented on July 28, 2024

please pull and retry

from mongoose-os.

fedy2 avatar fedy2 commented on July 28, 2024

Perfect. Is working now.

from mongoose-os.

mkmik avatar mkmik commented on July 28, 2024

Thanks for reporting!

from mongoose-os.

DongDongig avatar DongDongig commented on July 28, 2024

I'm also trying to build smart.js for RPI2....
but i cannot figure out how to build...

Could you guide me to build specifically?

I did install "docker" and execute the "armbuild.sh" but I could see

root@ubuntu:/home/ubuntu/smart.js-beta2/smartjs/platforms/posix# ./makearm.sh GEN build/build_info.c
Traceback (most recent call last):
File "../../../common/tools/fw_meta.py", line 192, in
cmd_gen_build_info(args)
File "../../../common/tools/fw_meta.py", line 66, in cmd_gen_build_info
repo = get_git_repo(os.getcwd())
File "../../../common/tools/fw_meta.py", line 29, in get_git_repo
raise RuntimeError("%s doesn't look like a Git repo" % path)
RuntimeError: /cesanta/smartjs/platforms/posix doesn't look like a Git repo
make: *** [build/build_info.c] Error 1

And When I put just
$make
root@ubuntu:/home/ubuntu/smart.js-beta2/smartjs/platforms/posix# make
CC lnx_gpio.c -> build/lnx_gpio.o
CC lnx_i2c.c -> build/lnx_i2c.o
CC lnx_spi.c -> build/lnx_spi.o
CC main.c -> build/main.o
CC posix_hal.c -> build/posix_hal.o
In file included from posix_hal.c:33:0:
../../../mongoose/mongoose.h:707:25: fatal error: openssl/ssl.h: No such file or directory
#include <openssl/ssl.h>
^
compilation terminated.
make: *** [build/posix_hal.o] Error 1

I need to run smart.js on RPI2 or other arm board (32bit)
plz let me know how to do that...
thx in advance!!

from mongoose-os.

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.