-
Scene conversion problems
Hello,
I just made a post on importing a scene (model) to OpenGL. I am using an application called "3D4WIN". I converted an .ASE file to C/c++, and I keep recieving this error in the build:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/54654654.exe : fatal error LNK1120: 1 unresolved externals
I do not know what is wrong. I reinstalled MSVC++, but no luck. Any suggestions on how to fix?
Thanks in advance.
[This message has been edited by ThinIce (edited 03-25-2002).]
[This message has been edited by ThinIce (edited 03-25-2002).]
-
Member
Regular Contributor
Re: Scene conversion problems
you have created a console app and so the compiler expects
void main()
{
}
you probably have int WinMain(...) instead
-
Re: Scene conversion problems
I converted it from console to Win32 app, and I get this:
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
-
Senior Member
OpenGL Guru
Re: Scene conversion problems
Do you have a main or a WinMain function at all?
I have a funny feeling you are trying to build an executable from a code meant to be built as a library file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules