It would be a lot easier if you just show this to your teacher: then they could see exactly what you're actually doing, see exactly how you've got everything configured, see exactly what is happening - and show you how to fix it.

Doing this stuff remotely is hard at the best of times - you aren't supplying enough information to make it possible.

that's saying "nothing to do because it's already been built successfully". The build system will only attempt to build after you make changes. It "watches" the dates of the file edits and only builds when the edits are newer than the already built output.

Right click the EMDB409Reader (in bold) in the Solution Explorer. Select "Add" from the popup menu. Select a .c file that you want to be part of the project. Do not do this with .h files as they will be included using #include statements in the various files.

YOU may need to add appropriate #include statements in your main.c file.

I added the .c and .h files to the project and the files that are part of the project were displayed, i.e., .c and .h files................even then its the same issue. Should dump this and go to WinAVR. In that I had avr/io.h header file error.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

I have added the files. I m not aware if there is any other configuration setting that I am missing here. Sometimes the antivirus can mess up the build operation if it identifies the software as malware or so (it seems) - there was a post on here.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

1) Since this does not seem to be a very complicated project, and probably not is holding any secrets (yet?), then why not simply ZIP up the whole project file tree and attach it to a post here. Then jgmdesign (and others) get to try it out. By that it might be determined if the problem lies within the project or in other places (e.g. your Studio installation).

2) The build output seems totally empty. After a "clean" it does not even show compilation of your main file. That is strange. Have you tried to set up another project, just to check this. Just create a new project for a ATmega64 following the New Project wizard. Then build. Show us the complete build output of that. (This, again, can help us establish if there is a problem with your original project setup, or with your Studio installation.)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

OK, so it does not seem that the Studio installation is broken in general. So, for the project this whole thread started out with, it is likely that there is something wrong in that specific project.

What we need now is for you to show us the project that is failing the build. ZIP up the whole project file tree and attach the ZIP file to a post here.

If you, e.g. for reasons of non-disclosure, can not do that then I believe your only option is to try to set up another project with the same files as the failing project. Take it in small steps., i.e. set up the empty project, do a build, add some files, do a build etc until you have all necessary files added.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

1) The OP has run into the same problem with the project I sent him that he is posting in this thread. THis leads me to believe that he has changed the settings of AS7, and given the OP's seemingly very 'noob'-ish-ness I would suggest simply uninstalling AS& and re-installing it rather than trying to figure out what has happened, and then advise how to fix it. THe thread is getting long in tooth, and nothing substantial has happened to this point so rather than 50+ more posts, why not start with a clean slate.

2) As I posted I could create a project with the files, and I was greeted with several warnings and errors I posted above. I did some looking and in less than 20 minutes corrected teh errors and warnings and now have a successful build:

Since the output screen I posted above pretty much tells what the problems are for the OP's sake on learning I won't give up the answers. But I will leave one hint with regards to the warning:

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

* Modifications February 2011 John Samperi Ampertronics Pty Ltd
* Support for Mega164P and family.
* Removed old SIGNAL references and replaced for the current
* ISR(vector) and added comment on some necessary changes in
* some locations for different processor types or USART.
*

Well, the mystery still is why the OP is getting a completely empty build output after a clean+build.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

No. Since you managed to set up an "empty" project and make that do a build, I suggest you do another attempt on setting up a project for the EMD8409.

Do it in small steps, testing to build after each step: Set up project. Build. Add a few files. Build. Add a few more. Build. At each step, make sure that your build output does not go completely empty as in your current project.

Never mind you will get build errors along the way. In fact, that is progress as compared to your current project. We'll deal with those build errors eventually - e.g. the ones js mentioned above.

