CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: VCOMP.lib

  1. #1
    Join Date
    Nov 2008
    Posts
    6

    Smile VCOMP.lib

    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

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: VCOMP.lib

    Be sure the file 'VCOMP.lib' does exist (perhaps, you wrote its name incorrect, or you should add its path)
    Victor Nijegorodov

  3. #3
    Join Date
    Nov 2008
    Posts
    6

    Re: VCOMP.lib

    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?

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: VCOMP.lib

    What IDE are you using?
    Isn't it your case: http://connect.microsoft.com/VisualS...edbackID=98939 ?
    Victor Nijegorodov

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: VCOMP.lib

    Victor Nijegorodov

  6. #6
    Join Date
    Nov 2008
    Posts
    6

    Re: VCOMP.lib

    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

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: VCOMP.lib

    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.
    Victor Nijegorodov

  8. #8
    Join Date
    Nov 2008
    Posts
    6

    Re: VCOMP.lib

    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?

  9. #9
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: VCOMP.lib

    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.
    Victor Nijegorodov

  10. #10
    Join Date
    Nov 2008
    Posts
    6

    Re: VCOMP.lib

    Ok. Thank you so much for your time :O)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured