About Stellarium-web-engine

126 views
Skip to first unread message

sang sang

unread,
Apr 12, 2022, 7:56:58 AM4/12/22
to Stellarium
Hello!
Recently,I have tried to run this engine.However,when I run “make js”, I always report an error:
         “emscons scons -j8 mode=release
          - Cannot openmake.exe": *** [js] Error 1”

I tried many kinds of methods, but I still can't run.I really want to know the solution, so I ask questions here.

Thank you,Looking forward to your reply。

------

With best regards,Sangs


Fabien Chéreau

unread,
Apr 13, 2022, 1:22:37 AM4/13/22
to Stellarium
Hi,

we only use linux to build the code, please try on linux because I am not familiar with a windows dev environment.

Fabien

sang sang

unread,
Apr 13, 2022, 2:20:26 AM4/13/22
to Stellarium
Thank you very much! I found out the reason yesterday,so I try to compile the code in Ubuntu 20 04.However,there are similar but different problems.Later, I downgraded the emscripten version from 3.x to 1.40.1,successfully solved the problem and compiled the code,which make me feel excited!
There may be a bug in "apps/simple-html/debug-page.html".On line 9 of the code,<script src="https://unpkg.com/vue/dist/vue.js"></script>,404 error will be generated.
I tried to change this code to <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>.The 404 error has been resolved, but there are some other problems.These problem may be caused by the Vue version I use, so I'm looking for another solution.
Thank you again for your reply
-----
Sangs
Reply all
Reply to author
Forward
0 new messages