DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Hosted Sites > TripleBuffer
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-09-2006, 11:17 AM   #1
sean_brum
New Member
 
Join Date: Mar 2006
Posts: 3
Default Problems with the tetris tutorial

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
sean_brum is offline   Reply With Quote
Old 03-09-2006, 11:51 AM   #2
Reedbeta
DevMaster Staff
 
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
Default Re: Problems with the tetris tutorial

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.
Reedbeta is offline   Reply With Quote
Old 03-09-2006, 12:00 PM   #3
sean_brum
New Member
 
Join Date: Mar 2006
Posts: 3
Default Re: Problems with the tetris tutorial

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.
sean_brum is offline   Reply With Quote
Old 03-09-2006, 12:43 PM   #4
sean_brum
New Member
 
Join Date: Mar 2006
Posts: 3
Default Re: Problems with the tetris tutorial

another question please .... how can you speed up the game? or why is the game slow?

thanks
sean_brum is offline   Reply With Quote
Old 03-09-2006, 04:19 PM   #5
geon
Senior Member
 
geon's Avatar
 
Join Date: Sep 2005
Location: Jönköping, Sweden
Posts: 546
Default Re: Problems with the tetris tutorial

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...
geon is offline   Reply With Quote
Old 03-09-2006, 05:12 PM   #6
Reedbeta
DevMaster Staff
 
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
Default Re: Problems with the tetris tutorial

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.
Reedbeta is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 06:14 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.