Source

Discussion on the RaceCapture App - Windows, Android, OSX and Linux.

Moderators: JeffC, stieg

Post Reply
BMWMPower
Posts: 6
Joined: Mon Jun 03, 2013 7:18 pm

Source

Post by BMWMPower »

Hi,

What IDE did u use for Race Analyzer? I wanted to contribute as an Engineer. I have tried CDT in Eclipse. Are you developing in Windows or Linux?

Thanks

decathect
Posts: 13
Joined: Fri May 10, 2013 2:58 pm

Post by decathect »

Looks like they used eclipse CDT based on the presence and contents of the '.project' files.

It also looks like they're running dos2unix before commiting code, so I'm gonna guess Windows.

BMWMPower
Posts: 6
Joined: Mon Jun 03, 2013 7:18 pm

Dependencies

Post by BMWMPower »

I have the project (with GIT) in Eclipse CDT. And I am using the MinGW environment. I have installed the wxWidget-2.9.4 dependency and imported the gaugeWorks project (master branche). I also installed sqlite for Windows.

But I am keeping the Warnings:
- Invalid project path: Include path not found (C:\wxWidgets-2.9.4\msw-debug\lib\wx\include\msw-ansi-static-2.9). raceAnalyzer pathentry Path Entry Problem
- Invalid project path: Include path not found (sqlite). raceAnalyzer pathentry Path Entry Problem
- Invalid project path: Duplicate path entries found (/raceAnalyzer [Include path] isSystemInclude:true includePath:C:/Users/Ben/Documents/GitHub/RaceAnalyzer/include), path: [/raceAnalyzer]. raceAnalyzer pathentry Path Entry Problem

And errors:
- Program "make" not found in PATH raceAnalyzer C/C++ Problem
Description Resource Path Location Type
- Fatal error: wx/wx.h: No such file or directory StripChart.h /gaugeWorks/include line 12 C/C++ Problem

Do I have too build it myself? What could be the problem? Anyone had this before?

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi,

Now that we just released the source we need to do a write up on how to get the development environment setup. Here's the short version for windows:

Dependencies:

wxWidgets 2.9.x
MinGW
MSYS

From the Autosport Labs github repo
The RaceAnalyzer project
The gaugeworks project

There are some hard coded paths in the RaceAnalyzer project we need to replace with environment variables.

We will follow up with a reply here when have additional instructions fleshed out!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

BMWMPower
Posts: 6
Joined: Mon Jun 03, 2013 7:18 pm

Hi

Post by BMWMPower »

Trying to get it all configured. So Eclipse CDT is used as IDE.

May I ask why u choose for this development platform? And why not QT or any Java solution?

BMWMPower
Posts: 6
Joined: Mon Jun 03, 2013 7:18 pm

Post by BMWMPower »

I have problems in:
- AngularMeter.cpp
- steppedSpinCtrl.cpp
- lesStatusBar.cpp


20:38:56 **** Incremental Build of configuration MinGW-Release for project raceAnalyzer ****
make -j4 all
Building file: ../src/util/stringUtil.cpp
Building file: ../src/controls/ledStatusBar.cpp
Building file: ../src/controls/steppedSpinCtrl.cpp
Building file: ../src/raceCapture/raceCaptureConfig.cpp
Invoking: GCC C++ Compiler
g++ -DWX_PRECOMP -D__WXMSW__ -DNO_GCC_PRAGMA -I../include -I../include/comm -I../resource -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0" -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0\include" -IC:/wxWidgets-2.9.4/include -O2 -Wall -c -fmessage-length=0 -mthreads -MMD -MP -MF"src/util/stringUtil.d" -MT"src/util/stringUtil.d" -o "src/util/stringUtil.o" "../src/util/stringUtil.cpp"
Invoking: GCC C++ Compiler
Invoking: GCC C++ Compiler
g++ -DWX_PRECOMP -D__WXMSW__ -DNO_GCC_PRAGMA -I../include -I../include/comm -I../resource -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0" -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0\include" -IC:/wxWidgets-2.9.4/include -O2 -Wall -c -fmessage-length=0 -mthreads -MMD -MP -MF"src/controls/steppedSpinCtrl.d" -MT"src/controls/steppedSpinCtrl.d" -o "src/controls/steppedSpinCtrl.o" "../src/controls/steppedSpinCtrl.cpp"
Invoking: GCC C++ Compiler
g++ -DWX_PRECOMP -D__WXMSW__ -DNO_GCC_PRAGMA -I../include -I../include/comm -I../resource -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0" -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0\include" -IC:/wxWidgets-2.9.4/include -O2 -Wall -c -fmessage-length=0 -mthreads -MMD -MP -MF"src/controls/ledStatusBar.d" -MT"src/controls/ledStatusBar.d" -o "src/controls/ledStatusBar.o" "../src/controls/ledStatusBar.cpp"
In file included from C:/wxWidgets-2.9.4/include/wx/defs.h:28:0,
from C:/wxWidgets-2.9.4/include/wx/wxprec.h:13,
from ../include/util/stringUtil.h:10,
g++ -DWX_PRECOMP -D__WXMSW__ -DNO_GCC_PRAGMA -I../include -I../include/comm -I../resource -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0" -I"C:\Users\Documents\GitHub\gaugeWorks\releases\release_1.0.0\include" -IC:/wxWidgets-2.9.4/include -O2 -Wall -c -fmessage-length=0 -mthreads -MMD -MP -MF"src/raceCapture/raceCaptureConfig.d" -MT"src/raceCapture/raceCaptureConfig.d" -o "src/raceCapture/raceCaptureConfig.o" "../src/raceCapture/raceCaptureConfig.cpp"
from ../src/util/stringUtil.cpp:1:
C:/wxWidgets-2.9.4/include/wx/platform.h:154:22: fatale fout: wx/setup.h: No such file or directory
compilation terminated.
make: *** [src/util/stringUtil.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from C:/wxWidgets-2.9.4/include/wx/defs.h:28:0,
from C:/wxWidgets-2.9.4/include/wx/wxprec.h:13,
from ../include/raceCapture/raceCaptureConfig.h:10,
from ../src/raceCapture/raceCaptureConfig.cpp:7:
C:/wxWidgets-2.9.4/include/wx/platform.h:154:22: fatale fout: wx/setup.h: No such file or directory
compilation terminated.
Finished building: ../src/controls/ledStatusBar.cpp
make: *** [src/raceCapture/raceCaptureConfig.o] Error 1
Finished building: ../src/controls/steppedSpinCtrl.cpp



20:39:03 Build Finished (took 6s.316ms)

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hello -

So the error is saying you are missing some built wxWidgets components. You need wxWidgets in the path and built per the instructions on the wxWidgets website. Google for building wxWidgets with MinGW.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply