Skip to content

Linux 2025 #8255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
1bfb841
Submodule fixes.
danoli3 Jan 15, 2025
e8877e9
Updates nightly
danoli3 Jan 15, 2025
0771ced
Download libs [ 2.6.4 ~ 2.7.0] - Added GCC / Linux updates
danoli3 Jan 15, 2025
18c0933
remove gold linux binutils ?
danoli3 Jan 15, 2025
9270712
Linux Workflow updates / mkfile
danoli3 Jan 15, 2025
7a8806c
Script moving oh no
danoli3 Jan 15, 2025
cc58ecf
Linux Script Updates
danoli3 Jan 15, 2025
43bbc21
Gold LD if found
danoli3 Jan 15, 2025
682a8c1
Downloader [2.7.1 ~ 2.7.2] exit error if fail on download of library …
danoli3 Jan 15, 2025
bead770
Downloader [2.7.2 ~ 2.7.3]
danoli3 Jan 15, 2025
8a91eca
Linux Actions
danoli3 Jan 15, 2025
73e9518
download_libs [2.7.3 ~ 2.7.4] fix opt args for downloads Linux
danoli3 Jan 15, 2025
d5a29a8
downloader set linux aarch64 to 64 for testing on arm64 linux
danoli3 Jan 15, 2025
af321ae
Makefile Linux subpath
danoli3 Jan 15, 2025
ddab37a
makefile subpath
danoli3 Jan 15, 2025
655092a
Linux subpath
danoli3 Jan 15, 2025
d4f5f35
download libs validate downloads before overrwite and 2.8.0. wget2 di…
danoli3 Jan 15, 2025
478b762
Makefiles
danoli3 Jan 15, 2025
7eba8bf
downloadlibs [2.8.0 ~ 2.8.1] valid bool to int
danoli3 Jan 15, 2025
40a6beb
ci linux
danoli3 Jan 15, 2025
e75e03c
Workflow ci optimisation VS single ARCH downloads
danoli3 Jan 15, 2025
3029efb
Linux 22.04 Test
danoli3 Jan 15, 2025
d48af34
VS download optimisation
danoli3 Jan 15, 2025
094abb3
VS Download fix
danoli3 Jan 15, 2025
c92b886
Makefile fixes / vs arch
danoli3 Jan 15, 2025
78217a1
Makefile depth fix
danoli3 Jan 16, 2025
8ad6d29
Makefile strict tab
danoli3 Jan 16, 2025
8eee1c6
Github Actions Test needs
danoli3 Jan 16, 2025
c61d5d2
Addons linux path ofxSvg make
danoli3 Jan 16, 2025
74b6993
Actions needs use ubuntu as quick
danoli3 Jan 16, 2025
0ef2280
Actions rename Linux-64 to linux
danoli3 Jan 16, 2025
887935d
Makefiles spaces to tabs
danoli3 Jan 16, 2025
ffcc9d6
Makefile debug
danoli3 Jan 16, 2025
688ed3b
Reset file
danoli3 Jan 16, 2025
7643dd4
Spaces to Tabs
danoli3 Jan 16, 2025
8d7acf5
no debug flags
danoli3 Jan 16, 2025
851a70e
Actions
danoli3 Jan 16, 2025
daa9bd4
22.04 disabled
danoli3 Jan 16, 2025
d870448
ci build 64
danoli3 Jan 16, 2025
b10d1f3
Line spaces to tabs
danoli3 Jan 16, 2025
19afe0e
gold
danoli3 Jan 16, 2025
71f8bf2
Fix Linux string issue
danoli3 Jan 16, 2025
14df16f
debug off
danoli3 Jan 16, 2025
8d14302
gold linker on command
danoli3 Jan 16, 2025
ad32c5f
gold linker comments disabled
danoli3 Jan 16, 2025
96fe3c7
Update addon_config
danoli3 Jan 16, 2025
35b31dc
Actions Linux 22.04 Enabled
danoli3 Jan 17, 2025
4acc8a8
Actions Linux 22.04 GCC 10
danoli3 Jan 17, 2025
09bce48
downloader [4.4.0 ~ 4.5.0] - fix close connection for zero urls.
danoli3 Jan 17, 2025
3444c51
Actions update
danoli3 Jan 17, 2025
7f4e563
Linux script updates
danoli3 Jan 17, 2025
6ec622f
osx / ios remove defined .a
danoli3 Jan 18, 2025
f94ae80
osx addon mk
danoli3 Jan 18, 2025
886d467
binutils-gold to depends
danoli3 Jan 20, 2025
0486e20
apothecary d5cb2e24b30e50e908280b99285746e7beaf0ff4
danoli3 Feb 25, 2025
3fd42d3
oF script / linux downloader
danoli3 Feb 25, 2025
f354351
Linux Wayland support
danoli3 Feb 26, 2025
83cf2fb
glfw
danoli3 Feb 26, 2025
1ddf619
linux pg downloader
danoli3 Feb 26, 2025
4305c34
linux makefile update arm64 / jetson / rpi
danoli3 Feb 26, 2025
8855368
Linux rasbian to folder
danoli3 Feb 27, 2025
45a60f9
make shell
danoli3 Feb 27, 2025
c0e0ee1
makefiles must use tabs
danoli3 Mar 3, 2025
3481e8d
Linux arm64 fix
danoli3 Mar 3, 2025
887b8a1
Setup GCC.sh
danoli3 Mar 4, 2025
70e5cb6
download libs linux minimum gcc 10
danoli3 Mar 4, 2025
79feff5
nightly arm64 linux
danoli3 Mar 4, 2025
6d12e9b
testing nightly
danoli3 Mar 4, 2025
2c2b9b9
Merge branch 'master' into linux2025
danoli3 Mar 4, 2025
3021df0
Merge commit '5630d2034d835e81225a225355e97f4144b21179' into linux2025
danoli3 Mar 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 78 additions & 71 deletions .github/workflows/of.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ env:
jobs:
build-emscripten:
runs-on: ubuntu-24.04
needs: build-linux
strategy:
matrix:
cfg:
- { target: emscripten }
env:
TARGET: ${{matrix.cfg.target}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: Docker Step
run: "docker run -di --name emscripten -v $PWD:/src emscripten/emsdk:4.0.4 bash"
# - name: Determine Release
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
- name: Check system
shell: bash
run: gcc -v
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand Down Expand Up @@ -117,11 +118,14 @@ jobs:

build-vs2022:
runs-on: windows-2022
needs: build-linux
strategy:
matrix:
platform: [x64, ARM64, ARM64EC]
env:
BITS: ${{ matrix.bits }}
BITS: ${{ matrix.platform }}
ARCH: ${{ matrix.platform }}

steps:
- name: Clone repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -163,6 +167,7 @@ jobs:

build-vs2019:
runs-on: windows-2019
needs: build-linux
strategy:
matrix:
platform: [x64]
Expand Down Expand Up @@ -221,6 +226,8 @@ jobs:

rpi-build:
runs-on: ubuntu-24.04
needs: build-linux
if: ${{ false }} # DISABLED
strategy:
matrix:
cfg:
Expand Down Expand Up @@ -252,7 +259,7 @@ jobs:
with:
packages: multistrap unzip gcc-${{matrix.cfg.suffix}} g++-${{matrix.cfg.suffix}}
version: 1.0
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -273,17 +280,18 @@ jobs:
- name: Download libs
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.libs}}
- name: Install dependencies
run: ./scripts/ci/linuxrpi/install.sh;
run: ./scripts/ci/linux/rpi/install.sh;
- name: LS
shell: bash
run: ls -alfR
- name: Build
run: ./scripts/ci/linuxrpi/build.sh;
run: ./scripts/ci/linux/rpi/build.sh;

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

