473,804 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using GLUT....

Hello everyone,

I am using GCC through DevC++ & Code Block Studio IDEs.
I got libraries "gl" & "glu" with these IDEs.
Programs based on these two libs gl & glu are executing well.
I want to use "glut" library. So I downloaded glut
package and copied it to respective folders i.e. to
include\GL\glut .h
lib\glut32.lib
and
%WinDir%\System \glut32.dll
then I test a glut program; It complied successfully
but while linking it gave me a list of errors.
Which setting do I need to change ?
If you know, Please guide me to overcome the problem !!!
yours
Advait

Jan 7 '07 #1
2 1687
Advait wrote:
Hello everyone,

I am using GCC through DevC++ & Code Block Studio IDEs.
I got libraries "gl" & "glu" with these IDEs.
Programs based on these two libs gl & glu are executing well.
I want to use "glut" library. So I downloaded glut
package and copied it to respective folders i.e. to

include\GL\glut .h
lib\glut32.lib
and
%WinDir%\System \glut32.dll

then I test a glut program; It complied successfully
but while linking it gave me a list of errors.
Which setting do I need to change ?
If you know, Please guide me to overcome the problem !!!
This question is off-topic for this group as it has to do with details
of implementation. Consult a more appropriate group like
comp.os.ms-windows.*, gnu.*, or the forums for DevC++ and code::blocks.

Jan 7 '07 #2
You need to link the appropriate libraries with your code, not simply
include the .h file and hope it finds the library later (in your case
the glut dll, which is linked to dynamically).
If the library was not provided with the glut package (which it usually
is), then there are probably some tools in your ide/compiler package to
generate them.

Exactly how to link the libraries, or generate them is, as mentioned
before, off topic ;-).

F.

Jan 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1996
by: Fulko van Westrenen | last post by:
Hello, I'm very new to Python and rather unexperienced in OpenGL, and now I try to learn both at the same time. I can find my way around in Perl with Perl/Tk. What I try to do is combining Tk and GLUT. Based on the dots.py code (from the examples) I wrote a working application that reacts fine to my keyboard. Now I would like to add some Tk widgets, like 'Quit' in the texturesurf2.py example. The problem is that texturesurf2.py takes a
0
1266
by: Fulko van Westrenen | last post by:
Hello, A few days ago I asked help with GLUT/Tk. This combination seems to be difficult. Is there another combination with GLUT, like GTK or Qt, or a true GLUT widget-set that I can use to make buttons,sliders,dials,etc? If there is such a combination, does it come with example code (I learn through examples)? Thanks,
5
5512
by: Steven Gutstein | last post by:
I've just managed to get PyOpenGL installed on a Windows NT machine. I've tried testing it using one of the programs supplied with the PyOpenGL download - molehill.py. On my machine, it was placed in the python23\Lib\site-packages\OpenGL\Demo\GLUT\examples directory. When I'm in Windows Explorer and double click on the icon for this program, it runs fine. However, when I try to 'execfile' molehill from the Python command line, I have...
9
4766
by: max(01)* | last post by:
hi there. i installed python2.3-opengl, then i tried one of those demos: ---- #!/usr/bin/python2.3 # This is statement is required by the build system to query build info if __name__ == '__build__':
1
3145
by: Martin Magnusson | last post by:
Hi all. I'm having trouble registering a GLUT callback function. glutIdleFunc wants a void(*)() function as argument, and I believe that's what I've given it, but gcc complains with the following message: GraphicDisplay.cpp:15: error: no matches converting function `DrawC' to type `void (*)()' GraphicDisplay.hpp:11: error: candidates are: void GraphicDisplay::DrawC() Can anyone see what I'm missing here?
5
14297
by: Michael Kipper | last post by:
Hi, I'm having a problem moving from C to C++. In C, I have a function: void display(void) {} that I can register with OpenGL as a callback using: GLUTAPI void glutDisplayFunc( void (GLUTCALLBACK *func)(void) )
1
3724
by: bg_ie | last post by:
Hi, I'm trying to compile the following program - #include <stdlib.h> #include <stdio.h> #include <math.h> //#include "dsound.h" #include <GL/glut.h>
1
1632
by: Advait | last post by:
Hello everyone, I am using GCC through DevC++ & Code Block Studio IDEs. I got libraries "gl" & "glu" with these IDEs. Programs based on these two libs gl & glu are executing well. I want to use "glut" library. So I downloaded glut package and copied it to respective folders i.e. to
1
1593
by: levilista | last post by:
I'm not able to compile my program, but I don't get any error message. Details here: http://zslevi.ifastnet.com/doku.php?id=techblog:glut:helloglut_eclipse
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.