[CMake] Can't compile a quite simple Fortran static library

Bill Hoffman bill.hoffman at kitware.com
Thu Aug 21 09:03:42 EDT 2008


Bill Hoffman wrote:
> Renato N. Elias wrote:
>>
>> Hi Bill,
>>
>> I've followed your hint and tried to create a lib with 4 routines 
>> (https://mail.nacad.ufrj.br/~rnelias/transfer/cmake/SimpleLib.zip) and 
>> the problem persists. The VS project created by CMake doesn't work at 
>> all while my hand-made project works just fine. Is there any 
>> configuration file from my Visual Studio installation that could help 
>> us in figuring out about what's happening?
>>
> 
> I am confused....   In SimpleLib.zip the BuildLog.htm shows:
> 
> 
> simple_lib build succeeded, also all the .obj files are there, so it 
> seems to be working?
> 
> 
> What is the error that you get?
> 

OK, I think I get it now, the files in SimpleLib.zip are not cmake 
generated.  Can you provide both?  Also, can you make it even more 
simple with just one .f90 file and not 4?

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518-371-3971 (phone and fax)


More information about the CMake mailing list