-
Notifications
You must be signed in to change notification settings - Fork 3
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
运行失败 #1
Comments
你这似乎是没安装python和mojo 0.6.0 |
都正常安装了的 |
xxx@xxx: |
试试用以下命令: |
还是有错误,是否是因为您的环境中是python而不是python3?然后您代码中指定了是使用python? |
正常安装的python。都是可以直接调用python的,默认python就是python3。我安装的是miniconda3.11: |
你试试改一下./scripts/mojoc,将里面的#!/usr/bin/env python,修改成#!/usr/bin/env python3试试,或者删除这行,直接用: |
这不能,我是ubuntu自带的python,是python3: |
请更新代码,我已经把代码中的: |
同样有错误: |
这个问题是否是因为需要编译libmoxt.so? |
我按照您的教程已经安装了 xxx@xxx:~/Downloads/moxt-cpp$ xmake -vD |
你需要先安装xmake,安装教程参考: 另外建议安装gcc11,安装命令可能如下: |
好吧,非常感谢您,我对C/C++比较陌生。我在看看xmake如何编译 |
我使用xmake构建时,出现了大量的错误信息,这是最后小段打印的错误信息 => install photonlibos @default .. failed stack traceback: |
这些错误的信息,我感觉像是您提供的代码无法构建成功: xaccel@xaccel:~/Downloads/moxt-cpp$ . gen-cmake.sh [ 1%] Building CXX object third_party/CMakeFiles/easy_weak.dir/easy_weak/easy_weak.cpp.o |
1.确保安装好xmake: |
在第二步出现了错误: xaccel@xaccel:~/Downloads/moxt-cpp$ xmake --version
xaccel@xaccel:~/Downloads/moxt-cpp$ xmake f -c [ 1%] Building CXX object third_party/CMakeFiles/easy_weak.dir/easy_weak/easy_weak.cpp.o |
请看输出中的: |
十分的感谢您耐心解答 |
重新更新了多处代码,并且更新到mojo v0.6.1,目前已经增加websocket等支持,运行稳定 |
xxx@xxx:~/Downloads/moxt$ ./moxt_test.sh
/usr/bin/env: ‘python’: No such file or directory
./moxt_test.sh: line 3: ./moxt_test: No such file or directory
The text was updated successfully, but these errors were encountered: