Hi,
I'm using code::blocks für a c-project since a few days.
At one point I got a compiling problem.
There was no code-error but code::blocks asks:
It seems that this project has not been built yet.
Do you want to built it now?
But....that project previously existed.
I compiled it thousands of times...but when I changed
int anzahlmp = 7;
double mpx[7];
double mpy[7];
to
int anzahlmp = 7;
double mpx[anzahlmp];
double mpy[anzahlmp];
That problem occured. I undoed the changes but c::b isn't able to compile the project anymore.
The same issue happened the thirt time right now and the previous times I created a new projectfile and copied all sources into it.
As I like c::b I't like to reslve that problem.
Maybe you should know I'm using GCC with the linkers: m;udev
I enables -Wall. And Build log tells me:
-------------- Build: Debug in j2k_mp ---------------
Linking console executable: bin/Debug/j2k
obj/Debug/fileio.o:(.data+0x0): multiple definition of `anzahlmp'
obj/Debug/data2angle.o:(.data+0x0): first defined here
obj/Debug/main.o:(.data+0x0): multiple definition of `anzahlmp'
obj/Debug/data2angle.o:(.data+0x0): first defined here
obj/Debug/sensor.o:(.data+0x0): multiple definition of `anzahlmp'
obj/Debug/data2angle.o:(.data+0x0): first defined here
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Build Message:
||=== Build finished: 0 errors, 0 warnings ===|
But there's still no outputfile...