No symbol table info available + segmentation fault
-
01-10-2022 - |
Question
I'm trying to run a simple graphics program with Code::Blocks. I am able to build it without errors but when I run it I get an error message, No symbol table info available
and segmentation fault. Here is my code:
#include <graphics.h>
#include <iostream>
using namespace std;
int main()
{
initwindow(800,600);
circle(200,300,600);
closegraph();
return 0;
}
And here is my build output:
-------------- Build: Debug in aa (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -fexceptions -g -o alla.exe -Wall -g -c E:\C++\aa\main.cpp -o obj\Debug\main.o
mingw32-g++.exe -o bin\Debug\aa.exe obj\Debug\main.o -lbgi -lgdi32 -lcomdlg32 - luuid -loleaut32 -lole32 -lbgi
Output file is bin\Debug\aa.exe with size 1.02 MB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
What could be the problem?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow