CW7.3 - DSP56F807 - Include files from command line

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW7.3 - DSP56F807 - Include files from command line

1,896 次查看
Falo
Contributor I

Hello,

I'm trying to use the command line to build my project and I get an error that seems very strange to me. I'm sure there is a lot of people out there who thinks it's an easy one... Well I havent solved it yet...

Why can't it find the stdint.h file?


I'm using Codewarrior 7.3 on a DSP56F807 chip

My cmdline: mwcc56800 test_18.c -once -nofail -verbose -version -I"C:\Program Files\Metrowerks\CodeWarrior\M56800 Support\msl\MSL_C\MSL_Common\Include"


Error msg:

Metrowerks C/C++ for DSP M56800.
Copyright (c)1998-2005, Metrowerks
All rights reserved.
Version 7.2.1 build 1000
Runtime Built: Jun 2 2005 10:48:38

# Contents of (command-line defines):
===============
#pragma once on
===============
# User include search paths ([d] = default, [r] = recursive):
# C:\Program Files\Metrowerks\CodeWarrior\M56800
# Support\msl\MSL_C\MSL_Common\Include\
# System include search paths ([d] = default, [r] = recursive):
# C:\Program Files\Metrowerks\CodeWarrior\M56800 Support\ [d]
# Files in project (relative to CWD):
# test_18.c
# (command-line defines) (virtual file)
# Compiling: 'test_18.c' with 'mwcc56800'
### mwcc56800 Compiler:
# In: PE_Types.h
# From: test_18.c
# ------------------
# 34: #include
# Error: ^^^^^^^^^^
# the file 'stdint.h' cannot be opened
### mwcc56800 Compiler:
# In: includes.h
# -------------------
# 13: #include
# Error: ^^^^^^^^^^
# the file 'string.h' cannot be opened
# (included from:
# X:\Projects\Test\Test_18\code\uCOSII.h:110
# X:\Projects\Test\Test_18\code\Events.h:36
# X:\Projects\Test\Test_18\code\test_18.c:27)
### mwcc56800 Compiler:
# 22: #include "ucos_ii.h"
# Error: ^^^^^^^^^^^
# the file 'ucos_ii.h' cannot be opened
# (included from:
# X:\Projects\Test\Test_18\code\uCOSII.h:110
# X:\Projects\Test\Test_18\code\Events.h:36
# X:\Projects\Test\Test_18\code\test_18.c:27)

--
Alban Edit: CW version in post subject

Message Edited by Alban on 2007-03-26 11:22 AM

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

495 次查看
Falo
Contributor I
I found out myself. If I used the -gccinc switch it worked.
0 项奖励
回复