build failed in release configuration

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

I am using atmega256rfr2 in my project.
I could build successfully my project in atmel studio 6.1
but when I changed the solution configuration to release, it gives error like "header file not found" which file is already there in project.

why this is happening?

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Part of the project configuration includes a list of header search directories . These are set differently between debug and release.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Look at your Project "Properties".

When you add Symbols and Search Paths to the project, you should choose the "All configurations" rather than "Debug" or "Release"

If you change anything in "All", it will append to the current "Debug" and "Release".

So be very careful with using "All". After any changes, check each individual Configuration.

David.

p.s. you may just choose to copy all the Debug properties to the Release by hand. Whichever strategy you use, it will drive you spare !

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thank you clawson,

thank you david.prentice,

It solved my problem..!