build-ios-tvos:
runs-on: macos-15
needs: build-linux
strategy:
matrix:
cfg:
Expand All @@ -292,7 +300,7 @@ jobs:
env:
TARGET: ${{matrix.cfg.target}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand Down Expand Up @@ -322,105 +330,104 @@ jobs:

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

build-linux64:
build-linux:
runs-on: ubuntu-24.04
strategy:
matrix:
cfg:
- { target: linux64, libs: 64gcc6 }
# - {target: linux, arch: 64, gcc: 6}
- {target: linux, arch: 64, gcc: 14}
- {target: linux, arch: 64, gcc: 10}
env:
TARGET: ${{matrix.cfg.target}}
GCC: ${{matrix.cfg.gcc}}
ARCH: ${{matrix.cfg.arch}}
steps:
- name: Remove Old lib-unwind
run: if [ "$TARGET" = "linux64" ]; then
run: if [ "$TARGET" = "linux" ]; then
sudo apt-get remove libunwind-14 -y;
fi

- name: Cache Packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
version: 1.0
# - name: Determine Release
# id: vars
# shell: bash
# run: |
# if [[ "${{ github.ref }}" == refs/tags/* ]]; then
# echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV
# elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
# echo "RELEASE=nightly" >> $GITHUB_ENV
# elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then
# echo "RELEASE=latest" >> $GITHUB_ENV
# else
# echo "RELEASE=latest" >> $GITHUB_ENV
# fi
- uses: actions/checkout@v4

- uses: actions/[email protected]
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
key: ${{ matrix.cfg.target }}

- name: Download libs
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.libs}}
- name: Install dependencies
run: ./scripts/ci/$TARGET/install.sh;
run: ./scripts/ci/$TARGET/$ARCH/install.sh;

