Skip to content

Commit

Permalink
Added build instructions for ixxat and peak driver on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Apr 1, 2016
1 parent 2ddfe2c commit e58a8e5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
18 changes: 11 additions & 7 deletions BUILD_WIN32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ different sets of external resources to run successfully:
- Microsoft Visual Studio 2013 (Can be downloaded free).
- wxWidgets 3.0.0 or greater,
- wxExpat,
- various other libraries to compile drivers for specific hardware.
- various other libraries to compile drivers for specific hardware (info below).

This project is described in the section "VSCP Project (complete)" below and is the
project used for distributing the project.
Expand Down Expand Up @@ -47,17 +47,18 @@ This is the "original" project and includes all sub-projects.
something if no need for this.


2.) Install and build wxWidgets 3.0.2 or higher but others will probably
do to. You find the build files in the build folder of the wxWidgets project.
2.) Install and build wxWidgets 3.1.0 or higher but others will probably
do to. You find the build files in the build folder of the wxWidgets project.
Available at http://www.wxwidgets.org

3.) Make an environment variable WXWIN that points to the wxWidgets installation directory.
(e.g. c:\wxWidgets-3.0.2).
(e.g. c:\wxWidgets-3.1.0).

4.) Add the wxwin include directory to the list of include files under
tools->options->directories ('projects and solutions->VC++ Directories' on 2003/2005/2008)
$(WXWIN)\include
(c:\wxWidgets-3.0.2\include).
This is not needed on Visual Studio 2010 as it looks.
This is not needed on Visual Studio 2010 and above

5.) expat(http://expat.sourceforge.net/) is needed to build the daemon and other applications in the suit.
Download and install. Make a environment variable EXPAT32 that points to the 32-bit folder (
Expand All @@ -77,8 +78,11 @@ This is the "original" project and includes all sub-projects.
can.dll driver from CC-Systems also is available in the path (system32).

8.) To build ixxatvcidrv you need to add the ixxat include directory and also add the ixxat
lib directory to LIB( Xat11Reg.lib vci11un6.lib ) (tools->options->directories). Make sure the
IXXAT VCI driver version 2 is installed (http://www.ixxat.com/download_vci_en.html). C:\Program Files\IXXAT\VCI 2.20
lib directory to LIB( Xat11Reg.lib vci11un6.lib ) Add an environment variable IXXAT2 that
that points to the ixxat version 2 vsci folder (C:\Users\akhe\development\ixxat_v2). Make sure
the IXXAT VCI driver version 2 is installed (http://www.ixxat.com/download_vci_en.html)
(C:\Program Files\IXXAT\VCI 2.20).


9.) To build the CANAL PEAK driver you need to install the PEAK driver and support libraries
from here http://www.peak-system.com/Support.55.0.html?&L=1 You need the driver and the PCAN-Basic API.
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/drivers/level1/ixxat_vc2/common/ixxobj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ bool CIxxObj::open( const char *szFileName, unsigned long flags )
int ret;
const char *p;
unsigned long busspeed = 125;
unsigned char btr0 = 0, btr1 = 0;
int btr0 = 0, btr1 = 0;
char szDrvParams[ MAX_PATH ];
m_initFlag = flags;

Expand Down
2 changes: 1 addition & 1 deletion src/vscp/drivers/level1/ixxat_vc2/common/ixxobj.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class CIxxObj
/*!
CAN channel on board
*/
uint8_t m_channel;
int m_channel;

/*!
IXXAT filter for outgoing messages
Expand Down
2 changes: 1 addition & 1 deletion src/vscp/vscp_project.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mkpasswd", "mkpasswd\mkpasswd.vcxproj", "{12FA4C2C-0D92-E227-8DE7-F459A6B4551D}"
EndProject
Expand Down

0 comments on commit e58a8e5

Please sign in to comment.