[CMake] trouble finding libraries on 64 bit
Bill Hoffman
bill.hoffman at kitware.com
Fri Jan 5 17:01:29 EST 2007
Wojciech Jarosz wrote:
> I set my compiler to /usr/bin/g++32. I don't have access to that
> computer at this moment, so I can't check if that implies that its not
> a 64 bit compiler.
>
> I switched to using g++32 because using regular g++ (which was version
> 4.1, i think) would give compiler errors when compiling very simple
> c++ programs. Seems it couldn't find files such as c++config.h,
> os_defines.h, etc, which were available in the i386 include directory
> in /usr/include/c++/.../bits/ and not in the x64 include directory.
> Does this sound familiar to anyone? Sorry that I can't be more
> specific -- I'll write more when I get access to that machine again.
OK, well if you are using a 32 bit compiler, you do not want to find 64
bit libs as they will not work. If you get a 64 bit compiler, cmake
should find the right stuff.
-Bill
More information about the CMake
mailing list