Skip to content
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

HowTo #45

Open
windischb opened this issue Apr 19, 2018 · 2 comments
Open

HowTo #45

windischb opened this issue Apr 19, 2018 · 2 comments

Comments

@windischb
Copy link

Hi!

Is there any howTo or something similar for this?
I can't get it to run....

If i just try the TestEspressoCore it gives following Error:

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'libespr': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Espresso.NativeV8JsInterOp.V8Init()
   at Espresso.JsBridge.V8Init() in C:\_Daten\Repos\Github\Espresso\src\0_Start\JsBridge.cs:line 18
   at TestEspressoCore.Program.Main(String[] args) in C:\_Daten\Repos\Github\Espresso\Tests\TestEspressoCore\Program.cs:line 13

If i try to compile libespr i'll get:

Cannot open include file: 'v8.h': No such file or directory

A little startup Help would be great!!

@prepare
Copy link
Owner

prepare commented Apr 29, 2018

Hello @windischb ,
Sorry for late reply.

you need to build a libespr.dll first.

please see #30
it provides the examples + screenshots of how to build the libespr
in macOS (https://github.com/CompilerLab/Espresso/issues/7),
Linux (https://github.com/CompilerLab/Espresso/issues/6) and Windows
(https://github.com/CompilerLab/Espresso/issues/8)


Concepts:

a libespr is a modified version of

  1. v8 engine inside the nodejs => called Espresso-VE
    or
  2. a modified version nodejs.exe => called Espression-ND

First you must build the nodejs

then apply our 'patches'

see the manually patching step in

https://github.com/CompilerLab/Espresso/issues/12

, I also provide a 'semi-automate' patching tools =>#30


for nodejs 7-8-9 , the steps are the same

node10 will be tested soon

@prepare
Copy link
Owner

prepare commented Apr 29, 2018

The documentation will be added later
:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants