User forums > Using Code::Blocks
debugger can't find file.
(1/1)
grayarea56:
The program runs fine without the debugger.
But when I single step some basic C functions, for instance strcpy, I get this message in the debugger:
Cannot open file: ../sysdeps/x86_64/multiarch/strcpy-avx2.S
Does anyone know what's going on?
Oh, BTW, I'm using WSL Ubuntu under windows 10.
Thanks,
Dan Gray
P.S. here's my test code:
--- Code: ---#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
int main()
{
printf("Hello world!\n");
printf("Sqrt2=%f\n",sqrt(2.0));
double two = 2.001;
printf("Sqrt2.001=%f\n",sqrt(two));
char goodby[100];
goodby[10] = 0;
char hello[100];
strcpy(hello,"hello");
hello[5] = 0;
strcpy(goodby, hello);
printf("goodby=%s",goodby);
return 0;
}
--- End code ---
stahta01:
Read https://stackoverflow.com/questions/54282586/sysdeps-i386-i686-multiarch-strcpy-c-no-such-file-or-directory
I think it applies to your question.
Tim S.
Navigation
[0] Message Index
Go to full version