Announcement

Collapse
No announcement yet.

Can't open include file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't open include file

    Hello,

    I wanted to learn how to read and save a file on the SD-card, therefor I put together a small project consisting of a slider to set a value, a display to display the value, a button to save the value to file and one magic object(I put this in for the read/write, as in the app note). When I want to upload the program I get the following error message:

    Error: Can't open include file 'c:\users\...\MagicObject0.inc): No such file or directory
    Fatal Error: errors in first pass (1), can't continue

    Can you tell me what I am doing wrong?

    Regards
    Joshi

  • #2
    I forgot to zip the project, here it is
    Attached Files

    Comment


    • #3
      Hi Joshi,


      Thank you for sharing your project.

      Basically, you encountered an error after you simply add MagicObject0 without opening the MagicObject0 empty function.
      And it appears that the WS4 wasn't generating a MagicObject0.inc on the .imgData folder.


      This can be resolved by clicking the ellipsis symbol, to open the MagicObject0 empty function as shown below:

      Click image for larger version

Name:	forum1.JPG
Views:	23
Size:	8.4 KB
ID:	66324


      If you did not put anything, it’s okay, because WS4 will generate include file during compiling.



      Hopefully, this will help you.

      Best regards,
      Kayven

      Comment

      Working...
      X