Click to See Complete Forum and Search --> : VCOMP.lib


Mona777
November 11th, 2008, 05:55 AM
i there,

I'm getting the following message (in the linking section) when I compile my C++ program. I'm trying to use direct sound but not sure if that is related:

LINK : fatal error LNK1104: cannot open file 'VCOMP.lib'


can anyone help please
Thank you very much

VictorN
November 11th, 2008, 06:14 AM
Be sure the file 'VCOMP.lib' does exist (perhaps, you wrote its name incorrect, or you should add its path)

Mona777
November 11th, 2008, 07:01 AM
Thank you very much for your reply. I've tried disabling OpenMP Support in Project-> Properties->C/C++->Language but it made no difference. Where do I look for VCOMP.lib?

VictorN
November 11th, 2008, 07:19 AM
What IDE are you using?
Isn't it your case: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=98939 ?

VictorN
November 11th, 2008, 07:22 AM
Some more reasons: http://social.msdn.microsoft.com/Search/en-US/?Refinement=108&Query=fatal+error+LNK1104

Mona777
November 11th, 2008, 07:46 AM
Hi, I don't know what IDE, I just started at a new company, I'm a beginner and no one else knows about programming here. How do I find out what IDE I'm using?

Yes the case is as you mentioned and I did switch OpenMP on and also off but it made no difference. When I try to run the program in Debug it says that it misses VCOMPD.lib

Many thanks for your time

VictorN
November 11th, 2008, 07:57 AM
From MSDN:integrated development environment (IDE)
In the Microsoft Developer Studio, an integrated set of Windows-based tools for building, testing, and refining an application. The IDE includes a variety of editors, project build facilities, compilers, an incremental linker (for C++), a class viewer, and an integrated debugger. The IDE enables you to create, test, and refine your applications and Web sites all in one place. Its what you are using for developing your application. The most popular are:
VC++6.0 (it is, however too old and should be avoided for new developing)
VS2002
VS2003
VS2005
VS2008
There is also some somedivision into editions such as Standard, Professional, Enterprise, Express and so on.

Mona777
November 11th, 2008, 08:07 AM
Thank you very much. One last question then. The program runs on my laptop (which is not here but I can get it tomorrow) what can I copy from my laptop to this computer (at work) that would enable me to run the program?

VictorN
November 11th, 2008, 08:12 AM
I don't know what IDE and what SDK are you using on your laptop and desktop PCs.
You should just compare and find out the difference.

Mona777
November 11th, 2008, 08:15 AM
Ok. Thank you so much for your time :O)