473,624 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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::Inicia PosCoche(void)" (?IniciaPosCoch e@Applica@@QAEX XZ)
..\MyApp_d.exe : fatal error LNK1120: 1 unresolved externals
-------

Any solution

Thanks
Pakea
Jul 22 '05 #1
1 1638
pm****@udc.es (Pakea) wrote in message news:<bf******* *************** ****@posting.go ogle.com>...
[snip]
I'm trying compile MSV .NET with IFC v8.


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.publi c.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
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5302
by: Markus Faust | last post by:
Hi, I'm trying to link Fortran files generated with “Compaq Visual Fortran Optimizing Compiler Version 6.6 (Update B)” under “Enthought Edition build 1028, Python 2.3 (#46, Aug 11 2003, 09:34:05) on win32” on Windows-XP”. I changed mingw32_support.py as proposed by Pearu Peterson on April 8 2003 (I changed `if 1:` block into `if 0:` block). When trying the following Python session:
1
293
by: Ed | last post by:
Apparently my Visual Studio 6.0 cannot support any Fortran files, so I'm abounding with problems compiling. One of my coworker's Visual Studio does support it in some mysterious way I cannot figure out. One difference is that clicking "Project-> Settings" leads to tabs that DO NOT include "Fortran" in my Visual Studio. My coworker's does. Microsoft says it does not support it, so how and where do I go about enabling Fortran support?
0
1499
by: micc | last post by:
I am using devenv to build a solution. The Solution comprises 2 projects :- one C++ and the other a Fortran project. I created this solution by automatically converting a Visual Studio version 6 project. When I build the solution in a Visual Studio .NET workspace, it builds successfully with no errors in either project.
5
5958
by: foo | last post by:
I've been looking on the web to see if I could find a link that would describe the difference between the 14882:1998 and the 14882:2003 C++ standard. I found the following link: http://www.acceleratedcpp.com/authors/koenig/c++std/revisions.pdf But the above document is over 300 pages long, and it's not practical for actually trying to determine what difference has been made that would actually effect the langauge.
4
3305
by: Cyde Weys | last post by:
I'm currently working on converting a simulator program from Visual Basic 6.0 to Visual C++ .NET. I've figured out most of the stuff, but there's still one thing I haven't gotten to and I've never really had to deal with it before. I'm programming a front-end for what is a compiled Fortran program. The VB source does the following to call the Fortran: 'Defines the subroutine. Declare Sub Cycle_DW Lib "cycdw.dll" Alias "CYCDW" (ByRef...
140
7811
by: Oliver Brausch | last post by:
Hello, have you ever heard about this MS-visual c compiler bug? look at the small prog: static int x=0; int bit32() { return ++x; }
1
1049
by: beliavsky | last post by:
I am considering purchase of Visual C++ .NET Std 2003, but I wonder when the next edition is coming out -- maybe I should wait. Any ideas? One reason I need it is that it is a prerequisite for installing Intel Visual Fortran, which I believe uses a Microsoft linker.
7
1717
by: Charles | last post by:
I have Visual Studio 6.0 stand-alone (with C++) and as part of Compaq Visual Fortran 6.6c. I am moving my development from a Win 98 SE machine w/2x 10 Gb HDD (each w/ 1Gb free), 768 Mb RAM to a 3.2 MHz Win XP Pro machine w/147 Gb HDD (121 Gb free) and 2 Gb RAM. Loading a particular project with Fortran code only with about 80 files and 750 Mb of source code on Win 98 takes 15 seconds until the editor is ready to use.
2
2818
by: Ray J. | last post by:
I have a C++ program written and compiled on Solaris 8 with gcc. With gcc lets me compile fortran code along with the C++ program to be able to call the fortran code as a subroutine. The specifications for this project have changed and I am porting the C++ code to Visual C++. Is there a way to call fortran code from a C++ program compiled with Visual C++?
0
8233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8170
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.