FX3学习笔记2-cs-make[1]: [post-build] Error 2 (ignored)
2016-12-30 15:45
597 查看
1、实验环境
硬件平台:CYUSB3KIT-003 EZ-USB® FX3™ SuperSpeed Explorer Kit
dk版本:EZ-USB FX3 SDK1.3 / SuperSpeed Explorer Kit 1.0
实验例程:cyfxuvc_an75779(cypress官网下载demo)
2、错误说明
官网下载关于摄像头sensor的uvc传输demo,不做任何修改、eclipse导入工程,编译报错,完整信息如下:cs-make --no-print-directory post-build 'Generate boot-loadable binary image' elf2img.exe -i UVC_AN75779.elf -o UVC_AN75779.img -v process_begin: CreateProcess(NULL, elf2img.exe -i UVC_AN75779.elf -o UVC_AN75779.img -v, ...) failed. make (e=2): 系统找不到指定的文件。 cs-make[1]: [post-build] Error 2 (ignored) ' ' 15:14:20 Build Finished (took 2s.530ms)
根据错误信息判断是[post-build]时找不到路径,那么解决方法就从post-build入手。
3、解决方法
1、报错工程的post-build命令如下图(可以看到elf2img.exe并没有指定路径,那么编译器就会在工程所在路径查找,很显然是找不到的):
2、发现了错误,那么sdk自定工程又是怎样配置这个路径的呢?见下图:
正确配置文件如下:
“FX3INSTALLPATH\util\elf2img\elf2img.exe"−i{ProjName}.elf -o ${ProjName}.img3、看到上面的两个配置图片,发现问题的所在,解决方法就是把2中的command替换1中的command,即可编译通过。
相关文章推荐
- FX3学习笔记2-cs-make[1]: [post-build] Error 2 (ignored)
- make: *** [.build_release/cuda/src/caffe/layers/detection_output_layer.o] Error 1解决
- webstorm 打包angular Module build failed: Error: No PostCSS Config found
- 编译caffe出现错误:make: *** [.build_release/src/caffe/common.o] Error 1
- 编译caffe出现错误:make: *** [.build_release/src/caffe/common.o] Error 1
- caffe编译之make: * [.build_release/tools/convert_imageset.bin] Error 1
- A tool returned an error code from "Performing Post-Build Event"
- deepin使用rvm安装ruby出现make: *** [build-ext] Error 2错误
- 配置ssd出现make: *** [.build_release/tools/convert_annoset.bin] Error 1
- CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAK
- caffe在make过程中出现[.build_release/tools/extract_features.bin] Error 1或者与libreadline.so.6相关错误解决方法
- npm 报错 Module build failed: Error: No PostCSS Config found in:
- Generating phar.phar chmod: cannot access `ext/phar/phar.phar': No such file or directory make: [ext/phar/phar.phar] Error 1 (ignored)
- Android build error "No rule to make target"
- [Android 問題] Make/Build Error: You are not using bash - builds will fail
- QT4.7.3在dm6446平台上的移植[转]-->make[1]: *** [assistant_cs.qm] Error 2
- docker maven 出错:Failed to execute goal com.spotify:docker-maven-plugin:...: Request error: POST https://192.168.99.100:2376/build?t=
- Ubuntu16.04下 caffe make all时报错:make: *** [.build_release/lib/libcaffe.so] Error 1
- 错误提示:make: *** [init/main.o] Error 1
- error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools"