VC ++ Error

Discussion in 'SolidWorks' started by Sushil, Jun 28, 2003.

  1. Sushil

    Sushil Guest

    Hello people,

    I tried using the SolidWorks Add-In AppWizard to create a sample Com
    AddIn Build Procedure. After accepting the defaults, when I try to
    build the code, I get this error:

    LINK : fatal error LNK1104: cannot open file "mfc42u.lib"

    I tried setting all the configurations, but did not help. Can you
    please let me know, what is wrong?

    Thanks,

    Sushil.
     
    Sushil, Jun 28, 2003
    #1
  2. You should have "mfc42u.lib" in C:\Program Files\Microsoft Visual
    Studio\VC98\MFC\Lib
    otherwise there's something wrong with your install. Which Visual C++/Studio
    version are you using, BTW?

    Philippe Guglielmetti - www.dynabits.com
     
    Philippe Guglielmetti, Jun 28, 2003
    #2
  3. Sushil

    Vincent Wang Guest

    Using Explorer Search to find out the folder containing this lib file. Add
    the path into VC library directory: Tools->Options->Directories, change the
    pulldown list to 'Library files', then add the path.
    Good luck.
    Vincent
     
    Vincent Wang, Jul 3, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.