Jump to content
  • Advertisement
rjhwinner03

Am I the only one that has issues compiling the source code for "Programming a Multiplayer FPS in Direct3D"?

Recommended Posts

I have just bought this book with hopes that it would be easy to compile and read the source code. It is easy to read the code, but it never compiles correctly and when it compiles, I get ESP errors that require me to shut down the Game. In visual C++ 6, I get undefined reference to security check errors, so I cannot use it.

 

Please Help!

Share this post


Link to post
Share on other sites
Advertisement

The book is called "programing a Multiplayer FPS in Direct3D" by Vaughan Young.

 

If the website had not been taken down, I would not have as many issues...

Even Wayback Machine does not work because some of the pages that were needed were not archived, so I get errors when I try to download the source code updates.

Share this post


Link to post
Share on other sites

For visual c++ 6, I get the error "Undefined reference to __security___checks" from the D3DX9DT.lib file...

 

 

Thanks for answering so quickly by the way.

Here are the exact errors 

 

Compiling resources...
Compiling...
Bullet.cpp
Game.cpp
GameMaterial.cpp
Main.cpp
Menu.cpp
PlayerManager.cpp
PlayerObject.cpp
Weapon.cpp
Linking...
d3dx9dt.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(c30program.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cpslegacyprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cpsprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cvsprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(trees.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cbaseprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cparse.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jdhuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jchuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cassembler.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(ccompiler.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(fastftoa.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(nfmcomp.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(pngwutil.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(pngrutil.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cpreprocessor.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(ctokenize.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(xtempl.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(xzip.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(binaryload.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(xdata.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jdmarker.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(jerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(pngerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(d3dx9shader.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(ccodec.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(xfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(patchmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cfont.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cline.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cleanmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cimage.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(d3dx9core.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(createmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(loadx.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(loadxh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(d3dx9dbg.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cpudetect.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(ssefasttable.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(d3dxmathx3d.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9dt.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(c30program.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cpslegacyprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cpsprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cvsprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(trees.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cbaseprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cparse.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jdhuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jchuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cassembler.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(ccompiler.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(fastftoa.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(nfmcomp.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(pngwutil.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(pngrutil.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cpreprocessor.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(ctokenize.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(xtempl.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(xzip.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(binaryload.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(xdata.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jdmarker.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(jerror.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(pngerror.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(d3dx9shader.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(ccodec.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cfile.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(xfile.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(patchmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cfont.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cline.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cleanmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cimage.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(d3dx9core.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(createmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(loadx.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(loadxh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(d3dx9dbg.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(cpudetect.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(ssefasttable.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9dt.lib(d3dxmathx3d.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
Debug/Game.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

Game.exe - 93 error(s), 0 warning(s)
 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!