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

嵌入式Linux上怎么编译mvvm项目 #110

Open
Tracker647 opened this issue Aug 14, 2024 · 2 comments
Open

嵌入式Linux上怎么编译mvvm项目 #110

Tracker647 opened this issue Aug 14, 2024 · 2 comments

Comments

@Tracker647
Copy link

Tracker647 commented Aug 14, 2024

看了下README就只有纯awtk应用,搜了下issue, 有一个移植mvvm的,但是是讲开发板,帮助不大。

我的环境是Vmware下的Ubuntu20.04
我跟着README去下载编译,然后根据如何搭建 Ubuntu 调试环境的做法去启动项目,发现mvvm项目都是白屏

我的目录结构:

@ubuntu:~/CodeDraft/a_armlinux_migrate_demo$ ll
total 44
drwxrwxr-x 10 onwazdl onwazdl 4096 Aug 14 19:01 ./
drwxrwxr-x  4 onwazdl onwazdl 4096 Aug 14 10:31 ../
drwxrwxr-x 21 onwazdl onwazdl 4096 Aug 14 17:10 awtk/
drwxrwxr-x 12 onwazdl onwazdl 4096 Aug 14 19:17 awtk-linux-fb/
drwxrwxr-x 16 onwazdl onwazdl 4096 Aug 14 17:10 awtk-mvvm/
drwxrwxr-x 11 onwazdl onwazdl 4096 Aug 14 18:32 js_mvvm_list_item_test/
drwxrwxrwx 12 onwazdl onwazdl 4096 Aug 14 19:16 mvvm_fb_test_demo2/

我用的例子是mvvm的demo2和jsdemo13:
mvvm_fb_test_demo2.zip
js_mvvm_list_item_test.zip

试了下纯awtk项目就没有这个问题。
麻烦看看,谢谢。

@xianjimli
Copy link
Member

试试

scons LINUX_FB=true

@Tracker647
Copy link
Author

OK,能显示了,awtk-mvvm带上LINUX_FB=true编译,mvvm项目SConstruct设置也要加上ARGUMENTS['LINUX_FB']=true

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