Search found 5 matches

by obsidian
Sat Jan 22, 2011 11:38 pm
Forum: SUB-20 General Discussion
Topic: Compile on Linux/Fedora
Replies: 2
Views: 8288

Compile on Linux/Fedora

I am not having any luck using make on either the lib or app directories for linux.

The Makefile references ../src and ../boot which are not in the download.

I get libsub.c:39:21: fatal error: libusb.h: No such file or directory.

Similar problems in the apps dir.

Any thoughts?
by obsidian
Mon Nov 29, 2010 1:31 am
Forum: SUB-20 General Discussion
Topic: MS Visual C++ 2010 Express Addition
Replies: 3
Views: 9107

Re: MS Visual C++ 2010 Express Addition

Since Mingw is now working I have moved on.

Note however that I am using sub_app, so MFC should not be an issue.

Also, sub_app converts and compiles fine on MS VC 2008 Express.

Thanks anyway
by obsidian
Mon Nov 29, 2010 1:24 am
Forum: SUB-20 General Discussion
Topic: Mingw Compilation
Replies: 2
Views: 7597

Re: Mingw Compilation

Thanks. I will try that.

Actually I noticed that it works anyway (with the adapter plugged in), just gives the wrong error msg when the sub20 is not found.
by obsidian
Sat Nov 27, 2010 9:21 pm
Forum: SUB-20 General Discussion
Topic: Mingw Compilation
Replies: 2
Views: 7597

Mingw Compilation

I am trying to get the sub20 code to compile on mingw using: gcc -c -O2 -Wall -std=c99 -g -D__SUB_STATIC__ -I..\..\inc -o sub_app.o sub_app.c gcc -c -O2 -Wall -std=c99 -g -D__SUB_STATIC__ -I..\..\inc -o cmd_pars.o cmd_pars.c gcc -o sub_app sub_app.o cmd_pars.o -L"C:\Program Files\SUB-20\lib\msvc\Win...
by obsidian
Sat Nov 27, 2010 5:04 am
Forum: SUB-20 General Discussion
Topic: MS Visual C++ 2010 Express Addition
Replies: 3
Views: 9107

MS Visual C++ 2010 Express Addition

Till now I have been using MS Visual C++ 2008 Express for compiler. In moving to MS Visual C++ 2010 Express the sample project goes through a conversion step, which fails. I.e. no converted project is built, and there are many errors. Any suggestions on how to make this work, or other free tools tha...