473,395 Members | 2,446 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,395 software developers and data experts.

VFW.h link error


Hi I am trying to compile a package of avi to mpeg1 C source codes
But I got the link error
I searched actually my VFW.h and Vfw32.lib are all in the directory
what should I do
thanks a lot
Linking...
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileExit@0
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileRelease@4
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIStreamGetFrameC
lose@4
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIStreamReadForma
t@16
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIStreamInfoA@12
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIStreamGetFrame@
8
Readpic.obj : error LNK2001: unresolved external symbol _AVIStreamGetFrame@8

Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIStreamGetFrameO
pen@8
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileGetStream@1
6
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileInfoA@12
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileOpenA@16
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileInit@0
Encode.obj : error LNK2001: unresolved external symbol _AVIStreamRead@28
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@
16
Debug/AviMp1.exe : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.
AviMp1.exe - 15 error(s), 0 warning(s)


Nov 13 '05 #1
2 6895
Helen wrote:
Hi I am trying to compile a package of avi to mpeg1 C source codes
But I got the link error
This is really an implementation question rather than a language question.
Please direct future implementation questions to newsgroups devoted to your
implementation.
I searched actually my VFW.h and Vfw32.lib are all in the directory
what should I do
thanks a lot
Linking...
Avi2mpg1.obj : error LNK2001: unresolved external symbol _AVIFileExit@0
Did you tell your implementation to link Vfw32.lib? Having it in the same
directory is not sufficient.

<snip>
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
_WinMain@ 16


Tell your implementation that you want a console application, not a GUI
program.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #2
On Mon, 17 Nov 2003 18:22:16 -0600, "Helen" <ju****@yahoo.com> wrote
in comp.lang.c:

Hi I am trying to compile a package of avi to mpeg1 C source codes
But I got the link error
I searched actually my VFW.h and Vfw32.lib are all in the directory
what should I do
thanks a lot


Around here, members of the VFW (Veterans of Foreign Wars) would
probably be very unhappy with anyone who tried to link them to mpeg1
source code.

Considering what it was they did that qualified them to join the VFW,
even if it was some time ago for many of them, I personally wouldn't
want to try to link them against their wishes.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Matthew Houseman | last post by:
All, I've created a synonym that points to a package over a database link like so: CREATE SYNONYM API_MYLINK FOR USER.CSAPI_V2@INSTANCE.DOMAIN.COM I've granted execute like so: grant execute...
1
by: Andrew V. Romero | last post by:
I have a script that I am working on for an intranet tool and in this script I have a form, which when submitted the onSubmit command calls calculate(). In this calculate function, I have it do...
10
by: Gary Hughes | last post by:
I'm getting the following error when attempting to link a managed C++ dll. I can't find any reference to these errors with google. Can anyone help? I've included the class definition causing the...
10
by: Ian Lazarus | last post by:
Hello. How do "unresolved token" link errors occur. How do I fix them? Linking... LINK : error LNK2020: unresolved token (0A000015) ??_7type_info@@6B@ LINK : error LNK2020: unresolved token...
4
by: Jun | last post by:
anyone know how this error shows? how can i solve this? LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral LINK :...
13
by: rdemyan via AccessMonster.com | last post by:
My front-end code manually links to the backend file. I was wondering what stops Access from linking to the system tables in the backend file. Is it just by virtue that they are hidden? This...
5
by: Bruce | last post by:
I am getting a lot of link errors when compiling in the debug build but not release. I am compiling a CLR managed code class library. I believe the link errors are actually being caused by a...
10
richardhodge
by: richardhodge | last post by:
I am a VB6 database programmer and have run into a small problem. The company I work for primarily uses Microsoft Access 2000 for the database that is the back end for our software. Well the...
7
by: ApexData | last post by:
Hello I currently Link the FE/BE using the LinkTables Option and the Linked Table Manager. Any time I need to move the BE to another location, I have to go through this process over again. I...
3
by: Kevin | last post by:
Hi guys, I am a beginner for QT, and I installed the free qt 2.3 under windows (XP), as well as the MS's free VC expression edition (for their compilers, linkers, etc), and the SDK tool. My...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.