Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds
H3D.org Forum Index
   Programming Issues
     Which library am I missing?
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
naubol
Posted on: 2009/9/27 22:15
Not too shy to talk
Joined: 2009/9/21
From:
Posts: 8
Which library am I missing?
I'm trying to compile a dll with a new node. Couple of questions, why can't we define nodes in a project without using a DLL? Or can we?

Also, I'm missing a library to link to and I can't figure which one...here are my linking errors..
1>Box.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
1>Box.obj : error LNK2001: unresolved external symbol __imp__glNormal3f@12
1>Box.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
1>Box.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12

I'm using MSVS 2005 (vc8). do I need to be linking against a library in "External/lib"?

N
Markus
Posted on: 2009/9/30 8:23
Webmaster
Joined: 2006/3/27
From: SenseGraphics
Posts: 2206
Re: Which library am I missing?
You can create nodes in your custom made loaders to. Such as putting them in H3DLoad. Of course the only way to make them work in that case is to use the H3DLoad version you built.

Looks like you do not link against OpenGL.
opengl32.lib (for 32 bit Windows) should be part of your development environment. CMake should set everything up for you correctly.

You can also avoid .dll by using linux or mac :P
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 



(C) 2012 SenseGraphics AB    ---    Powered by XOOPS