application won't compile. Help needed ASAP
Hello everyone!!!
I am developing a QT application involving sane. When I ran make, I get the following errors: :undefined reference to sane_init(int*, void(*)(char const*, char*,char*)) .obj/nu.o(.text + 0 x36); in function 'nu::optionshow()'; :undefined reference to 'sane_strstatus(SANE_status)' .obj/nu.o(.text + 0 x cl):in function 'nu::optionshow()'; undefined reference to 'sane_exit()' collect 2: ld returned 1 exit status Can anybody help me solve this problem?? I'm having a hard understanding as i have tried everything possible and it doesn't seem to be working. Thanks. nunation |
Looks to me like the sane library is not being included in the compile call. I don't know the name of it, but you'll prolly need something like -lsane in the compile line.
|
All times are GMT -5. The time now is 12:16 AM. |