|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
cam_uart_buffer
When I complie the code in MPlab, I get the message
"Error - symbol 'cam_uart_buffer' has multiple definitions." There are two definitions of this - one in user_routines_fast: #if _USE_CMU_CAMERA ... #include camera.h ... extern unsigned char cam_uart_buffer[];" ... #endif and another in user_camera.c: #if _USE_CMU_CAMERA ... unsigned char cam_uart_buffer[64]; ... #endif" I tried removing one, and I got the same message. I removed both, and I got a host of "symbol undefined - cam_uart_buffer" What should I do? |
|
#2
|
|||||
|
|||||
|
Re: cam_uart_buffer
We get that message after we've moved the code to a new directory. Something is apparently telling the linker to pull in the previous directory's .o files in addition to the new ones. Choosing either Clean or Build all makes it stop.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|