GithubHelp home page GithubHelp logo

编译问题 about alios-things HOT 7 CLOSED

alibaba avatar alibaba commented on April 26, 2024
编译问题

from alios-things.

Comments (7)

junjiec avatar junjiec commented on April 26, 2024

给一下更具体的命令,把VERBOSE打开,比如
aos make helloworld@linuxhost VERBOSE=1

from alios-things.

LShaoPeng avatar LShaoPeng commented on April 26, 2024

这个问题我刚刚尝试解决了一下,我将.mk文件替换成最新的之后,编译就没有问题了,编译命令:aos make alinkapp@mk3060 sds=1

from alios-things.

zhuoshuguo avatar zhuoshuguo commented on April 26, 2024

@junjiec 问一个小白问题,按照教程(包括视频教程),Windows平台,下完VS code后,创建helloworld工程后,点击build,为啥老是(找不到路径?):

[INFO-Build] Building...
[INFO-Build] -------------COMPILE OUTPUT START-------------
[INFO-Build] Making config file for first time
[INFO-Build] 
[INFO-Build] processing components: helloworld mk3060 platform/mcu/moc108 vcall init auto_component
[INFO-Build] 
[INFO-Build] Unknown component: helloworld - directory or makefile for component not found. Ensure the helloworld directory contains helloworld.mk
[INFO-Build] Below is a list of valid local components (Some are internal):
[INFO-Build] 
[INFO-Build] mcu.mkl27z644
[INFO-Build] mcu.csky
....
INFO-Build] Below is a list of valid components from the internet:
[INFO-Build] 
[INFO-Build] 
[ERROR-Build] make.exe: *** No rule to make target 'd:/Test_vs_codes/hello/out/helloworld@mk3060/config.mk', needed by 'main_app'.  Stop.
[ERROR-Build] 
[ERROR-Build] [aos] ERROR: "d" returned error code 2.
[ERROR-Build] [aos] ERROR: Command "d : / T e s t _ v s _ c o d e s / h e l l o / a o s / b u i l d / c m d / w i n 3 2 / m a k e . e x e   - e   H O S T _ O S = W i n 3 2   T O O L S _ R O O T = d : / T e s t _ v s _ c o d e s / h e l l o / a o s / b u i l d   - f   b u i l d / M a k e f i l e   - e   h e l l o w o r l d @ m k 3 0 6 0   A P P D I R = d : / T e s t _ v s _ c o d e s / h e l l o" in "d:\Test_vs_codes\hello\aos"
[ERROR-Build] ---
[ERROR-Build] 
[ERROR-Build] -------------COMPILE OUTPUT FINISHED-------------
[ERROR-Build] Build Fail!
[INFO-Build] Compile time: 10.11s

我漏过了什么步骤么?

from alios-things.

zhuoshuguo avatar zhuoshuguo commented on April 26, 2024

但是在Alios-things的源码目录下运行:

$ aos make helloworld@mk3060

貌似是可以编译的。编译成功。如何在VS code 中编译成功?

from alios-things.

librae8226 avatar librae8226 commented on April 26, 2024

感谢反馈,该问题已于近期修复,参考:
fb98c0a

fix bug when set APPDIR component

from alios-things.

zhuoshuguo avatar zhuoshuguo commented on April 26, 2024

非常感谢!~这回可以编译通过。

from alios-things.

librae8226 avatar librae8226 commented on April 26, 2024

👍cool

from alios-things.

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.