473,416 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Creating DLL but end up 23 "error LNK2019"

5
Expand|Select|Wrap|Line Numbers
  1. Error    10    error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ)    GLTexture.obj    
  2. Error    11    error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ)    GLTexture.obj    
  3. Error    12    error LNK2001: unresolved external symbol __imp__glEnable@4    Model_3DS.obj    
  4. Error    13    error LNK2019: unresolved external symbol _gluBuild2DMipmaps@28 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  5. Error    14    error LNK2019: unresolved external symbol __imp__glTexParameteri@12 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  6. Error    15    error LNK2019: unresolved external symbol __imp__glGenTextures@8 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  7. Error    16    error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  8. Error    17    error LNK2019: unresolved external symbol __imp__glPixelStorei@8 referenced in function "public: void __thiscall GLTexture::BuildColorTexture(unsigned char,unsigned char,unsigned char)" (?BuildColorTexture@GLTexture@@QAEXEEE@Z)    GLTexture.obj    
  9. Error    18    error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  10. Error    19    error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  11. Error    20    error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  12. Error    21    error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  13. Error    22    error LNK2019: unresolved external symbol __imp__glDisable@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  14. Error    23    error LNK2019: unresolved external symbol __imp__glPopMatrix@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  15. Error    24    error LNK2019: unresolved external symbol __imp__glDrawElements@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  16. Error    25    error LNK2019: unresolved external symbol __imp__glVertexPointer@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  17. Error    26    error LNK2019: unresolved external symbol __imp__glNormalPointer@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  18. Error    27    error LNK2019: unresolved external symbol __imp__glTexCoordPointer@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  19. Error    28    error LNK2019: unresolved external symbol __imp__glEnableClientState@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  20. Error    29    error LNK2019: unresolved external symbol __imp__glScalef@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  21. Error    30    error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  22. Error    31    error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  23. Error    32    error LNK2019: unresolved external symbol __imp__glPushMatrix@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj        

I am quite new to C++ (have few years of java and C# experience) but right now i need to use C++ and this thing (VS2005) keep complaining over and over :S
Aug 20 '07 #1
4 9029
Meetee
931 Expert Mod 512MB
Expand|Select|Wrap|Line Numbers
  1. Error    10    error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ)    GLTexture.obj    
  2. Error    11    error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ)    GLTexture.obj    
  3. Error    12    error LNK2001: unresolved external symbol __imp__glEnable@4    Model_3DS.obj    
  4. Error    13    error LNK2019: unresolved external symbol _gluBuild2DMipmaps@28 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  5. Error    14    error LNK2019: unresolved external symbol __imp__glTexParameteri@12 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  6. Error    15    error LNK2019: unresolved external symbol __imp__glGenTextures@8 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  7. Error    16    error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "public: void __thiscall GLTexture::LoadBMP(char *)" (?LoadBMP@GLTexture@@QAEXPAD@Z)    GLTexture.obj    
  8. Error    17    error LNK2019: unresolved external symbol __imp__glPixelStorei@8 referenced in function "public: void __thiscall GLTexture::BuildColorTexture(unsigned char,unsigned char,unsigned char)" (?BuildColorTexture@GLTexture@@QAEXEEE@Z)    GLTexture.obj    
  9. Error    18    error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  10. Error    19    error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  11. Error    20    error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  12. Error    21    error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  13. Error    22    error LNK2019: unresolved external symbol __imp__glDisable@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  14. Error    23    error LNK2019: unresolved external symbol __imp__glPopMatrix@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  15. Error    24    error LNK2019: unresolved external symbol __imp__glDrawElements@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  16. Error    25    error LNK2019: unresolved external symbol __imp__glVertexPointer@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  17. Error    26    error LNK2019: unresolved external symbol __imp__glNormalPointer@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  18. Error    27    error LNK2019: unresolved external symbol __imp__glTexCoordPointer@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  19. Error    28    error LNK2019: unresolved external symbol __imp__glEnableClientState@4 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  20. Error    29    error LNK2019: unresolved external symbol __imp__glScalef@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  21. Error    30    error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  22. Error    31    error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj    
  23. Error    32    error LNK2019: unresolved external symbol __imp__glPushMatrix@0 referenced in function "public: void __thiscall Model_3DS::Draw(void)" (?Draw@Model_3DS@@QAEXXZ)    Model_3DS.obj        

I am quite new to C++ (have few years of java and C# experience) but right now i need to use C++ and this thing (VS2005) keep complaining over and over :S

This error comes when you don't include any library or header file which is required for the functions to use. By seeing your errors I can only say that some library needed for Model_3DS is missing in your code.

Search on google with error LNK2019 and you will find the reasons for the error!

Regards
Aug 20 '07 #2
jk2l
5
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=506

this is the site i got my source from, and i have trouble debugging this thing
Aug 20 '07 #3
weaknessforcats
9,208 Expert Mod 8TB
A LNK2019 means the linker can't find the functions you are calling. This means a) you failed to add the source files to your project, or b) failed to add the library with the compiled code to your project linker input as an external dependency.
Aug 20 '07 #4
jk2l
5
http://www.gamedev.net/community/forums/topic.asp?topic_id=310386

oh... nevermind, i confused that #include can do the add library automatically (damn those C++ tutorial doesn't say things clearly)


anyway thanks for all people replied
Aug 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: John Phelan | last post by:
I have created a front-end application and back-end database. I have code that automatically links the front-end application to the back-end database for whenever I provide a patch or upgrade....
4
by: John Phelan | last post by:
Continue to get error message. Here is an update of my problem and everything that I have done to correct it. I have created a front-end application and back-end database. I have code that...
1
by: Dgates | last post by:
This request might belong in a "SQL"-related newsgroup, but it's such a pain using Agent to subscribe to a new group (and download its 50,000 messages!) just to ask one question. So, since it...
3
by: Vidit | last post by:
Hi I keep getting the error "Error Creating Windows Handle" in my application and different places in the code. This occurs only to certain users. Its very random and cannot be reproduced in...
0
by: ksayal | last post by:
Hi, I'm creating a project. Whenever I try to add a user control or add an aspx page it gives me the following error. When I remove the inherits="" thing, it shows up the page.... What would be...
3
by: DontB3 | last post by:
Hi, I'm new in this forum, and i hope someone can help. I'm creating an automatic application that transfer a database from Access -> DBF -> Oracle. When My App try to execute Insert SQL...
7
by: JustBeSimple | last post by:
Hi Everyone, I'm having a problem compiling useing the VS2005 .NET I need help to resolve those error, I try to create a new project it doesn't help any suggestion? I got the following errors:...
3
by: sachinv1821 | last post by:
hi , i am Getting this Error fatal error C1189: #error : "eh.h is only for C++!" my Problem is i am Having C++ librabry and Appropriate .h file i want to Access Them is .c File Files..... to Be...
10
by: Roger | last post by:
ms-access97 & sql server2005 two tables tblItem tblItemFeature form frmItem contains subform frmItemFeature each form is based on their respective table creating new record and filling in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.