Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 25th, 2006, 10:52 AM   #1
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 309
Rep Power: 4 Klarre is on a distinguished road
Linking error using Crinkler v0.4a (LNK: 2019)

I am trying to link my object files using Crinkler v0.4a. The problem is that it wont link when I use the new and delete operators. In Visual Studio 7.1 I just link with msvcrt.lib to get it work. Any ideas what lib I should link with?

Link command
crinkler.exe /SUBSYSTEM:WINDOWS main.obj camera.obj surface.obj
application.obj texturemanager.obj light.obj catmullrom.obj meshmanager.obj
math.obj msvcrt.lib kernel32.lib user32.lib gdi32.lib opengl32.lib

Error message:
error: LNK2019: unresolved external symbol __imp___imp_??3@YAXPAX@Z

Thanks for your help!

/Klarre
Klarre is online now   Reply With Quote
Old May 25th, 2006, 12:22 PM   #2
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 266
Rep Power: 4 Cache is on a distinguished road
The following link has a list of MS .lib files for the standard C++ library.
http://support.microsoft.com/kb/q154419/

I could be talking crap, but it looks to me like you should also be linking against: MSVCPRT.lib
Cache is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC