This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

error: C3906U: Malformed via file '.\main.__i'.

Hi,

when i setting up a new project in uVision, i get a crazy Error wich i cant handle with.

My error is --> main.c: error: C3906U: Malformed via file '.\main.__i'.

Can someone help me with this, what is the main.__i good for and why is it malformed?

Best regards Nils

Parents
  • Hi Nil,

    The problem is the path of your project folder.

    you might be using special character like '#" for directory name under which you put your project.

    The easy solution is to make sure, the directory name under which you have your project files should not have any special characters.

    e.g. your project path :C:\Users\acer\Desktop\myProject#2\App Code\Application\s310\arm

    Here the directory "myProject#2" is invalid path for keil, if you remove the special character from directory name then it will compile without any error.

    Best Regards Jadeja

Reply
  • Hi Nil,

    The problem is the path of your project folder.

    you might be using special character like '#" for directory name under which you put your project.

    The easy solution is to make sure, the directory name under which you have your project files should not have any special characters.

    e.g. your project path :C:\Users\acer\Desktop\myProject#2\App Code\Application\s310\arm

    Here the directory "myProject#2" is invalid path for keil, if you remove the special character from directory name then it will compile without any error.

    Best Regards Jadeja

Children
No Data
Related