-
Install the Microsoft C++ Build Tools
-
Install Chocolatey
-
Install Make, CMake and Perl
choco install make cmake strawberryperl
-
Launch the "Developer Command Prompt for VS", not PowerShell, and run the subsequent commands from it
-
Activate the 64-bit environment
- Install Make, CMake, Perl and libevent using your distribution's package manager
sudo apt install make cmake perl libevent-dev
- Install build dependencies
opkg install git \ packagegroup-core-buildessential \ perl-modules \ libevent-dev \ cmake
-
Build EPICS Base
set EPICS_HOST_ARCH=windows-x64-static make -C epics-base
-
Build PVXS
echo EPICS_BASE = $(TOP)/../epics-base > pvxs/configure/RELEASE.local make -C pvxs/bundle libevent make -C pvxs
See the PVXS docs for more details
-
Build EPICS Base
make -C epics-base
-
Build PVXS
cat <<EOF > pvxs/configure/RELEASE.local EPICS_BASE = \$(TOP)/../epics-base EOF make -C pvxs
- Windows
cmake --preset=windows-x64 cmake --build --preset=windows-x64
- Linux
cmake --preset=linux-x86_64 cmake --build --preset=linux-x86_64
These command must be run on an NI Linux RT target
cmake --preset=nilrt
cmake --build --preset=nilrt
cpack --preset=nilrt