KL46Z mouse HID example not compiling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KL46Z mouse HID example not compiling

588 Views
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.

Labels (1)
0 Kudos
3 Replies

399 Views
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

399 Views
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 Kudos

399 Views
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 Kudos