KL46Z mouse HID example not compiling

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KL46Z mouse HID example not compiling

1,313件の閲覧回数
rmaero
Contributor I

I just got the KL46Z. I've upgraded the bootloader to 1.11 and examples like hello world and bubble level I have compiled and uploaded to the board ok. When I try to compile this example I get an error I can't quite understand. The error is as follow:

 

make: *** No rule to make target 'C:/Freescale/KSDK_1.3.0/examples/frdmkl46z/demo_apps/usb/device/hid/hid_mouse/bm/kds/../../../../../../../../../usb/usb_core/device/lib/bm/kds/MKL46Z4/debug/libusbd_bm.a', needed by 'dev_hid_mouse_bm_frdmkl46z.elf'.

 

 

make: Target 'all' not remade because of errors.

ラベル(1)
タグ(3)
0 件の賞賛
返信
3 返答(返信)

1,124件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

Hi Rodrigo,

please do you have in your workspace imported also the library for this project?

usb_project.png

Please, compile the libraries first, then the project.

Please let us know, if this helps you.

Best Regards,

Iva

1,124件の閲覧回数
rmaero
Contributor I

Hello! And thank you for your answer!

That did resolve my issue, as soon as I imported and built the usbd library I was able to compile the example.

How was I supposed to know that I had to import that library? I couldn't find any documentation about library usage for the examples, and the error wasn't very helpful either.

Thanks again for your help!

Regards,

Rodrigo.

EDIT: Nevermind! I've just found the readme inside the example folder.... Such a dork

0 件の賞賛
返信

1,124件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

Hi Rodrigo.

I exactly understand your feelings.

For this case I always use importing project through .wsd file.

I describe the process:

  1. import the project in KDS

1.png

    2. Select Existing Working Sets

2.png

    3. Click on Browse

3.png

    4. Browse the demo and find the .wsd file

4.png

    5. Now you will see all needed libraries to your project

5.png

    6. Now in KDS you will see all needed libraries

6.png

By this way you can import every demo.

I hope this helps you.

Best Regards,

Iva

0 件の賞賛
返信