• Advertisement

Archived

This topic is now archived and is closed to further replies.

02.07 - The Readiness Test

This topic is 5152 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My compiler says(Dev-C++ for the moment, will be getting Visual C++ before next weekend) that global.h''s header file mmreg.h doesn''t exist, and it doesn''t on my computer because I checked all of Teej''s program and all of the includes that go to my compiler.

Please help! Where can I get mmreg.h?

In life we are all blind men or women, sometimes you crash into a wall, sometimes you remember to bring your walking stick.

SEZ

Share this post


Link to post
Share on other sites
Advertisement
Andyc:

Is it really necessary to post every single error? Couldn''t you just edit your post to eliminate duplications?

Share this post


Link to post
Share on other sites
sorry to all about the posting of all the errors, i got hold of vc++ and reinstalled sdk8 and now i am ready to make games.
thanks for the help everyone.


have seen the light (MVC++)

Share this post


Link to post
Share on other sites
I get these stupid errors when I try to compile:

Linking...
Game.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/Game.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

I put in all the headers and everything fine =\ (I modified the code a little, I am using the Tricks of the Windows Game Programming Gurus book)

Share this post


Link to post
Share on other sites
teej....if got a big problem, i cant seem to access your website. it has been 3 weeks now, and i fear that i willnot be able to follow your lessons.
your address "http://teejb.webjump.com/" never loads on my computer
HELP.

thanks

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Hmmmmm...
My problem:
I''ve got the files entered correctly (i.e. C:\mssdk\lib\ddraw.lib) With a space in between each, and a spcae between the last and the other .lib files. Maybe a problem with the fact that I''m using DirectX 8.0a and you''re using 7? I don''t know, please help. thanks.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Anonymous Poster
Hmmmmm...
My problem:
I''ve got the files entered correctly (i.e. C:\mssdk\lib\ddraw.lib) With a space in between each, and a spcae between the last and the other .lib files. Maybe a problem with the fact that I''m using DirectX 8.0a and you''re using 7? I don''t know, please help. thanks.


Hmmm, figured out at least part of my problem, reduced errors from 15 to 10 by making it "C:\mssdk\lib\*.lib" But I still have the last ten. Here''s the list:

Utils.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioSeek@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioSetInfo@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioAdvance@12
Utils.obj : error LNK2001: unresolved external symbol __imp__mmioGetInfo@12
Debug/Basecode1.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.

Basecode1.exe - 10 error(s), 0 warning(s)

Once again, hmmmmmmmmm...


Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Add winmm.lib after the directx libs.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Anonymous Poster
Add winmm.lib after the directx libs.


Hmmm, it built, but In the debug window, after running, I get this:

Loaded ''C:\WINDOWS\SYSTEM\OLE32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\RPCRT4.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DSOUND.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINMM.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DINPUT.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\VERSION.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\ADVAPI32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\GDI32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\USER32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\KERNEL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\NTDLL.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\DDRAW.DLL'', no matching symbolic information found.
Loaded ''C:\Program Files\Metabyte\EyeSCREAM\Global\R_DDRAW.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSOSS.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\CRYPT32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSVCRT.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSCAT32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINTRUST.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\IMAGEHLP.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MSSIP32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\RSABASE.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\HID.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\MPR.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\CFGMGR32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\WINSPOOL.DRV'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\COMDLG32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\LZ32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\COMCTL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SHLWAPI.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SHELL32.DLL'', no matching symbolic information found.
Loaded ''C:\WINDOWS\SYSTEM\SETUPAPI.DLL'', no matching symbolic information found.
Loaded ''C:\Program Files\NeoPlanet\bin\idledet.dll'', no matching symbolic information found.
Loaded ''C:\Program Files\Microsoft Hardware\Mouse\Msh_zwf.dll'', no matching symbolic information found.
The thread 0xFFE3CC01 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFE8E0E1 has exited with code 0 (0x0).
The program ''C:\My Programs\Basecode1\Debug\Basecode1.exe'' has exited with code 0 (0x0).

Something to do with my optical mouse? Anyone?

Share this post


Link to post
Share on other sites
Those ''no matching symbolic information found'' messages are not errors, that jsut means that you cant debug into those files.

That means that it has compiled fine and should run without any problems.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by TheTramp
Those ''no matching symbolic information found'' messages are not errors, that jsut means that you cant debug into those files.

