/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Ride 7 - Project won't build

Username:     
Password:     
             

Forum

# 1   2011-08-08 11:29:04 Ride 7 - Project won't build

alex332
New member
Registered: 2011-02-18
Posts: 1

Ride 7 - Project won't build

Folks,

I create a project in ride7 with a starting template of STM32 PRIMER 2, and when I try to build the project this error arises.


----------------Build Started: 'Application0' in configuration 'Circle_Debug'--------------------------
 
Building C:\temp\Application.c
Running: ARM Compiler
"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103VET6_ -D_STM3x_ -D_STM32x_ -mthumb   -mcpu=cortex-m3 "C:\temp\Application.c" -o "C:\Program Files\Raisonance\Ride\lib\ARM\CircleOS\Circle_App\objdebug\Application.o" -I "C:\Program Files\Raisonance\Ride\lib\ARM\CircleOS" -c     -fsigned-char -D PRIMER2  -g         -ffunction-sections         -mlittle-endian
C:\temp\Application.c: In function 'Application_Ini': 
C:\temp\Application.c:41:19: error: 'OFFSET_OFF' undeclared (first use in this function) 
C:\temp\Application.c:41:19: note: each undeclared identifier is reported only once for each function it appears in 
C:\temp\Application.c:45:58: error: 'ALL_SCREEN' undeclared (first use in this function) 
C:\temp\Application.c:45:70: error: 'NORMAL_TEXT' undeclared (first use in this function) 
C:\temp\Application.c:45:83: error: 'CENTER' undeclared (first use in this function) 
C:\temp\Application.c: In function 'Application_Handler': 
C:\temp\Application.c:75:53: error: 'ALL_SCREEN' undeclared (first use in this function) 
C:\temp\Application.c:75:65: error: 'INVERTED_TEXT' undeclared (first use in this function) 
C:\temp\Application.c:75:80: error: 'CENTER' undeclared (first use in this function) 
 
Build failed


==========================================================


This happens as if I didn't include the circle_api.h file but it is included and all primer files are upgraded to 4.11 and all circleOS files are installed in the ride7 directory.

Any ideas why this happens ?

Offline

 

# 2   2011-08-09 13:53:40 Ride 7 - Project won't build

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Ride 7 - Project won't build

These macro are defined in the "circle_api.h".
Check the version of your "circle_api.h", and verify if you have not an old local version in your project directory.

Offline

 

Board footer