Compiling in release mode not possible
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-01-06 1:49 AM
Posted on January 06, 2010 at 10:49
Compiling in release mode not possible
This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:06 AM
Posted on May 17, 2011 at 15:06
Dear,
I programmed at STVD in C and used also some ST-firmware-functions. When I build the project in debug mode everthing is working fine. When I try to build the project in release mode there are many errors just building the first stm8s-firmware file ''adc1.c''. (Errors: bad struct, not defined ...) I'm using the STM8 Cosmic compiler and STVD 4.1.2! I hope this problem can be solved quickly. Regards, LarsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:06 AM
Posted on May 17, 2011 at 15:06that's strange.. please post the command lines generated by STVD to the compiler for both cases. Regards, Luca (Cosmic)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:06 AM
Posted on May 17, 2011 at 15:06Hi, I'm no STVD expert, since it's not a Cosmic product, but the list of include paths is different in the two cases, and the problem might come from there. Hope it helps. Luca
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:06 AM
Posted on May 17, 2011 at 15:06
These are the messages from the output window.
Regards, LarsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:06 AM
Posted on May 17, 2011 at 15:06
Hi Luca,
many thanks. Now it works. You gave me the right direction. The uC-type wasn't included in the Preprocessor Definitions in release options. Thanks and regards, Lars