what include files and libraries do i need to run gtkglext in codeblocks
im trying to include libraries files into code blocks to use gtkglext but i dont know what to include can someone help me
also are their any tuts for gtkglext to get me started thanks in advance |
You should really try to do at least a little research on your own. Googling 'gtkglext example' gives plenty of good results.
Adam |
i tryed google
i have googled up to 75 pages no good results i even went to git hub but in code blocks its says /home/terrorofdeath/Downloads/adefasdf/main.c|13|fatal error:
gtk/gtkgl.h: No such file or directory i dont know what to do |
i tried google
i have googled up to 75 pages no good results i even went to git hub but in code blocks its says /home/terrorofdeath/Downloads/adefasdf/main.c|13|fatal error:
gtk/gtkgl.h: No such file or directory i dont know what to do |
First, you only need to reply once.
Second, does /usr/include/gtkglext-1.0/gtk/gtkgl.h exist? If so, then you aren't specifying the proper include path when using the compiler. You haven't actually told us what command you are running, so we can only guess what you're doing wrong. If that file doesn't exist, then you didn't install the development package for libgtkglext. Adam |
i used the command sudo apt-get install libgtkglext1 to install gtkglext and i included the right directory /usr/include/gtkglext-1.0/gtk inside code blocks im not sure why its not compiling properly
|
You didn't answer my question:
Quote:
|
i installed both packages and /usr/include/gtkglext-1.0/gtk/gktgl.h exits maybe i need to link a library to the project or something but i dont know what to link maybe
|
So then you aren't passing the necessary include path to the compiler, but you still haven't shown us what compiler command is getting run.
If you want help, you need to start asking intelligent questions that include all the necessary information. In other words: show us the code, show us the command you are running and show us (if applicable) the Makefile. Adam |
im using code blocks its says an option for linker options but im new to linux i dont know to add a makefile in here maybe you kno a link library i could try other than that i dont know what do with a makefile
|
What are you trying to do? Are you trying to write C or C++ code in codeblocks using the libraries you just downloaded? If yes, show the code. That is what Adamk75 has been asking for.
Have you programmed before? |
heres the code
mybad i didnt understand the ? but heres the code
Code:
/* |
mybad i didn't understand the ? heres the code
Code:
|
All times are GMT -5. The time now is 04:08 AM. |