- name: Download libs
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.arch}} -g ${{matrix.cfg.GCC}}

- name: Build
run: if [ "$TARGET" = "linux64" ]; then
scripts/ci/linux64/build.sh;
scripts/ci/$TARGET/run_tests.sh;
run: |
if [ "$TARGET" = "linux" ]; then
scripts/ci/$TARGET/$ARCH/build.sh;
scripts/ci/$TARGET/$ARCH/run_tests.sh;
else
scripts/ci/$TARGET/build.sh;
scripts/ci/$TARGET/$ARCH/build.sh;
fi

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
build-linux-22:
runs-on: ubuntu-22.04
strategy:
matrix:
cfg:
- {target: linux, arch: 64, gcc: 10}
env:
TARGET: ${{matrix.cfg.target}}
GCC: ${{matrix.cfg.gcc}}
ARCH: ${{matrix.cfg.arch}}
steps:
- name: Remove Old lib-unwind
run: if [ "$TARGET" = "linux" ]; then
sudo apt-get remove libunwind-14 -y;
fi

# build-linux64-2204:
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# cfg:
# - {target: linux64, libs: 64gcc6}
# env:
# TARGET: ${{matrix.cfg.target}}
# steps:
# - name: Remove Old lib-unwind
# run: if [ "$TARGET" = "linux64" ]; then
# sudo apt-get remove libunwind-14 -y;
# fi
# - name: Cache Packages
# uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
# version: 1.0

# - uses: actions/checkout@v4
# - name: ccache
# uses: hendrikmuhs/[email protected]
# with:
# key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}

# - name: Download libs
# run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}
# - name: Install dependencies
# run: ./scripts/ci/$TARGET/install.sh;
# - name: Build
# run: if [ "$TARGET" = "linux64" ]; then
# scripts/ci/linux64/build.sh;
# scripts/ci/$TARGET/run_tests.sh;
# else
# scripts/ci/$TARGET/build.sh;
# fi
# - name: Cache Packages
# uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
# version: 1.0

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- uses: actions/[email protected]
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.cfg.target }}

- name: Install dependencies
run: ./scripts/ci/$TARGET/$ARCH/install.sh;

- name: Download libs
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.arch}} -g ${{matrix.cfg.GCC}}

- name: Build
run: |
if [ "$TARGET" = "linux" ]; then
scripts/ci/$TARGET/$ARCH/build.sh;
scripts/ci/$TARGET/$ARCH/run_tests.sh;
else
scripts/ci/$TARGET/$ARCH/build.sh;
fi

build-macos:
runs-on: macos-15
needs: build-linux
strategy:
matrix:
cfg:
- { target: osx, opt: "xcode" }
- { target: osx, opt: "makefiles" }
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand Down
9 changes: 4 additions & 5 deletions addons/ofxAssimp/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ common:
# a specific platform
# ADDON_LIBS_EXCLUDE =

linuxarmv6l:
linux/armv6l:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp
ADDON_INCLUDES_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp/%

linuxarmv7l:
linux/armv7l:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp
ADDON_INCLUDES_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp/%

linuxaarch64:
linux/aarch64:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp
ADDON_INCLUDES_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp/%
Expand All @@ -82,7 +82,7 @@ linux:
ADDON_LIBS_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp
ADDON_INCLUDES_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp/%

