IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
When you create an application with IDS peak, there are several ways to create the project:
•Use a development environment (IDE) to open a CMake project directly, e.g. Qt Creator or Visual Studio 2017 or higher (recommended).
•Use predefined projects from the "samples" folder as a starting point.
•Use CMake to create your own projects.
It is recommended to use CMake for creating projects. CMake is preconfigured and makes the following settings automatically. |
comfortC
Include path |
$(IDS_PEAK_COMFORT_SDK_PATH)\api\include\ |
Includes |
#include <ids_peak_comfort_c/ids_peak_comfort_c.h> |
Linker |
$(IDS_PEAK_COMFORT_SDK_PATH)\api\lib\x86_64\ids_peak_comfort_c.lib |
Postbuild Events |
copy to output directory: $(IDS_PEAK_COMFORT_SDK_PATH)\api\lib\x86_64\*.dll |
genericC++
Include path |
$(IDS_PEAK_GENERIC_SDK_PATH)\api\include\ $(IDS_PEAK_GENERIC_SDK_PATH)\ipl\include\ |
Includes |
#include <peak/peak.hpp> #include <peak_ipl/peak_ipl.hpp> |
Linker |
$(IDS_PEAK_GENERIC_SDK_PATH)\api\lib\x86_64\ids_peak.lib $(IDS_PEAK_GENERIC_SDK_PATH)\ipl\lib\x86_64\ids_peak_ipl.lib |
Postbuild Events |
copy to output directory: $(IDS_PEAK_GENERIC_SDK_PATH)\api\lib\x86_64\*.dll $(IDS_PEAK_GENERIC_SDK_PATH)\ipl\lib\x86_64\*.dll |
genericC#
Reference |
$(IDS_PEAK_GENERIC_SDK_PATH)\api\binding\dotnet\x86_64\ids_peak_dotnet.dll $(IDS_PEAK_GENERIC_SDK_PATH)\ipl\binding\dotnet\x86_64\ids_peak_ipl_dotnet.dll |
Postbuild Events |
copy to output directory: $(IDS_PEAK_GENERIC_SDK_PATH)\api\lib\x86_64\*.dll $(IDS_PEAK_GENERIC_SDK_PATH)\api\binding\dotnet\x86_64\*.dll $(IDS_PEAK_GENERIC_SDK_PATH)\<%PATH-VARIABLE-IPL%\lib\x86_64\*.dll $(IDS_PEAK_GENERIC_SDK_PATH)\<%PATH-VARIABLE-IPL%\binding\dotnet\x86_64\*.dll |
genericPython
Make sure that genericPython is properly installed. See the notes on Python in the ReadMe for IDS peak 2.10.
Imports |
from ids_peak import ids_peak as peak from ids_peak_ipl import ids_peak_ipl as ipl |
Notes: Under Linux, you include the paths to the dynamic libraries (*.so files) in the environment variable "LD_LIBRARY_PATH".