473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

Hi i am getting error LNK2001: unresolved external symbol_function name
where these functions are called in the main function.
Sep 28 '07 #1
8 8263
Meetee
931 Expert Mod 512MB
Hi i am getting error LNK2001: unresolved external symbol_function name
where these functions are called in the main function.
I think you have not linked some library. Also search on MSDN (google) regarding error LNK2001 and relate it's explanation with your code. You will find the solution.

Regards
Sep 28 '07 #2
Shall i have to add the library file LIBCD.lib in order to resolve my problem?
if so give me a link to download the corresponding library file
Sep 28 '07 #3
weaknessforcats
9,208 Expert Mod 8TB
Is there a main() in your code??
Sep 28 '07 #4
weaknessforcats
9,208 Expert Mod 8TB
Are these your functions? If so, you have not included the function definitions in your build. If they are library functions you need to add the appropriate library to the list of linker dependencies.

The LNK2001 tells me you are using Visual Studio.
Sep 28 '07 #5
sicarie
4,677 Expert Mod 4TB
hadimani-

Please do not double post.
Sep 28 '07 #6
kla
1
Hi i am getting error LNK2001: unresolved external symbol_function name
where these functions are called in the main function.
you can resolved by win32 console application
Oct 7 '07 #7
Is there a main() in your code??
yes.I had main in my program
Oct 23 '07 #8
weaknessforcats
9,208 Expert Mod 8TB
Maybe you could post a piece of your code.
Oct 23 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Bruce Schechter | last post by:
I am quite experienced with vs.net 2003 and c# but fairly new to c++. I have a test app in c++ that I need to compile for a c#/c++ interop evaluation I'm doing. But first, I simply need to...
1
by: Julian | last post by:
I am trying to compile a "legacy" code in VC++ .NET (2003) this code works fine in VC6 I get the following error: LNK1104: cannot open file 'msvcirtd.lib' i read this page :...
1
by: Danno040 | last post by:
I'm trying to compile the source code for the demos that comes with NVIDIA's SDK using Visual Studio 2005, however whenever I try to build them I get a large number of unresolved external errors or...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
by: Darko Miletic | last post by:
Recently I wrote a dll in c++ and to simplify the distribution I decided to link with multithreaded static library (/MT or /MTd option). In debug everything works fine but in release I get this: ...
1
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i...
3
by: walex | last post by:
Hello guys, I'm trying to install devsec an application for ffpeg for camera,but on,is a c programme,after compilation ,i now type make, then this two error are generated.common.h:67: error: array...
2
by: bcoder77 | last post by:
Hi All, I am using Rhapsody7.0 in C++ with Miscrosoft Visual Studio 9.0. I wrote a simple "Hello World" project and while running (GMR) the project I get this error: Building ------------ ...
4
by: =?Utf-8?B?amM=?= | last post by:
Hello, I am in process of porting a 32-bit app to a 64-bit app. The 32-bit app compiles/links and executes OK using the CPUInfo.lib. However, when I compile/link the 64-bit app I get several...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.