Author |
Message |
Topic: Adding FTN95 lib to VS C project |
Nathan
Replies: 3
Views: 6412
|
Forum: Support Posted: Tue Apr 10, 2012 12:30 pm Subject: |
Hi Paul
Thanks for your quick response. I did try adding the static library salflibc.lib. However I then got the error message saying that printf etc had been redefined. I expect in a clash with li ... |
Topic: Adding FTN95 lib to VS C project |
Nathan
Replies: 3
Views: 6412
|
Forum: Support Posted: Tue Apr 10, 2012 7:48 am Subject: Adding FTN95 lib to VS C project |
I am having problems adding a FTN95 Fortran library to my Visual C Project using visual studio. The C project is for win32, not .NET. I am compiling my C project as C, not cpp, and I am using the MS C ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Thu Nov 03, 2011 2:28 am Subject: |
ABOVE POST CONTINUED:
And SIMPLX appears in the map file as resolved. The files SIMPLX.for and LINV.for are in the same library. If I then take the subroutine called linv from linv.for and add it ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Thu Nov 03, 2011 2:09 am Subject: |
Yes, I am looking at the map file, logfiles and using dumpbin.
Essentially my problem can be explained by if I use dumpbin /symbols on the library, I see the symbol defined. For example looking at ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Wed Nov 02, 2011 3:29 pm Subject: |
Hi Paul
Thanks for your help so far with my lib problem.
As far as I can tell, all my code has been included in the static lib file. When I run dumpbin /symbols I can see the function name, wi ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Tue Nov 01, 2011 9:56 am Subject: |
Hi Paul
Thanks for your reply.
What I am trying to acheive is including several static libraries, all of which use subroutines within other static libraries, and then link them all togeather int ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Mon Oct 31, 2011 2:56 pm Subject: |
Thanks Paul.
How do I import the library into the linker ? And in Visual Studio.
Is this different to either in Visual Studio adding a reference, or in the linker options, adding the library fil ... |
Topic: FTN95 with Visual Studio - adding libs |
Nathan
Replies: 10
Views: 12352
|
Forum: Support Posted: Mon Oct 31, 2011 6:29 am Subject: FTN95 with Visual Studio - adding libs |
I am having problems with unresolved externals when adding libs and using VS2005 or 2010. This is a win32 library and executable, not .NET.
My first problem is that both editions of Visual studio c ... |
Topic: Error 409, Field width zero not allowed on input |
Nathan
Replies: 5
Views: 6956
|
Forum: Support Posted: Mon Oct 31, 2011 3:24 am Subject: |
I am not too sure what the code does. I am not much of a fortran programmer. When I compile with ftn95 using a makefile, it runs fine. When I debug using ftn95 in VS2005, it stops at this stage in the ... |
Topic: Error 409, Field width zero not allowed on input |
Nathan
Replies: 5
Views: 6956
|
Forum: Support Posted: Thu Oct 27, 2011 7:43 am Subject: Error 409, Field width zero not allowed on input |
Any ideas what this error means? My calling code where it fails is
read(toprec,'(a)') gifver1
When running the debugger
toprec = '�???????????
gifver1 = 48
character*(mxrecl ... |
|