[physfs] static and import library have got the same name under MSVC?

Ryan C. Gordon icculus at icculus.org
Thu Mar 20 15:56:35 EDT 2008


> when generating a MSVC 2005 solution for building PhysFS with static and 
> shared library targets enabled I had a strange behavior. The import 
> library for physfs.dll as well as the static library are names 
> physfs.lib. Because both files are placed in the same directory this 
> leads to one file overwriting each other during build.
> 
> Is this a bug or a feature?

Bug. Is this 1.1 or 1.0? I think I fixed this in the CMake files in 1.1, 
but probably not the 1.0 Visual C project files.

I'd also recommend you just build PhysicsFS directly into your project 
instead of trying to build it as a separate library...it's probably 
easier for most uses.

--ryan.




More information about the physfs mailing list