![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Mar 2006
Posts: 3
|
hi,
i am fairly new to c++ anyway so i do appollogise if the answer is really ovious. i ran through the tetris tutorial fine until i went to compile it . i had the following error message: Linking... bitmapobject.obj : error LNK2001: unresolved external symbol "public: void __thiscall BitMapObject: estroy(void)" (?Destroy@BitMapObject@@QAEXXZ)Debug/ctetris.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I am useing windows VS c++ 6 Any help would be appreciated . Thanks |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
|
The link error means the Destroy() function in the BitMapObject class has not been defined. The source code for that function is on page 2 of the tutorial, make sure it's correct in your project.
___________________________________________
Currently working at Sucker Punch reedbeta.com - OpenGL demos and other projects Luabridge - a lightweight, dependency-free C++/Lua binding library. CD Lite - an unobtrusive, minimal CD player application for Windows. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2006
Posts: 3
|
i will check this
thanks edit:i missed part of the destroy function but now it is complete thanks agen Last edited by sean_brum : 03-09-2006 at 12:12 PM. |
|
|
|
|
|
#4 |
|
New Member
Join Date: Mar 2006
Posts: 3
|
another question please .... how can you speed up the game? or why is the game slow?
thanks |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Sep 2005
Location: Jönköping, Sweden
Posts: 546
|
Buy a faster computer?
Seriously, there should be some kind of timer somewhere. Look around for it. Maby in the main game loop? It would be easier to answer if you supplied an URL to the tutorial... |
|
|
|
|
|
#6 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
|
He's referring to the one on triplebuffer.
___________________________________________
Currently working at Sucker Punch reedbeta.com - OpenGL demos and other projects Luabridge - a lightweight, dependency-free C++/Lua binding library. CD Lite - an unobtrusive, minimal CD player application for Windows. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|