SmartSnippets build problem DA1468x - Newbie

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support。We’ll be fixing bugs / optimising the searching and tagging over the coming days.
8个帖子/ 0新
Last post
RNardone
Offline
Last seen:3年3个月前
Joined:2017-11-09 15:45
SmartSnippets build problem DA1468x - Newbie

Hi,

I have the following system configuration:
1) SDK workspace_SmartSnippets_Studio\DA1468x_DA15xxx_SDK_1.0.10.1072,
2) SmartSnippets studio v1.6.3.918
3) Windows 10 64-bit host

I am new to SmartSnippets, and have installed everything per UM-B-47. I downloaded everything from the dialog-semiconductor website this week. I import a project, and when I try to build it I get the following error:

Program "make" not found in PATH freertos_retarget C/C++ Problem

我尝试了多个其他项目,并得到同样的问题。我已经重新安装了SDK和SmartSnippet,但似乎无法解决这个问题。我尝试了硬编码工具路径,但无法明确。

Can you please give me a suggestion on how to move forward?

提前致谢

Rick Nardone

设备:
MT_dialog
Offline
Last seen:2个月2天前
Staff
Joined:2015-06-08 11:34
嗨rnardone,

嗨rnardone,

SDK项目和基于Eclipse的Smart代码段的工具已预定义所有必要的配置和路径,以便您能够批准项目。根据您报告的内容,我将假设Eclipse无法在路径环境变量中找到Make.exe文件,请检查路径变量,并确保在从该变量指定的目录之一中,make。exe存在。例如,在我的设置上,路径变量指定的第一个目录是C:\ Program Files(x86)\ gnu arm eclipse \ build tools \ 2.6-201507152002 \ bin;其中包含make.exe。除此之外,您可以尝试手动缩短路径并检查是否解决了您的问题。此外,您还可以找到此问题的解决方案,也是Web上的问题,因为这是Eclipse相关的。

Thanks MT_dialog

RNardone
Offline
Last seen:3年3个月前
Joined:2017-11-09 15:45
Hi,

Hi,
您必须具有不同的配置。我可以在以下目录中安装唯一的make.exe。

C:\DiaSemi\SmartSnippetsStudio\Tools\mingw64_targeting32\msys\1.0\bin

I would expect the PATH variable to be configured properly during installation of Smart Snippets or maybe the SDK?

MT_dialog
Offline
Last seen:2个月2天前
Staff
Joined:2015-06-08 11:34
嗨rnardone,

嗨rnardone,

What you are experiencing isn't the standard behaviour of Smart Snippets, the installation of Smart Snippets will take the current PATH from your PC and will attach the proper directory for the make.exe file, even with the make.exe located in the directory that you mention the Smart Snippets should be able to find the make.exe and build the project (at least this is what happens on my setup if i remove the make.exe from the directory i ve mentioned). Regarding the configuration, i dont use anything special or out of the ordinary configuration, apparently the path variables on different machines are different and for some reason on your installation, eclipse isn't able to find the make.exe file (even if its there in the dir that you have mentioned). So perhaps there is an issue with the length of the PATH variable, can you please remove some of the directories and give a try to check if that works ? Additionally trying and check if all runs as they should on a different PC would also be an idea.

Thanks MT_dialog

RNardone
Offline
Last seen:3年3个月前
Joined:2017-11-09 15:45
Hi MT_dialog,

Hi MT_dialog,

When I fix the path for the make.exe found above, then I get other errors:

描述资源路径位置类型
cannot open linker script file C:\Users\Richard Nardone\workspace_SmartSnippets_Studio\DA1468x_DA15xxx_SDK_1.0.10.1072\projects\dk_apps\ble_profiles\hrp_sensor/DA14681-01-Debug_QSPI/mem.ld: Invalid argument hrp_sensor C/C++ Problem

描述资源路径位置类型
make: *** [hrp_sensor.elf] Error 1 hrp_sensor C/C++ Problem

描述资源路径位置类型
制作[1]:***没有规则来制作目标“mem.ld”,所以通过`generate_ldscripts'需要。停止。hrp_sensor c / c ++问题

Any thoughts?

MT_dialog
Offline
Last seen:2个月2天前
Staff
Joined:2015-06-08 11:34
嗨rnardone,

嗨rnardone,

嗯,它似乎没有生成链接器脚本,以便完成构建,在发生实际构建之前,Eclipse必须从mem.ld.h文件生成链接器脚本并概述mem构建文件夹中的文件。显然,文件从未在您的情况下建立。除了你得到的指示,Eclipse无法找到Mem.ld文件,应该有一个额外的指示在Build在预构建阶段开始时,Eclipse在控制台乞讨时无法生成此文件。这可能是由于Makefile.targets文件不在项目目录中或缺少的配置等原因。

It seems that either the installation of the Smart Snippets has issues, as mentioned above or you haven't properly imported the projects, the SDK along with the Smart Snippets tool should operate out of the box without any additional configuration, all the projects should compile out of the box. Since you have allready tried to re-install the SS tool on the same PC i would recommend to try installing the tool on another PC, since if there is a configuration issue on the setup, this kind of errors in eclipse could persist.

Thanks MT_dialog

RNardone
Offline
Last seen:3年3个月前
Joined:2017-11-09 15:45
I got some help from my local

I got some help from my local FAE and have resolved the problem.
为了解决这个问题,我SDK搬到C: \拨号og_SDKS\DA1468x_DA15xxx_SDK_1.0.10.1072.

智能片段现在正常工作。

谢谢你的助攻。
===============================================================================================================================
可能是几件事。就像背景一样,智能代码段只是eclipse上运行gcc工具的shell。GCC配置是Windows的标准ARM工具集。
The error that you are seeing, is typically associated with an issue with the workspace in Eclipse. Let’s try the following:

1.让我们移动SDK Out C:/ Users Location - 我已经看到了这个原因与管理权的问题,而且,由于这些工具是基于Linux的,因此它们不喜欢root中的空格。我有我的SDK在这里,如下:C:\ Dialog_sdks \ sdk1.0.10 \ da1468x_da15xxx_sdk_1.0.10.1072
2. Delete any .metadata that was created within the project directory to start a new workspace.

3.再次打开Smart Scippets Studio,您可以选择一份通用工作区(我们会在IDE进入后更改此)。它通常默认为您的用户文件夹中的先前工作空间。
4. This may prompt you to install the tools, just X out of this and select IDE from the home page.

5. Now, inside of eclipse -> go to File->Switch Workspace-> Other. Browse to your C drive location, and make sure that you are picking the workspace to be the level that is one above your pojects, binaries, doc directory

6. You should have a blank Project Explorer on the left hand side. Go to Import->General->Existing Projects into Workspace. And import pxp_reporter and scripts.
7. With pxp_reporter selected, just click the hammer and it should build through here.

parmanjosan
Offline
Last seen:1年3个月前
Joined:2018-01-26 13:58
谢谢Rnardone先生。我曾是

谢谢Rnardone先生。我曾是facing the same problem but thanks to you. You pulled me out.