你好,
我有以下系统配置:
1)SDK Workspace_smartsnippets_studio \ da1468x_da15xxx_sdk_1.0.10.1072,
2)SmartSnippets Studio v1.6.3.918
3)Windows 10 64位主机
我是SmartSnippet的新手,并每次UM-B-47安装了所有内容。我本周从对话半导体网站下载了所有内容。我导入一个项目,当我尝试构建它时,我收到以下错误:
PATH FREERTOS_RETARGET C / C ++问题中找不到程序“make”
I have tried multiple other projects, and get the same problem. I have reinstalled the SDK and also SmartSnippets, but can't seem to resolve this problem. I have tried hard coding the tools paths, but couldn't get it to clear.
请你能给我一个关于如何前进的建议吗?
Thanks in advance
瑞克Nardone.
Keywords:
Device:
Hi RNardone,
The SDK projects and the Smart Snippets Eclipse based Tool have predefined all the necessary configurations and paths in order for you to be able to buld a project. From what you are reporting i would assume that the eclipse isn't able to find the make.exe file in the PATH enviroment variable, please check the PATH variable and make sure that in one of the directories specified from that variable, the make.exe exists. For example, on my setup, the first directory that the PATH variable specifies is the C:\Program Files (x86)\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin; which contains the make.exe. Apart from that you can try to shorten the path manually and check if that solves your issue. Also you will be able to find solutions for this is issue on the web as well, since this is eclipse related.
谢谢mt_dialog.
你好,
You must have a different configuration. The only make.exe I can find is installed with Smart Snippets in the following directory:
C:\ diasemi \ smartsnippetsstudio \ tools \ mingw64_targeting32 \ msys \ 1.0 \ bin
我希望在安装智能片段或SDK期间正确配置PATH变量或SDK?
Hi RNardone,
您正在遇到的是智能片段的标准行为,智能片段的安装将从PC中获取当前路径,并将为Make.exe文件附加正确的目录,即使使用位于目录中的make.exe也是如此你提到智能片段应该能够找到make.exe并构建项目(至少这是我的设置上发生的事情,如果我从提到的目录中删除make.exe)。关于配置,我不使用特殊或普通配置的任何东西,显然,不同机器上的路径变量是不同的,出于您的安装原因,Eclipse无法找到make.exe文件(即使它也是如此在你提到的目的中)。因此,可能存在路径变量长度的问题,可以删除一些目录并试图检查是否有效?另外尝试并检查是否全部运行,因为它们应该在不同的PC上也是一个想法。
谢谢mt_dialog.
Hi MT_dialog,
当我修复上面发现的make.exe的路径时,那么我得到其他错误:
Description Resource Path Location Type
无法打开链接器脚本文件c:\ users \ichard nardone \ workspace_smartsnippets_studio \ da1468x_da15xxx_sdk_1.0.10.1072 \ projects \ dk_apps \ ble_profiles \ hrp_sensor / da14681-01-debug_qspi / mem.ld:无效的参数hrp_sensor c / c ++问题
Description Resource Path Location Type
制作:*** [hrp_sensor.elf]错误1 hrp_sensor c / c ++问题
Description Resource Path Location Type
make[1]: *** No rule to make target `mem.ld', needed by `generate_ldscripts'. Stop. hrp_sensor C/C++ Problem
有什么想法吗?
Hi RNardone,
Well, its seems that the setup doesn't generate the linker scripts in order for the make to complete the build, before the actual build occurs, eclipse will have to generate the linker scripts from the mem.ld.h file and consturct a mem.ld file in the build folder. Apparently that file is never builded in your case. Besides that indication that you get, that eclipse is not able to find the mem.ld file, there should be an additional indication that eclipse failed to generate this file at the begging of the console when the build has started in the pre-build phase. This can be due to a number of reasons, like the makefile.targets file isn't in the project directory, or a missing configuration etc.
似乎安装智能片段的安装有问题,如上所述或者您没有正确导入项目,SDK以及智能段工具应在没有任何其他配置的情况下运行,所有项目都应该编译盒子外面。由于您已经尝试在同一个人电脑上重新安装SS工具,我建议尝试在另一台PC上安装工具,因为在设置上有一个配置问题,Eclipse中存在这种错误可能会持续存在。
谢谢mt_dialog.
我从我当地的Fae获得了一些帮助,解决了这个问题。
要解决问题,我将SDK移动到C:\ Dialog_sdks \ da1468x_da15xxx_sdk_1.0.10.1072。
Smart Snippets is working fine now.
Thanks for the assist.
===============================================================================================================================.
Could be a couple of things. Just as a background, Smart Snippets is just a shell on eclipse running GCC tools. The GCC configuration is the standard ARM toolset for Windows.
您已看到的错误通常与Eclipse中的工作空间有关。让我们试试以下内容:
1. Let’s move the SDK out the C:/Users location – I’ve seen this cause issues with administrative rights and also, since these tools are historically Linux based, they don’t like spaces in the root. I have my SDK located here at the following: C:\Dialog_SDKS\SDK1.0.10\DA1468x_DA15xxx_SDK_1.0.10.1072
2.删除项目目录中创建的任何.metadata以启动新的工作区。
3. Open up Smart Snippets Studio again and you can select a generic workspace (we will change this once we get in the IDE). It normally defaults to your prior workspace in the users folder.
4.这可能会提示您安装工具,只需x即可从主页中选择IDE。
5.现在,在Eclipse内部 - >转到文件 - >交换机工作区 - >其他。浏览到您的C驱动器位置,并确保您正在挑选工作空间,以成为您的概述之一,二进制文件,DOC目录之一的级别
6.您应该在左侧有一个空白的项目资源管理器。转到导入 - >将现有项目导入工作区。并导入pxp_reporter和脚本。
7.选择PXP_Reporter,只需单击锤子即可通过此处构建。
谢谢Rnardone先生。我面临着同样的问题,但感谢你。你把我拉出来了。