NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
PaulGanssle
Posts: 32
0 Kudos

Undefined symbol errors OR dll missing

I'm trying to import the netcdf library into my project on LabWindows/CVI 9.0 and having a lot of trouble. I tried downloading the source and putting #include <netcdf.h> in the source code, but that gives me Project Link Errors for all the netcdf functions I'm referencing.

 

Thinking that the problem was that I didn't have the dll in place, I downloaded the pre-built dll files and used the same #include <netcdf.h> method to no avail.

 

Finally, if I include libraries from the dll files like netcdfdll.lib in the project, I don't get the undefined symbol errors anymore, but now when the project starts up, it says, "The program can't start because netcdfdll.dll is missing from your computer - try reinstalling the program". This is patently untrue, given that this happens even when I use Options>Generate DLL Import Library and generate the .lib file from the .dll itself, the same thing happens.  Am I doing this completely wrong?  

Active Participant
markus kossmann
Posts: 305
0 Kudos

Re: Undefined symbol errors OR dll missing

Where did you put the .dll file ? Have a look at this MSDN article about Windows DLL search paths.

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page