-
some one help me
Iam trying to run asmall project in the debug version but iam not able
to do that,the following errors occure:-
LIBCD.lib(crt0.obj):error LNK2001:unresolved externl syambol_main
Debug/TES.exe:fatal error LNK1120:1 unresolved externals
error executing link.exe
the project is 100% right(typed from the book),
any one has an idea about such an error
thanks
-
Re: some one help me
The linker is looking for the main() function. That should have been
part of the project you typed in.
--
Truth,
James Curran
www.NJTheater.com (Professional)
www.NovelTheory.com (Personal)
www.BrandsForLess.Com (Day Job)
"kais" <khis501@hotmail.com> wrote in message
news:3ba9058e$1@news.devx.com...
>
>
> Iam trying to run asmall project in the debug version but iam not able
> to do that,the following errors occure:-
>
> LIBCD.lib(crt0.obj):error LNK2001:unresolved externl syambol_main
> Debug/TES.exe:fatal error LNK1120:1 unresolved externals
> error executing link.exe
>
> the project is 100% right(typed from the book),
> any one has an idea about such an error
>
>
>
> thanks
-
Re: some one help me
"kais" <khis501@hotmail.com> wrote:
>
>
>Iam trying to run asmall project in the debug version but iam not able
>to do that,the following errors occure:-
>
>LIBCD.lib(crt0.obj):error LNK2001:unresolved externl syambol_main
>Debug/TES.exe:fatal error LNK1120:1 unresolved externals
>error executing link.exe
>
>the project is 100% right(typed from the book),
>any one has an idea about such an error
>
>
>
>thanks
Assuming you do have a "main()" included in your program, check your project
settings for a possible library mismatch. For example, you may be trying
to link with both the static and dynamic libraries. (/MD)
For best results, until you get a handle on the various options, always use
the AppWizard to create a project type for you, i.e., Console, Win32, MFC,
etc. This will insure a correct default configuration.
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks