Re: Why can't it find odbc32.lib? It's there.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Alex Blekhman wrote:
If you set directories in Tools -> Options -> VC++
Directories, then it wil be visible to all projects. You can
set additional directories for compiler and linker for
specific project in project settings. Then it will be
visible for this project only.

Thanks, Alex.

I made sure the Lib and Include directories in the Platform SDK were
set in the IDE as you suggest under Tools | Options, and the command
line msbuild finds those libraries now.

Now here's the kicker: If my directory is named "VC\Platform SDK" the
system environment variables set for "VC" won't find it. However, if I
remove the space and name it "PlatformSDK" the contents will be located
by the program. Obscure.

Now the command line build is complaining about not finding
adbccp32.lib, which is not anywhere on my hard drive, so I don't think
that's a path problem. I'll have to do some searching to see if anyone
else has come across this. Any ideas?

Thank you,
JeanneP

.



Relevant Pages

  • Re: Excluding a lib from linking
    ... Concerning choice and inclusion of .lib files, it seems that the linker ... - the command line; ... Like you, i have tried the pragma directive with /nodefaultlib, without any ... I have a kind of solution, but it is necessary to remove the lib file in the ...
    (microsoft.public.vc.language)
  • Re: VS 2008 linker: how to see the paths that the linker is following to libc*.lib?
    ... Use the /VERBOSE linker option to see exactly what was linked from where. ... the linker output to a file. ... Visual Studio, the environment variables are ignored and the ... IDE or always from the command line, then this is not the problem.. ...
    (microsoft.public.vc.language)
  • Re: Compiler option ?s
    ... > Here are the Project Settings for a Win32 dll called Timers.dll ... You can also specify the ... > pondering this one too. ... There's a separate command line for the linker. ...
    (microsoft.public.vc.language)
  • Re: SDK header files
    ... Add _WIN32_IE=0x500 in your project settings. ... Here's the link to download the Platform SDK: ... > header files, but I cant seem to find them. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Linking issue
    ... Looks to me like the usual ordering problem with the command line. ... the *First* thing that happens is that the linker ... confusions because there is already a system command named test. ...
    (comp.lang.fortran)