Advertisement

Game tutorial

Started by September 22, 2001 09:03 AM
2 comments, last by Bump Lens 23 years, 5 months ago
Hello (this be my first post dudes), I''m just taking a peek at the shiningKnight game tuts - but a little problem came about with me ol'' Linker (MS 6.0): --------------------Configuration: Shining3D - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Shining3D.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Shining3D.exe - 2 error(s), 0 warning(s) can anybody help me out with this? Cheers
I''m not sure if this will solve your problem, but it has happened to me too. When you create a new Win32 Application, you have to go to File -> New choose the Projects tab, and choose Win32 Application. Sometimes, if you just do File -> New and choose New C++ File, the compiler might assume you are making a DOS app.

P.S. I don''t think that will solve your problem, but it''s worth a try.
C++
Advertisement
MSVC++ 6.0 can''t compile DOS apps. You probably mean a console app. Otherwise the advice is probably a good one.

Check the sources, if they contain a ''WinMain'' function (the entry point) somewhere, then you should build it as a Win32 Windowed App. The linker is currently assuming that you are building a Win32 Console App (which has ''main'' as the entry point).
HAHA, sorry guys just laughing at myself - I was letting the compiler choose a default workspace (It''s my fault for expecting MS to do anything bloody well).

This topic is closed to new replies.

Advertisement