Page 1 of 1

TryDrv in linux

PostPosted: Mon Feb 07, 2011 10:42 am
by ungedanielsen
I got the package trydrv.tgz from Jon.

Extracted the files, and did a make. All good.

mkdir -p obj
set -e; rm -f obj/trydrv.d; \
gcc -M -c trydrv.cpp > obj/trydrv.d.$$; \
sed 's,\(trydrv\)\.o[ :]*,\1.o obj/trydrv.d : ,g' < obj/trydrv.d.$$ > obj/trydrv.d; \
rm -f obj/trydrv.d.$$
g++ -c -g -o obj/trydrv.o trydrv.cpp
g++ -o TryDrv obj/trydrv.o -lstdc++ -lc -ldl -lpthread

Go a binary file called TryDrv

Now.. This might be a very stupid question, but how do I run it to verify that it works?

Anyone tried this? as soon as I can actually run the program, I will try to modify it to send commands to my Heatpump.

PostPosted: Mon Feb 07, 2011 12:02 pm
by ungedanielsen
Well.. It runs, but complains about
Unable to load uuirtdrv,dll!

What am I doing wrong now?