打印
[开发工具]

MPLAB 编译项目报usb_device.h:1004:Error: syntax error

[复制链接]
1387|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
here2015|  楼主 | 2015-9-9 17:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
最近在尝试一个开源的项目-openusbfxs,但是编译firmware时老报usb_device.h:1004:Error: syntax error 错误,小弟对MAPLAB的东东不太熟,哪位给看看啊,源码见附件。
谢谢了 OPENUSBFXS-FMWR.zip (61.64 KB)
沙发
here2015|  楼主 | 2015-9-9 17:30 | 只看该作者
详细的报错
----------------------------------------------------------------------
Release build of project `C:\CooCox\OPENUSBFXS-FMWR\OPENUSBFXS-FMWR.mcp' started.
Language tool versions: mpasmwin.exe v5.54, mplink.exe v5.00, mcc18.exe v3.47, mplib.exe v5.00
Wed Sep 09 17:24:18 2015
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\CooCox\OPENUSBFXS-FMWR\OPENUSBFXS-FMWR.mcs".
Clean: Done.
Executing: "C:\Program Files (x86)\Microchip\mplabc18\v3.47\bin\mcc18.exe" -p=18F2550 /i"C:\Microchip Solutions\Microchip\Include" -I"C:\Microchip Solutions\Microchip\Usb" -I"C:\Program Files\Microchip\MCC18\h" -I"." "user.c" -fo=".\Objects\OPENUSBFXS-FMWR\user.o" -Opa-
MPLAB C18 3.47 (evaluation)
Copyright 2000-2011 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited:  42

WARNING:  Running the compiler in extended mode will not be supported when the evaluation becomes feature limited.

C:\Microchip Solutions\Microchip\Include\USB\usb_device.h:1004:Error: syntax error
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `C:\CooCox\OPENUSBFXS-FMWR\OPENUSBFXS-FMWR.mcp' failed.
Language tool versions: mpasmwin.exe v5.54, mplink.exe v5.00, mcc18.exe v3.47, mplib.exe v5.00
Wed Sep 09 17:24:19 2015
----------------------------------------------------------------------
BUILD FAILED

使用特权

评论回复
板凳
here2015|  楼主 | 2015-9-10 11:51 | 只看该作者
顶一下,哪位老大编译一下试试啊

使用特权

评论回复
地板
here2015|  楼主 | 2015-9-11 10:04 | 只看该作者
解决了

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

4

帖子

0

粉丝