Build for SBC

Supporting Visual Studio on Windows
Post Reply
kstukey7
Fresh meat
Posts: 2
Joined: Fri Jun 05, 2020 11:34 am
Contact:

Build for SBC

Post by kstukey7 »

I'm getting an "Exec format error" when I try to run any program on my SBC4. I assume this is due to something I've done wrong when building the program in Visual Studio.

I'll note that the program runs fine out of VS with the Net.EnableServer... on my desktop.

I've tried using one of the basic example codes from Phidgets as well, with the same results.

I know they have a working with C and SBC video out there, but their account was just shut down...
User avatar
Patrick
Lead Developer
Posts: 3403
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Build for SBC

Post by Patrick »

How are you trying to run the program on the SBC?

You would need to install Mono, etc.

-Patrick
kstukey7
Fresh meat
Posts: 2
Joined: Fri Jun 05, 2020 11:34 am
Contact:

Re: Build for SBC

Post by kstukey7 »

First, thanks for the quick reply!

I haven't installed anything beyond the C/C++ packages from through the web interface.

What all is necessary to run a C# program?

I have been creating a project through the web interface, uploading the .exe file, and then setting it to run on startup.
User avatar
Patrick
Lead Developer
Posts: 3403
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Build for SBC

Post by Patrick »

The SBC doesn't support .NET out of the box. You'll need to install Mono from the command line interface.

See: https://www.phidgets.com/docs/Language_ ... Linux_Mono

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests