Compiler does not finds definition of HRDL functions

Post your C and C++ discussions here
Post Reply
Philemon
Newbie
Posts: 0
Joined: Mon Mar 28, 2016 9:44 am

Compiler does not finds definition of HRDL functions

Post by Philemon »

Hello to all,

First of all, i would like to say that i'm not very familiar with some terms, so you might see some mistakes. i'm sorry for that! :) now, my problem is that I am writing a program to run the ADC-24 High-resolution data logger. the thing is that my compiler, when i compile my program, produces an error saying that all the functions i have used (ex HRDLOpenUnit, HRDLCloseUnit, HRDLRun etc) are not defined. i have attached HRDL.h, resource.h and picohrdl.lib, but still nothing happens.

can someone help me with this please?

thanks you very much!!
philemon

Hitesh

Re: Compiler does not finds definition of HRDL functions

Post by Hitesh »

Hi Philemon,

Which compiler (and IDE) are you using?

Regards,

Philemon
Newbie
Posts: 0
Joined: Mon Mar 28, 2016 9:44 am

Re: Compiler does not finds definition of HRDL functions

Post by Philemon »

I'm using Eclipse 4.5.2

Philemon
Newbie
Posts: 0
Joined: Mon Mar 28, 2016 9:44 am

Re: Compiler does not finds definition of HRDL functions

Post by Philemon »

Also, i am using MinGW. the error that coming up now it that: undefined reference to '_imp_HRDLRun' for example.

Hitesh

Re: Compiler does not finds definition of HRDL functions

Post by Hitesh »

Hi Philemon,

Are you using a 32-bit or 64-bit version of the MinGW compiler?

Regards,

Philemon
Newbie
Posts: 0
Joined: Mon Mar 28, 2016 9:44 am

Re: Compiler does not finds definition of HRDL functions

Post by Philemon »

Sorry but im not sure. i downloaded from here: https://sourceforge.net/projects/mingw/files/

Philemon
Newbie
Posts: 0
Joined: Mon Mar 28, 2016 9:44 am

Re: Compiler does not finds definition of HRDL functions

Post by Philemon »

Hello again,
i solved it! :)
i copy-pasted the libraries in the project file and i add a library path to that file and it worked!
thanks for the interest! :)
phil

Hitesh

Re: Compiler does not finds definition of HRDL functions

Post by Hitesh »

Hi Phil,

Thanks for the update - good to hear it is working now! :D

Regards,

Post Reply