CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Compilation error...

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Sink0



Joined: 01 Oct 2009
Posts: 2

View user's profile Send private message

Compilation error...
PostPosted: Thu Oct 01, 2009 10:50 pm     Reply with quote

Hi I'm trying to compile the project from this site: http://www.semifluid.com/?p=23

line 156 and 168: Expression must evaluate a constant

line 204: 41 not defined correctly

The problem is at the header: usb_desc_hid 8-byte.h

Here is the code:
Code:

c:\program files\picc\drivers\usb_desc_hid.h

What is that error and how can I fix it?

Thanks!!

++++++++++++++++++
Code replaced by directory.
Reason: Forum rule #10
10. Don't post the CCS example code or drivers.
-- Forum Moderator
++++++++++++++++++
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 02, 2009 1:14 pm     Reply with quote

I looked at his website, and he says this:
Quote:
Please feel free to contact me if you have any problems.

You should email him.
Sink0



Joined: 01 Oct 2009
Posts: 2

View user's profile Send private message

PostPosted: Sat Oct 03, 2009 12:59 am     Reply with quote

I did, but I had no reply. The problem is that there is an #if where he define if the hid polling time is gonna be 1ms or 10ms. If I just let it be fixed on 1ms it does work. But I want to know why that #if can't be used.

Thanks
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group