TryDrv in linux

Having problems? Use this forum to find help!

Moderator: jrhees

TryDrv in linux

Postby ungedanielsen » Mon Feb 07, 2011 10:42 am

Hi
I got the package trydrv.tgz from Jon.

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

make
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.
ungedanielsen
 
Posts: 3
Joined: Mon Feb 07, 2011 10:38 am

Postby ungedanielsen » Mon Feb 07, 2011 12:02 pm

Well.. It runs, but complains about
Unable to load uuirtdrv,dll!

What am I doing wrong now?
ungedanielsen
 
Posts: 3
Joined: Mon Feb 07, 2011 10:38 am


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron