• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

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

da_cobra

downloading source from the WWW

9 posts in this topic

how come whenever I download src-files for simple games from the net the linker gives me errors, I already included the library''s and the include-files for directx in my options-menu?!?
0

Share this post


Link to post
Share on other sites
Perhaps you could elaborate on exactly what (type of) errors you get...

Is it some specific library that the linker never finds, or...?
0

Share this post


Link to post
Share on other sites
sure, here are the errors :

Linking...
GameMain.obj : error LNK2001: unresolved external symbol "void __cdecl GameOver(void)" (?GameOver@@YAXXZ)
GameMain.obj : error LNK2001: unresolved external symbol "void __cdecl GameDie(void)" (?GameDie@@YAXXZ)
GameMain.obj : error LNK2001: unresolved external symbol "void __cdecl GamePlay(void)" (?GamePlay@@YAXXZ)
GameMain.obj : error LNK2001: unresolved external symbol "void __cdecl GameLevelChange(void)" (?GameLevelChange@@YAXXZ)
GameMain.obj : error LNK2001: unresolved external symbol "void __cdecl GameIntro(void)" (?GameIntro@@YAXXZ)
GameMain.obj : error LNK2001: unresolved external symbol __imp__timeGetTime@0
GameMain.obj : error LNK2001: unresolved external symbol "long __cdecl RestoreAll(void)" (?RestoreAll@@YAJXZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/GameMain.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.

GameMain.exe - 9 error(s), 0 warning(s)

hope some1 can help me...
0

Share this post


Link to post
Share on other sites
Are you sure you are compiling it correctly? from that _main error I can see you are trying to compile it down into a console app... make a win32 application project and start from there.

IF you cannot compile the source then contact the author.. most authors like to help.
0

Share this post


Link to post
Share on other sites

Don''t know for sure, but it looks like you''re missing an include file somewhere.

I noticed:
unresolved external symbol __imp__timeGetTime@0
as one of your errors.

This would normally be resolved by linking with winmm.lib and including mmsystem.h.

If the compiler is linking with winmm.lib, then mmsystem.h is not being included. You would expect one of the game header files would take care of this include.

I suspect, that you are missing an include somewhere that has unresolved external stuff. This file would also have the mmsystem.h. Either the include is missing from GameMain.cpp or GameMain.h, or the file was not added to the project. I would guess the latter.

What you could do is do a file search in that directory looking for the text "#include " Whatever file comes up, make sure it is included in GameMain.cpp. You may find that this file may not only have mmsystem.h but the other externals as well.

Guy
0

Share this post


Link to post
Share on other sites
quote:
Original post by GuyJohnston

Don''t know for sure, but it looks like you''re missing an include file somewhere.

I noticed:
unresolved external symbol __imp__timeGetTime@0
as one of your errors.

This would normally be resolved by linking with winmm.lib and including mmsystem.h.

If the compiler is linking with winmm.lib, then mmsystem.h is not being included. You would expect one of the game header files would take care of this include.

I suspect, that you are missing an include somewhere that has unresolved external stuff. This file would also have the mmsystem.h. Either the include is missing from GameMain.cpp or GameMain.h, or the file was not added to the project. I would guess the latter.

What you could do is do a file search in that directory looking for the text "#include " Whatever file comes up, make sure it is included in GameMain.cpp. You may find that this file may not only have mmsystem.h but the other externals as well.

Guy



This probably isn''t your problem, cobra. A missing .h file would give a very different type of error. (I assume you posted all the errors you are getting.)

It looks to me like your project settings are wrong. Why don''t you post the URL you got those src-files from. That way we could figure out exactly what you are doing wrong.
0

Share this post


Link to post
Share on other sites
I'd say that the linker hasn't found the .lib or .cpp file needed for your project to compile. Either add the file to your project tree or make sure that the linker does use it.

(I'm not talking about the DX-SDK .lib:s)

If I see correctly it is something wanky with your GameMain.cpp not being compiled and linked correctly....



I'm pretty much guessing so don't blame me if I am wrong

Edited by - WhiteHouse on October 12, 2001 5:04:45 PM
0

Share this post


Link to post
Share on other sites

I''ll have to disagree with myself, and agree with Anonymous Poster. I disagree with myself on a regular basis.
It''s just that I have recieved similar errors through
that route.

And for what WhiteHouse said, I also agree.
Missing lib or cpp file. And yea, I would''nt mind downloading those files myself and checking them out.


"I know nothing !" Schultz, Hogan''s Heros
0

Share this post


Link to post
Share on other sites
Even if you add the paths to the options you still need to tell the project to use the included lib. Its in project->setting->link in VC++ 6.0. Type the name of the engines .lib file in the object/libraries line. Rebuild all. Hope this helps...

Mike Barela
MikeB@yaya.com
0

Share this post


Link to post
Share on other sites