Re: How to link a Fortran static library to a C++ program?



Guch Wu wrote:
Thanks!
But it yields another problem:

error LNK2019: unresolved external symbol _for_write_seq_lis referenced
in function _SUB

I have, in a command shell:

s:\>ifort /c sub.f90
s:\>cl mainpg.c sub.obj
s:\>mainpg
10

If you are using an IDE, there are many combinations of settings and options that may need to be set. I rarely use IDEs.

N. Shamsundar
University of Houston
.



Relevant Pages

  • Re: Umstieg von VB.NET auf C#
    ... VB.Net gebe ich "sub test" und Enter ein, die beiden Klammern und das End ... sub erstellt mir die IDE auotmatisch. ... dazu muss man den Namensraum noch exact angeben. ... oder ob es eine Schnittstelle implementiert. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Umstieg von VB.NET auf C#
    ... VB.Net gebe ich "sub test" und Enter ein, die beiden Klammern und das End ... sub erstellt mir die IDE auotmatisch. ... dazu muss man den Namensraum noch exact angeben. ... oder ob es eine Schnittstelle implementiert. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Weird bug in VS.NET 2003 IDE
    ... > From time to time, when I save my code, the IDE decides to add lines to ... > End Sub ... > End Namespace ... > the IDE adding all these lines is that the program fails to compile, ...
    (microsoft.public.vsnet.ide)
  • Umstieg von VB.NET auf C#
    ... VB.Net gebe ich "sub test" und Enter ein, die beiden Klammern und das End ... sub erstellt mir die IDE auotmatisch. ... dagegen ist das eingebaute C# Refactoring eher ... public Color TextBoxBackColor { ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Exception Handling difference between Design-Time and Run-Time
    ... About the bug. ... I'm not saying either way whether its the IDE thats at fault ... Instead I use global Exception handlers, as they largely do what I ... > Public Shared Sub Main ...
    (microsoft.public.dotnet.languages.vb)