[开发工具] MPLAB 编译项目报usb_device.h:1004:Error: syntax error

[复制链接]
1560|3
 楼主| here2015 发表于 2015-9-9 17:28 | 显示全部楼层 |阅读模式
最近在尝试一个开源的项目-openusbfxs,但是编译firmware时老报usb_device.h:1004:Error: syntax error 错误,小弟对MAPLAB的东东不太熟,哪位给看看啊,源码见附件。
谢谢了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 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

粉丝
快速回复 在线客服 返回列表 返回顶部