That means that it has compiled fine and should run without any problems.


Ahhhh......

Share this post


Link to post
Share on other sites
Hello,

would you guys please stop posting al you''re errors? Just put them in a doc and place them on the web and make a link to it.

I also have a question. I''m using the best compiler ever made: Borland C++ 5.02. There is no better. But I heard from friends that the DirectX libs won''t work with BC 5.02. I''ve heard that some stuff have to be changed or imported to make it work properly. How do I make the DirectX 7.0 SDK work with my compiler?

Thanks in advance,

Sand Hawk

Share this post


Link to post
Share on other sites
mega go The link does not WORK! It keeps taking me to MegaGo.com, probably the most anoying site I have visited. Can you post your new site? Must of been deleted or something from your server.

Share this post


Link to post
Share on other sites
I am using Dev-C++, and I have encountered a problem. Initially, I had a series of missing files, but through copying the Include and Lib files into the accompanying folders in the Dev-C++ directory, the original errors cleared up, but some new ones took their place.

The errors are listed at http://www.geocities.com/crazyjim2k/errors.html.

I tried getting the DX8 compilation (mentioned somewhere above…the 1.7Mb one), but after implementing that correctly, the errors still stand.

Somebody had a similar set of errors back up the list, but no solution was found after they converted to MSVC.

Is there a solution to this problem, or should I just wait until I can get MSVC? I'd just like to get Dev-C++ going so I can get on with this tutorial...

Blah, I says.

Edited by - CrazyJim on October 21, 2001 3:41:36 AM

Share this post


Link to post
Share on other sites
Alright, this is donkey doo-doo, I''ve clicked on the latest webpage that Teej has made to get the zip files (6th page of the this forum). And it leads me to a white screen that says

/home/GameDev

Parent Directory

No other directories are listed under it. Can someone give me an exact working address to get these zip files. I know these forums are way ahead of this one but I''m just beginning and was on a role until this dead end.

Good tutorial so far, I''m enjoying it!!!



Keep On Smiling

Share this post


Link to post
Share on other sites
Check out here
http://www.sfu.ca/~dbrokens/index.html

Im pretty sure it has the latest sources on it.

Share this post


Link to post
Share on other sites
The above link has all the sample code but the DX7 help files have disappeared. Can anyone sort this?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Hello. I am having the same or similar problem that Bwhite had. I am using VC++ 6.0 and get this problem
Compiling...
GameMain.cpp
c:\program files\microsoft visual studio\myprojects\basecode1\gamemain.cpp(119) : fatal error C1010: unexpected end of file while looking for precompiled header directive
InitTerm.cpp
c:\program files\microsoft visual studio\myprojects\basecode1\initterm.cpp(364) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Utils.cpp
c:\program files\microsoft visual studio\myprojects\basecode1\utils.cpp(503) : fatal error C1010: unexpected end of file while looking for precompiled header directive
WinBase.cpp
c:\program files\microsoft visual studio\myprojects\basecode1\winbase.cpp(158) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.

Basecode1.exe - 4 error(s), 0 warning(s). Bwhite said he fixed it by changing something from user defined to automatic. How do I do that? Would that work in my case? If not, what should I do? Thanks

Share this post


Link to post
Share on other sites
Go to the menu
Project->Settings

Go to All configurations

Click on the C/C++ tab

Click on the pulldown

Go to "Precompiled Headers"

You can change this to "Not using precompiled Headers"

Haven''t looked at the recent basecode - in fact, I haven''t looked at any of good ol'' Teej''s basecode since the first incarnation of this tutorial got me through my first game, but I do remember that he wasn''t using any precompiled headers then, so that should fix your problem.

:D



DracosX:

Master of the General Protection Fault

Share this post


Link to post
Share on other sites
can anyone send me the site with teej''s zip file on it. When I click on the link i get sent to megasomething..... and I can''t find this website so I can''t get the files to continue which just sucks.

Thanks for the help.

Share this post


Link to post
Share on other sites
Me too. When I go to teej''s site, I get redirected to some corny mega-something, and I get a million little ad windows asking me shit... What''s up with that? I hope the site is still active.

If it''s not, please tell me how to get hold of the zip file (and DX7).

Share this post


Link to post
Share on other sites

  • Advertisement