Comments (14)
Thankyou Now It's fixed
from solution-to-graphics.h.
Thanks a lot. It worked for me.
from solution-to-graphics.h.
graphics.h file doesn't contain complete function definitions for some functions
Can you please provide more information then that
Did you fall into an error ? if yes then please specifies...
from solution-to-graphics.h.
Sorry, I've not being able to reply you. I had a compile error as it showed the error below.
C:\Users\Spiff\AppData\Local\Temp\ccsxPxOX.o:example.cpp:(.text+0x5d): undefined reference to initgraph' C:\Users\Spiff\AppData\Local\Temp\ccsxPxOX.o:example.cpp:(.text+0x79): undefined reference to
circle'
C:\Users\Spiff\AppData\Local\Temp\ccsxPxOX.o:example.cpp:(.text+0x8a): undefined reference to `closegraph'
collect2.exe: error: ld returned 1 exit status
from solution-to-graphics.h.
@SpiffGreen It's ok no problem, can you reproduce the code
If yes, can you please share a sample short code that I can just copy and try to reproduce?
Thanks
from solution-to-graphics.h.
In file included from example.cpp:1:
C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/graphics.h:13:10: fatal error: _defs.h: No such file or directory
#include <_defs.h>
I'm getting this error
from solution-to-graphics.h.
In file included from example.cpp:1:
C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/graphics.h:13:10: fatal error: _defs.h: No such file or directory
#include <_defs.h>
I'm getting this error
@Suryajung8
Please use MINGW not MingW64 and please follow the documentation for setup graphics.h in vsCode. Know the difference between MINGW, Mingw-w64 && TDM compiler learn more.
If you want to use the older graphics.h then go for MingW
If your working with something like SFML or SDL( Go for TDM GCC )
& OPENCV ( Go for MinGW-w64 )
from solution-to-graphics.h.
@SpiffGreen It's ok no problem, can you reproduce the code
If yes, can you please share a sample short code that I can just copy and try to reproduce?
Thanks
I used the code in example.cpp and also the one in the readme. Both gave same error.
I am currently using MinGW target is mingw32
from solution-to-graphics.h.
@SpiffGreen It's ok no problem, can you reproduce the code
If yes, can you please share a sample short code that I can just copy and try to reproduce?
Thanks
I used the code in example.cpp and also the one in the readme. Both gave same error.
I am currently using MinGW target is mingw32
from solution-to-graphics.h.
please refer my workspace .vscode
ullaskunder3 graphics template
D:.
├───.vscode
└───Home
├───build
└───src
from solution-to-graphics.h.
from solution-to-graphics.h.
please refer my workspace .vscode
ullaskunder3 graphics template
D:.
├───.vscode
└───Home
├───build
└───src
from solution-to-graphics.h.
please refer my workspace
.vscode
ullaskunder3 graphics templateD:. ├───.vscode └───Home ├───build └───src
I'm trying to compile Hut.cpp the file of yours
from solution-to-graphics.h.
- We need to configure OR specify where the graphics.h file and the include file located thats why we need
c_cpp_properties.json
c_cpp_properties,task.json
task.json So vs code know where the header files are located. - ! important=> We Need MinGW to run the graphics.h file
from solution-to-graphics.h.
Related Issues (10)
- Query HOT 7
- Segmentation Fault HOT 3
- fatal error: graphics.h HOT 1
- fatal error HOT 2
- testFile.exe doesnot do anything HOT 3
- Thanks for the solution but I seem to be having trouble when I run the build task HOT 1
- Getting this error, could you help me plz HOT 5
- [Question] What's the difference between graphics.h and winbgim.h HOT 2
- Graphics.h doesn't work with gcc (Rev1, Built by MSYS2 project) 11.3.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solution-to-graphics.h.