USB_Init_Desc

Beta Testing discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
sofarini
Posts: 8
Joined: 01 Oct 2010 12:33

USB_Init_Desc

#1 Post by sofarini » 01 Oct 2010 12:50

:?:

Hi,

I have the final Version of MikroBasic Pro 4.10 and i still have a problem in using USB library

I still have this Error Message from compiler :

0 360 Unresolved extern 'USB_Init_Desc' __Lib_USB_genHID.c

I'm also trying to use the Example Project which placed in the help and I still have the same error message.


Please Help me to solve this problem :?:

p.erasmus
Posts: 3391
Joined: 05 Mar 2009 10:28

Re: USB_Init_Desc

#2 Post by p.erasmus » 01 Oct 2010 15:04

You should include the USBdsc file into your project
Attachments
2.png
2.png (20.99 KiB) Viewed 7017 times
P.Erasmus
Saratov,Russia
--------------------------------------------------------------

sofarini
Posts: 8
Joined: 01 Oct 2010 12:33

Re: USB_Init_Desc

#3 Post by sofarini » 03 Oct 2010 14:22

by applying your example which in help i got this :

30 304 Syntax error: Expected "module" but "program" found HID_Read_Write_Interrupt.mbas

1 307 File "HID_Read_Write_Interrupt.mcl" not found HID.mbas

0 102 Finished (with errors): 03 Oct 2010, 13:49:44 HID.mbppi

p.erasmus
Posts: 3391
Joined: 05 Mar 2009 10:28

Re: USB_Init_Desc

#4 Post by p.erasmus » 04 Oct 2010 10:11

I would suggest you to read the getting started section of the compiler manual !!
I suspect that you did not include the USB library file into you project
Attachments
3.png
3.png (20.76 KiB) Viewed 6992 times
P.Erasmus
Saratov,Russia
--------------------------------------------------------------

sheela
Posts: 38
Joined: 25 Mar 2014 06:56

Re: USB_Init_Desc

#5 Post by sheela » 29 Apr 2014 07:09

plz include the descriptor file after including there is no error

Post Reply

Return to “mikroBasic PRO for PIC Beta Testing”