linux64:
linux/64:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp
ADDON_INCLUDES_EXCLUDE = ../ofxAssimpModelLoader/libs/assimp/%
Expand All @@ -101,7 +101,6 @@ android/x86:
ADDON_LIBS=
ADDON_LIBS+=../ofxAssimpModelLoader/libs/assimp/lib/android/x86/libassimp.a
ADDON_LIBS+=../ofxAssimpModelLoader/libs/assimp/lib/android/x86/libIrrXML.a

osx:
ADDON_LIBS=
ADDON_LIBS=../ofxAssimpModelLoader/libs/assimp/lib/macos/assimp.xcframework/macos-arm64_x86_64/assimp.a
Expand Down
13 changes: 7 additions & 6 deletions addons/ofxAssimpModelLoader/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ common:
# a specific platform
# ADDON_LIBS_EXCLUDE =

linuxarmv6l:
linux/armv6l:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = libs/assimp
ADDON_INCLUDES_EXCLUDE = libs/assimp/%

linuxarmv7l:
linux/armv7l:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = libs/assimp
ADDON_INCLUDES_EXCLUDE = libs/assimp/%

linuxaarch64:
linux/aarch64:
ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = libs/assimp
ADDON_INCLUDES_EXCLUDE = libs/assimp/%
Expand All @@ -80,7 +80,7 @@ linux:
ADDON_LIBS_EXCLUDE = libs/assimp
ADDON_INCLUDES_EXCLUDE = libs/assimp/%

linux64:
linux/64:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the old linux64 and linuxarmv6l still work for PG etc?

ADDON_PKG_CONFIG_LIBRARIES = assimp
ADDON_LIBS_EXCLUDE = libs/assimp
ADDON_INCLUDES_EXCLUDE = libs/assimp/%
Expand All @@ -99,10 +99,11 @@ android/x86:
ADDON_LIBS=
ADDON_LIBS+=libs/assimp/lib/android/x86/libassimp.a
ADDON_LIBS+=libs/assimp/lib/android/x86/libIrrXML.a

ios:
ADDON_INCLUDES_EXCLUDE = libs/assimp/include/%
osx:
ADDON_INCLUDES_EXCLUDE = libs/assimp/include/%
ADDON_LIBS=
ADDON_LIBS=libs/assimp/lib/macos/assimp.xcframework/macos-arm64_x86_64/assimp.a

emscripten:
ADDON_LIBS=
Expand Down
8 changes: 4 additions & 4 deletions addons/ofxKinect/addon_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ common:
# a specific platform
# ADDON_INCLUDES_EXCLUDE =

linux64:
linux/64:
# linux only, any library that should be included in the project using
# pkg-config
ADDON_PKG_CONFIG_LIBRARIES = libusb-1.0
Expand Down Expand Up @@ -127,7 +127,7 @@ vs:
# when parsing the file system looking for include paths exclude this for all or
# a specific platform

linuxarmv6l:
linux/armv6l:
# linux only, any library that should be included in the project using
# pkg-config
ADDON_PKG_CONFIG_LIBRARIES = libusb-1.0
Expand All @@ -143,7 +143,7 @@ linuxarmv6l:
ADDON_INCLUDES_EXCLUDE += libs/libusb-1.0/%


linuxarmv7l:
linux/armv7l:
# linux only, any library that should be included in the project using
# pkg-config
ADDON_PKG_CONFIG_LIBRARIES = libusb-1.0
Expand All @@ -158,7 +158,7 @@ linuxarmv7l:
ADDON_INCLUDES_EXCLUDE = libs/libfreenect/platform/%
ADDON_INCLUDES_EXCLUDE += libs/libusb-1.0/%

linuxaarch64:
linuxa/arch64:
# linux only, any library that should be included in the project using
# pkg-config
ADDON_PKG_CONFIG_LIBRARIES = libusb-1.0
Expand Down
3 changes: 3 additions & 0 deletions addons/ofxKinect/libs/libfreenect/platform/windows/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#pragma once

#ifdef _WIN32

#include <stdint.h>
#include <windows.h>

Expand Down Expand Up @@ -53,3 +55,4 @@ static void usleep(__int64 usec)
WaitForSingleObject(timer, INFINITE);
CloseHandle(timer);
}
#endif
Loading