473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to link dll in a VS 2008 project?

Hi!

I am making a project in Visual Studio 2008 with making use of integrated Intel Fortran Compiler (ver. 11.1). The program is written in Fortran and uses netCDF for writing results of its calculations.

When I worked with this program using old Compaq Visual Fortran, there were no problems niether with the code nor with netCDF (only 3 files related to netcdf were used: netcdf.fi, netcdf.dll and netcdf.lib). But now, when I rebuilt it in VS 2008, an error occured related to netCDF (as I suggest...). The error text is as follows:

1>Linking...
1>pom2k_CDF.obj : error LNK2019: unresolved external symbol _NF_STRERROR referenced in function _HANDLE_NETCDF_ERROR
1>pom2k_CDF.obj : error LNK2019: unresolved external symbol _NF_DEF_VAR referenced in function _DEF_VAR_NETCDF

and so on (10 errors of this type).

What can be wrong with it? The compiling stage is OK, but on the stage of linking (as shown above) these errors occur...


PS: all project files are *.f (fortran fixed format), also the header netcdf.fi is included in the project and netcdf.dll is put in the project directory. But the errors remain...

Thanks in advance!
Mar 5 '11 #1
2 3101
I've solved the problem. Looks like it was caused by the error of the VS integrated linker. For some reason it did not take the set parameters, therefore it could not link necessary files. Rebuilding the project with setting corresponding parameters solved the problem.
Mar 6 '11 #2
I need using netCDF in Intel FORTRAN project, If it is possible please send your project or sample of your project for me.
It will help me a lot!
My email is
Sincerely yours.
Jan 6 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: yanwan | last post by:
Hello I met some problems in linking a project, and hope someone can give me some advice. -----------Configuration: lighting - Win32 Release-------------------- Linking... LINK : warning...
0
by: parekh | last post by:
Hi All , I am facing a problem wherein my VB project is not recognizing a change in the argument list of a method ( the method itself being declared and defined in another VC++ project and it...
1
damonreid
by: damonreid | last post by:
Firstly is it possible to take values from Project and use it to populate fields in access and secondly if it is does anyone have a tutorial? I can't appear to find anything online other then. ...
1
by: Nhlaisaac | last post by:
Hi I have created an access database that stores and retrieves all necessary administration information. I would like to make this data base accessable to relevant personnel through a sever or...
1
by: Jim Langston | last post by:
I'm trying to compile some source code to interface LUA into C++. When I compile in MSVC++ Express 2008, however, I get the error (among others): ....\luastate.h(129) : error C2027: use of...
4
by: Man T | last post by:
I want to build a C# 2008 project step by step approach to learn it rather than reading a reference book. Any recommendations?
0
by: Steve House | last post by:
I'm relatively new to VB 2005/2008 having done most of my work in VB6 and VBA. I'd like to deploy a VB 2008 project that doesn't need to be installed other than the controls in the GAC and the...
1
by: coolsti | last post by:
Can anyone tell me the best way to copy an entire existing project in Visual Studio 2008 Express using C# to another project with another name? I cannot seem to find such an option in the menu...
3
by: =?Utf-8?B?QWRyaWFuTW9ycmlz?= | last post by:
Hi, I am trying to create a Windows Service for Vista/Server 2003/XP machines. I used the Wizard in VS 2008 to create the basic service. I am using Visual C++ and used the "Windows Service"...
0
by: arfte | last post by:
Hi, guys If you open http://support.microsoft.com/kb/310674 link, you will see there are several ways that make using references in a Managed C++ application. I tried all of them, but i still...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.