(And if it comes down to needing to reinstall the software that's not such a big deal. It takes at most a few tenths of minutes, unless something goes really wrong.)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

If you're talking about the obsolete avr/signal.h then the file to use instead is, as the error message says, avr/interrupt.h . And you already have the file avr/interrupt.h, and don't need to get it again. Isn't that clear from the same screen-dump??! Hint: Look at the ource line above the one that generated the error and that you commented out. What file is included there? Did that line generate an error?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

If the OP read ANYTHING in my recent posts I said I was able to create the project with the files he posted AND I got it to build, but fail with errors and warnings which I posted screen shots of. I also said that it took 20 minutes to fix the problems and both I and John left s couple of hints as to that to look for....and a link to a website as well.

azimmali wrote:

So are you suggesting I uninstall the software and reinstall it? crying

I did suggest that as I have no idea(and neither does anyone else at this point) what you have done to any of the settings in your installation of AS7. My installation is whatever the installer package does by default, so unless you tweaked your installation the project I PM'ed you should have given you the same screens I posted earlier in this thread.

azimmali wrote:

Where can I get the new header files?

If you follow what has been explained you do not need to add ANYTHING

Post #52 is what I got after creating a project with the files you PM'ed me and the result after I added them to the project and hit BUILD. You will see a dozen errors and three warnings. I clicked on those warnings and they took me to your files that had issues.

Using the link I provided in post #54 I was able to correct ALL of the errors in their corresponding locations and then built the project and received no errors and I showed in my first screenshot also in post #54

Also in post #54 I pointed to where the warnings were coming from and left you with a hint on where you need to fix the issue.....in the second screenshot in post #54.

If you are still having the same problems after all of this then either ZIP up your problem project like we asked you to do in the first place, OR uninstall AS7 and start fresh.

I don't know what more anyone can do for you. I could send you the project I have set up and compiles/builds without errors, but then that falls into Cliffs question about spoons.

Jim

EDIT:

JOHAN WROTE:

Hint: Look at the ource line above the one that generated the error and that you commented out.

Are you referring to the screenshot of what I commented out, or the OP?

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Yeah, so I commented out avr/signal.h and tried building - Its still the same two line output. Ughhhh!!! .:((

Have you understood anything??

We know it is a problem with your project and the build not generating any output at all. This is the problem we need to deal with now.

That is totally unrelated to the problems with deprecated header files and other errors coming from a build that actually works. This is to be dealt with later.

Do you understand this division into two completely separate problems, and do you understand why we need to deal with the former first?

And I have to ask: What is your previous experience with software development in general? With C development specifically? (This will help us form and formulate help on a fitting level.)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

1. Right-click on the file main.c in the Project Explorer and select Compile. Do you get any build output from that?

2. Try to build the complete project. After that, are there any files in the folder Output Files in Solution Explorer?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

I am somewhere between a beginner - intermediate. I am new to Embedded Software Development. I have used Kiel earlier but that was primarily making some minor changes to an already existing file. I would shamelessly say, that I have little practical exposure to programming - better say I have a phobia and want to get rid of it.

Azim

Amateur programmer.
Believe when I tell you that my struggle on here is real.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

So I change the ISR names to the ones that are being used - not cool -( the company gave me this prehistoric code )- shouldn't complain though. How do I deal with those warnings? In addition to that, I can't edit the header files (access denied).

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Why!?!? Do not try haphazard changes! This is absolutely basic when fault seeking. Also, work ob one problem at a time. What on earth where you trying to accomplish with renaming the project?

You are absolutely not knowing what you're doing. You should find someone locally that can help you sort this out "in situ". We are close to 100 posts, and we are going around in circles: You have a project that actually does a build - that was progress. Then you decide to break it with a completely un-necessary renaming of the project. So now you're one step back and need to fix that first..

We're glad to help here, but it means we spend time on peoples problems. But this just changed from helping to just spend time in vain. No fun. No gain. Just wasted time.

Go tell your manager that you are not able to resolve your problems and that you need help by someone locally. This remote help over the web is obviously not working.

And with that, I am one of those giving up.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

I PM'ed the OP and offered to set up a Skype call, AND a Teamviewer session to get this sorted out, and received a PM with still another issue...

I told the OP to just "STOP" and that his antics were irritating many talented community members, and that it happens, and I then made my offer to work with him to get hings fixed as we are in the same state geographically, even though several hundred miles away. Skype and a remote desktop can close the gap quite easily.

The reply back was less than enthusiastic, and that he will now try and rectify this himself.....another PM followed saying that he has the project compiling without errors and that was it.

I have asked that the OP let us all know what he did to get all this working perfectly in less than 90 minutes time so we can all learn from this. From what I was told he was hung up on makefiles, which I explained that if he leaves AS7 alone and if he does not have anything special going on there is no need to worry about makefiles as Studio handles all of this in the background. Had he taken me up on my offer I would have shown him where the makefile resides in the project, but alas.....

We shall see if there is a reply.

well at least the OP was able to get things working, so great job everyone! Thanks for hanging in there

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was). Could this have been done by the installer in which case this could happen again? Having asked that question I set up a new laptop less than a month ago, installed AS7 and verbosity was set to Diagnostic.

The OP is probably not reading the thread anymore so theres no point in beating this up anymore.

DAFlippers wrote:

I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was). Could this have been done by the installer in which case this could happen again? Having asked that question I set up a new laptop less than a month ago, installed AS7 and verbosity was set to Diagnostic.

David

Hmmm, point for Morten to look into maybe?

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was).

Given the general shoot-from-the-hip approach the OP has demonstrated, my first guess would be that he himself fiddled with it.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.

No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Using MSVS (not Atmel Studio - though it's the same) I do find it puzzling that many project property changes you make are written direct to the vcxproj file and yet sometime you File-Exit the IDE and it shows a tree saying you have unsaved changes to SLN->VCXPROJ->... etc. do you want to save it all now? It's never clear why some things are instantly committed to disk and some are only at a File-Save All or whatever ?!?

Hold it right there everyone - So all this while, I could not see what the errors or warnings were. Well the culprit was in the IDE settings - Tools ---> Options ----> Projects ----> Build and Run -----> MSBuild project build output verbosity ----> was set to MINIMAL -----> Changed it to Diagnostic ----> Thanks to the forum member from ATMEL.

This enabled me to see what the errors/warnings were----most of them were to update ISR names as mentioned in the previous posts. I updated them and the project build was successful.

Jim,

The confusion with makefile happened because I initially started with Win AVR -- In the MFile, there was a line of code to update the programmer used. As of now, I don't have a programmer yet. I would like to know if this is required through AS7. I couldn't load the project that you had sent me (because, I tried to rename it) which actually showed the makefile as a separate window on AS7. So, I assumed that I had done something wrong when I built the project that I had created. I still have the zip you had sent me, strange that the project still doesn't open/cannot be located despite having it on the file. I could locate the makefile, hex files, etc., in the debug folder of the project.

Johan,

I am new to this platform and I want to learn things through this forum. I may have asked a stupid question all together but I have no clue as to how the settings where set to minimal. P.S. I did not mess up the installation.

Thanks everyone.

Amateur programmer.
Believe when I tell you that my struggle on here is real.