- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I run my application, I got the following message:
"This application has failed to start because netcdf.dll was not found.
Re-installing the application may fix this problem."
I want to use static library not dll and I did set it up properly as you see
in the Linker line as below. The library is "netcdf.lib" not "netcdf.dll".
What am I doing wrong?
Please look at the line I marked as "<==".
Linker Command line:
/OUT:"C:myappmysrc32-VS2005Win32Releasemy32.exe"
/INCREMENTAL:NO /NOLOGO
/LIBPATH:"C:myappmysrc32-VS2005
etcdfWin32Release" <==
/LIBPATH:"C:Program FilesIntelCompilerFortran9.1IA32lib" /MANIFEST /MANIFESTFILE:"Win32Releasemy32.exe.intermediate.manifest" /SUBSYSTEM:CONSOLE /MACHINE:X86 /ERRORREPORT:PROMPT version.lib wsock32.lib spromeps.lib winmm.lib netapi32.lib odbc32.lib odbccp32.lib opengl32.lib glu32.lib
netcdf.lib <==
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib ".win32
elease g230_lib.lib"
-BO
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So your application is dependent on netcdf.dll which is not found in the places Windows wants to see it (directory containing the EXE, default directory, PATH, etc.) You'll need to make sure that netcdf.dll is available.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page