LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

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?  

0 Kudos
Message 1 of 2
(3,247 Views)

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

 

0 Kudos
Message 2 of 2
(3,234 Views)