Connecting Tech Pros Worldwide Help | Site Map

mix Visual c++ 2003 with Fortran IFC 8

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 11:23 AM
Pakea
Guest
 
Posts: n/a
Default mix Visual c++ 2003 with Fortran IFC 8

Dear all,

I'm trying compile MSV .NET with IFC v8.

In my c++ source I write
....
extern "C" void _stdcall ROUTINE (...)
...
main
{....
void ROUTINE (...);
....}

In fortran source
subroutine routine (...)
....
return

In my MSV Solution, I included the fortran project in MSV .NET (I
called it "prototipo"), and I built my library ("prototipo.lib"). But
when I try link the solution, I have an error
--------------------
Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
Creating library .\MyApp_d.lib and object .\MyApp.exp
MyApp.obj : error LNK2019: unresolved external symbol _ROUTINE@12
referenced in function "public: void __thiscall
Applica::IniciaPosCoche(void)" (?IniciaPosCoche@Applica@@QAEXXZ)
..\MyApp_d.exe : fatal error LNK1120: 1 unresolved externals
-------

Any solution

Thanks
Pakea

  #2  
Old July 22nd, 2005, 11:24 AM
puppet_sock@hotmail.com
Guest
 
Posts: n/a
Default Re: mix Visual c++ 2003 with Fortran IFC 8

pmorer@udc.es (Pakea) wrote in message news:<bffea37b.0405210240.4d546c09@posting.google. com>...
[snip][color=blue]
> I'm trying compile MSV .NET with IFC v8.[/color]

This is all off topic here. Here we only talk about C++ language
issues, not specific compilers (except w.r.t. language issues),
not other languages.

You will want one of the microsoft.public.vc.* news groups for
the Microsoft parts. They are available from www.google.groups,
or from the microsoft public news server. You may find more
guidance over there about what to do with the Fortran parts.
Also, a search at www.google.groups may well make it obvious
which news groups discuss these things.
Socks
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.