Pages: [1]   Go Down
Author Topic: Compile Serproxy in Visual Studio 8  (Read 1281 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm trying to compilate serproxy 0.1.3 in Visaul Studio 8 but I can't because it returns some errors I don't understand...

Somebody could help me?
Thanks in advance.

att,
mtz
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I assume you mean Visual studio 2008 ?

Visual Studio 2008 is .NET, if the serial proxy was not originally written using .NET, then at least the part of the program that deals with the serial port has to be compleatly rewritten.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks MikMo!

Have you tried to compile as the readme says with Serproxy with Visual C## 6?

Thanks
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No i have not.
Logged

Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried compiling it in Visual C++ 6 and got a bunch of errors too. I really wish someone was able to easily recompile it and fix the 9 COM ports limit...
Logged

Canberra, Australia
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I managed to compile serproxy in Visual C++ 2008 Express. It seems the serproxy.dsp file had UNIX line endings and not Windows ones.

I applied the fix for the COM ports limit (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1140282379/5#5), and a binary version can be downloaded from here: http://www.megaupload.com/?d=J8QS8A24
Logged

Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Waffle, you totally made my day !  smiley

I teach a physical computing class with Arduino, SerialProxy and Flash. As new Arduinos are being plugged in by the students, the stupid FTDI driver keeps creating new virtual COM ports. Of course, when the students reach COM10, serproxy stops to work.

There is a workaround (which I talked about on my blog : http://www.cote.cc/blog/serialproxy-vs-com10-ultimate-deathmatch) but using this patched version of serproxy is going to be so much easier.

I fixed the carriage returns as you described and was also able to compile it (with the COM port fix) in Visual C++ 2008 Express.

I will thoroughly test the patched version during class next week (where I can get my hands on more than 10 Arduinos). Once tested, I will update my blog post and make both the patched source and compiled version available. I will list them as version 0.1.4 so it's not mistaken with the older (unpatched) version. I'll post back as soon as it's done.

Thanks again mate.
« Last Edit: May 02, 2009, 03:20:39 pm by jpcote » Logged

Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As promised, I tested the patched version (0.1.4) and it works like a charm. You can find all the details (binaries, source code, etc.) on my blog at: http://www.cote.cc/blog/serialproxy-v014-can-use-com-ports-above-9.
Logged

Pages: [1]   Go Up
Jump to: