Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic make: *** No targets specified and no makefile found. Stop. (Read 4909 times)
greatuser
Newbies
*
Offline


Posts: 2
Joined: Jan 2nd, 2016
make: *** No targets specified and no makefile found. Stop.
Jan 2nd, 2016 at 1:33pm
Print Post  
Forum,

I get the following messages when i try to compile a project with Visual Studio 2013.

1>------ Build started: Project: SidewinderAPI, Configuration: Debug Win32 ------
1>  make: *** No targets specified and no makefile found.  Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "make" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have tried to search on the internet but I can’t find the root cause of this problem. Do you have any idea to fix this problem? My idea is, a wrong setting of Visual Studio.

The makefile is ok, i tried it via "cmd" window.

attachment1: Error description in detail
attachment2: Makefile

Thanks
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: make: *** No targets specified and no makefile found. Stop.
Reply #1 - Jan 2nd, 2016 at 5:26pm
Print Post  
Hi,

How did you create the new project?

Thanks
  
Back to top
WWW  
IP Logged
 
greatuser
Newbies
*
Offline


Posts: 2
Joined: Jan 2nd, 2016
Re: make: *** No targets specified and no makefile found. Stop.
Reply #2 - Jan 2nd, 2016 at 5:44pm
Print Post  
Via Visual Studio 2013, File->New->Project->"Make file project"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: make: *** No targets specified and no makefile found. Stop.
Reply #3 - Jan 2nd, 2016 at 5:53pm
Print Post  
There are several visual micro commands that allow you to create a project and understand the structure and how arduino works.

I suggest you start with them, such as "File>New>Arduino Project" or "File>New>Project>C++>Arduino Project" or "File>Open>Arduino Project" (which opens an existing sketch.ino and creates a VS project)

None of the options create a makefile project. It is quite easy to change to the correct project type however I suspect you will also have other invalid code (for arduino) in your project, so I recommend to stay with published commands until you understand how things work.

The documentation is here
http://www.visualmicro.com/page/User-Guide.aspx?doc=index

Have you used the Arduino ide and Arduino before?

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint