Previous C/C++ Example Downloads
Download C_C++_LJM_2019-05-20.zip
05/20/2019
Release
Updated for LJM 1.2001.
New changes:
LJM_StreamUtilities.h: Renamed CountAndOutputNumSkippedScans -> CountAndOutputNumSkippedSamples.
LJM_Utilities.h: Added Get().
Added cstring header to sd_util.hpp. Fixes CentOS 6 compilation.
Minor URL updates.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-05-20.zip
$ cd C_C++_LJM_2019-05-20
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-05-20-beta.zip 05/20/2019Beta
Updated for LJM 1.2001.
New changes:
LJM_StreamUtilities.h: Renamed CountAndOutputNumSkippedScans -> CountAndOutputNumSkippedSamples.
LJM_Utilities.h: Added Get().
Added cstring header to sd_util.hpp. Fixes CentOS 6 compilation.
Minor URL updates.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-05-20-beta.zip
$ cd C_C++_LJM_2019-05-20
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-03-27.zip
03/27/2019
Release
Updated for LJM 1.2000.
New changes:
Added SD card examples to more/sd/:
change_directory.cpp
delete_file.cpp
get_disk_info.cpp
list_directory.cpp
print_working_directory.cpp
read_file.cpp
Removed dependency to symbol pow in c-r_speed_test.c. pow was not available on some older Linux distributions.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-03-27-beta.zip
$ cd C_C++_LJM_2019-03-27
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-03-27-beta.zip 03/27/2019Beta
Updated for LJM 1.2000.
New changes:
Added SD card examples to more/sd/:
change_directory.cpp
delete_file.cpp
get_disk_info.cpp
list_directory.cpp
print_working_directory.cpp
read_file.cpp
Removed dependency to symbol pow in c-r_speed_test.c. pow was not available on some older Linux distributions.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-03-27-beta.zip
$ cd C_C++_LJM_2019-03-27
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-03-27_beta.zip 03/27/2019Beta
Updated for LJM 1.2000.
New changes:
Added SD card examples to more/sd/:
change_directory.cpp
delete_file.cpp
get_disk_info.cpp
list_directory.cpp
print_working_directory.cpp
read_file.cpp
Removed dependency to symbol pow in c-r_speed_test.c. pow was not available on some older Linux distributions.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-03-27_beta.zip
$ cd C_C++_LJM_2019-03-27
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-02-20.zip
02/20/2019
Release
Updated for LJM 1.2000.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2019-02-20.zip
$ cd C_C++_LJM_2019-02-20
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2019-02-20_beta.zip 02/20/2019Beta
Download C_C++_LJM_2018-10-02.zip
10/02/2018
Release
Updated for LJM 1.1900.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2018-10-02.zip
$ cd C_C++_LJM_2018-10-02
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2018-01-05.zip
01/05/2018
Release
Updated for LJM 1.1700.
Windows:
Newer versions of Visual Studio work with these .sln and .vcproj files, though you will need to run the automatic upgrade process when opening them.
For Visual Studio 2017, you may get the following error:
Error C1083 Cannot open include file: 'stdio.h': No such file or directory
In this case, you need to switch the project SDK version from 8.1 to 10:
Open the Properties window for the project (e.g. in the Solution Explorer, right click on the project - not the solution)
Change Configuration Properties -> General -> Target Platform Version to something like 10.0.14393.0
Mac/Linux:
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux, you may need to apply executable permissions:
$ tar zxvf C_C++_LJM_2018-01-05.zip
$ cd C_C++_LJM_2018-01-05
$ chmod a+x make_all.sh basic/make.sh more/*/make.sh scons-local-2.5.1/scons.py
Download C_C++_LJM_2017-02-01.zip
02/01/2017
Release
Updated for LJM 1.1405.
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux:
$ tar zxvf C_C++_LJM_2017-02-01.zip
$ cd C_C++_LJM_2017-02-01
$ chmod a+x examples/make*.sh examples/*/make.sh scons-local-2.1.0/scons.py
Download C_C++_LJM_2017-01-11.zip
01/11/2017
Release
Updated for LJM 1.1404.
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux:
$ tar zxvf C_C++_LJM_2017-01-11.zip
$ cd C_C++_LJM_2017-01-11
$ chmod a+x examples/make*.sh examples/*/make.sh scons-local-2.1.0/scons.py
Download C_C++_LJM_2016-08-10.zip
08/10/2016
Release
Updated for LJM 1.1301.
On Mac/Linux the .zip format, unfortunately, removes the execution permissions from the build scripts. To use the examples on Mac/Linux:
$ tar zxvf C_C++_LJM_2016-08-10.zip
$ cd C_C++_LJM_2016-08-10
$ chmod a+x examples/make*.sh examples/*/make.sh scons-local-2.1.0/scons.py
Download C_C++_LJM_2016-06-29.zip
06/29/2016
Release
Updated for LJM 1.1301
Download C_C++_LJM_2016-05-13.zip
05/13/2016
Release
Updated for LJM 1.1200
Download C-C++-LJM-1.1100-examples-2016-04-18.zip
04/18/2016
Release
Updated for LJM 1.1100
Download C-C++-LJM-1.0701-examples-2014-07-11.zip
07/11/2014
Release
Updated for LJM 1.0701