08-01-2011 08:27 AM
Hey,
I'm having a problem running an RT DLL (call it file2) that uses an RT DLL (call it file1) that uses nixnet. When I try to debug file2, I get the error message:
Error loading 'file1.dll': Missing export 'nxClear' from 'file1.dll'
I know that the linking is somehow messed up because nxClear is not a function in file1.dll. It's a function from the nixnet library. I would think that nxClear would be an import for file1.dll so it seems like I haven't got something setup correctly. To include the nixnet library in file1.dll, in the .c file that uses it all I have done is #include "nixnet.h" and this has been sufficient for debugging file1.dll. But now that I'm using file1.dll in file2.dll it seems confused about where nxClear comes from.
How do I link stuff in file1.dll correctly?
Any help is appreciated,
Kevin Key
08-01-2011 01:42 PM