Tyler Veness
205a40c895
[build] Specify zlib for debug info compression ( #5636 )
...
This is required to make compression actually occur.
2023-09-14 23:51:04 -07:00
Tyler Veness
bc7f23a632
[build] Compress Linux debug info ( #5633 )
2023-09-14 20:46:44 -07:00
Thad House
57b2d6f254
[build] Update to image 2024 v1.0 ( #5625 )
2023-09-12 09:44:25 -07:00
Thad House
f63d958995
[build] Update to native utils 2024.2.0 ( #5601 )
2023-09-08 20:15:24 -07:00
Thad House
b8cdf97621
[build] Prepare for Windows arm64 builds ( #5390 )
...
Builds aren't actually enabled yet due to a bug in Gradle.
2023-07-24 22:46:25 -07:00
Thad House
91392823ff
[build] Update to gradle 8.1 ( #5303 )
2023-05-12 21:27:31 -07:00
Tyler Veness
f0fa8205ac
Add missing compiler flags and fix warnings ( #4889 )
...
This makes the build fail on warnings. It caught two out-of-bounds reads
and a deprecation warning.
2023-01-01 08:14:19 -08:00
Thad House
3f51f10ad3
[build] Update to 2023v3 image ( #4886 )
2022-12-31 13:16:41 -08:00
Thad House
b893b3d6d3
[cscore] Add support for USB cameras on macOS ( #4846 )
...
The main restriction is there must be an event loop running on the main thread.
No special action is required for GUI applications, but for non-GUI applications, a
RunOsxRunLoop() function is provided that needs to be called from the main thread.
2022-12-25 07:36:00 -08:00
Thad House
3997c6635b
[hal] Update to new image, use new TCP notify callback and new duty cycle API ( #4774 )
2022-12-13 22:37:42 -08:00
Tyler Veness
f24ad1d715
[build] Upgrade to googletest 1.12.1 ( #4752 )
...
This fixes GCC 12 warnings for googletest internals.
2022-12-03 11:32:08 -08:00
Thad House
5e74ff26d8
[apriltag, build] Update native utils, add apriltag impl and JNI ( #4733 )
...
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2022-11-30 00:16:29 -08:00
Peter Johnson
135c13958f
[wpigui] Add FontAwesome ( #4713 )
2022-11-27 20:00:17 -08:00
Thad House
b53ce1d3f0
[build, wpiutil] Switch macos to universal binaries ( #4628 )
2022-11-14 10:36:33 -08:00
Thad House
648ab6115c
[wpigui,dlt,glass,ov] Support arm in GUI tools ( #4527 )
2022-10-26 23:16:23 -07:00
Tyler Veness
fbdc810887
Upgrade to C++20 ( #4239 )
...
* Use explicit this capture required by C++20
* Use C++20 span
* Replace wpi::numbers with std::numbers
* Fix C++20 clang-tidy warning false positive in fmt
* Remove ciso646 include since C++20 removed that header
* Fix global-buffer-overflow asan warnings in ntcore tests
* Add DIOSetProxy constructor to HAL
* Upgrade MSVC compiler to 2022
* Bump native-utils to 2023.2.7 (changes to std=c++20)
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2022-10-15 16:33:14 -07:00
Peter Johnson
1f45732700
[build] Update to 2023.2.4 native-utils and new dependencies ( #4473 )
...
* Disable class-memaccess warning in Eigen
* Shim NiFpga_OpenHostMemoryBuffer
* Don't deploy .debug files in integration tests
2022-10-14 23:36:47 -07:00
Peter Johnson
873e72df8c
[build] Update imgui to 1.88 docking branch
2022-09-02 15:43:54 -07:00
Brandon Parsons
eb08486039
[build] Fix MacOS binary rpath generation ( #4376 )
...
For RPATH on MacOS use '@loader_path' instead of '$ORIGIN' to reference the directory where the executable is located. The latter is the mechanism used on Linux.
I think this was exposed due to newer OS X ignoring $DYLD_LIBRARY_PATH for security reasons.
2022-08-25 18:17:16 -07:00
Tyler Veness
ccf83c634a
[build] Use native-utils platform names instead of raw strings ( #4375 )
2022-08-25 12:54:11 -07:00
Tyler Veness
be5270697a
[build] Suppress enum-enum deprecation warning in OpenCV ( #4365 )
2022-08-19 23:51:43 -07:00
Thad House
aa221597bc
[build] Add M1 builds, change arm name, update to 2023 deps ( #4315 )
2022-06-20 12:28:46 -06:00
Thad House
17752f1337
[ci] Split debug and release Windows builds ( #4277 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2022-06-06 17:25:02 -07:00
Thad House
9fde0110b6
Update to 2022 v4.0 image ( #3944 )
2022-01-31 23:26:05 -08:00
Thad House
dd9c92d5bf
[build] Remove debug info from examples ( #3971 )
...
They take up a LOT of disk space.
2022-01-27 20:59:13 -08:00
Peter Johnson
5158730b81
[wpigui] Upgrade to imgui 1.86, GLFW 3.3.6 ( #3817 )
...
The GLFW upgrade fixes gamepads not being mapped at startup.
2021-12-22 12:24:36 -08:00
Peter Johnson
5da54888f8
[glass] Upgrade imgui to 0.85, implot to HEAD, glfw to 3.3.5 ( #3754 )
...
This in particular upgrades the plot widget with a few new features
and makes more plot configuration persistent.
2021-12-03 17:23:18 -08:00
Thad House
7f401ae895
[build] Update NI libraries to 2022.2.3 ( #3738 )
2021-11-27 09:43:07 -08:00
Thad House
6d3dd99eb2
[build] Update to newest native-utils ( #3633 )
2021-10-13 07:47:10 -07:00
Thad House
4e3fd7d420
[build] Enable Zc:__cplusplus for Windows ( #3625 )
...
This makes the version actually be correct.
2021-10-11 20:30:22 -07:00
Thad House
5e6c34c61c
Update to 2022 roborio image ( #3537 )
2021-09-10 13:00:58 -07:00
Thad House
4e1fa03087
[build] Skip PDB copy on windows build servers ( #3458 )
2021-06-21 20:56:42 -07:00
Thad House
989de4a1bf
[build] Force all linker warnings to be fatal for rio builds ( #3407 )
...
This will make sure we catch any bugs for missing runtime dependencies before they become bigger problems.
2021-06-05 11:20:09 -07:00
Peter Johnson
561d53885e
[build] Update opencv to 4.5.2, imgui/implot to latest ( #3344 )
...
Also update native-utils to 2022.0.0 to start pulling 2022 artifacts.
2021-05-10 18:59:14 -07:00
Prateek Machiraju
c517ec6779
[build] Update thirdparty-imgui to 1.79-2 ( #3118 )
2021-01-22 19:48:49 -08:00
Peter Johnson
ea1974d576
[wpigui] Update imgui and implot to latest
2021-01-08 11:37:35 -08:00
Austin Shalit
65b2359b27
[build] Add spotless for other files ( #3007 )
...
Adds spotless formatting for Gradle, xml, md, and gitignore files.
yml linting is not performed as it requires a dependency on npm.
2020-12-30 16:17:20 -08:00
Thad House
e6a4254488
[build] Delete test folders after tests execute ( #2891 )
...
Also deletes object files.
Both of these things are only done on the build server (-PbuildServer flag).
This will remove all test folders, which removes lots of copies of dependencies.
This also fixes an issue where gtest exectubables were installed for cross builds, even though they should not have been.
2020-11-27 21:44:47 -08:00
Prateek Machiraju
d478ad00d0
[imgui] Allow usage of imgui_stdlib ( #2889 )
...
This bumps the version number of thirdparty-imgui in Gradle and adds
imgui_stdlib.cpp into the sources in CMake, as well as adding a new
include directory.
2020-11-26 19:28:24 -08:00
Peter Johnson
7a73946ce1
[build] Update OpenCV to remove WITH_GTK ( #2856 )
...
This avoids a false dependency on libgthread on Mac.
2020-11-13 21:18:30 -08:00
Peter Johnson
b11a7114a5
[build] Bump thirdparty-opencv to 3.4.7-4 ( #2811 )
2020-10-25 17:40:18 -07:00
Peter Johnson
56972447b2
[wpigui] Only build static for both gradle and cmake ( #2703 )
...
Final use of wpigui is essentially always the static library.
2020-09-13 00:34:28 -07:00
Peter Johnson
1593eb4d47
[sim] Add plotting to simulation GUI
2020-09-02 21:13:38 -07:00
Thad House
83376bc231
[build] Add sourcelink support for windows pdbs ( #2592 )
...
SourceLink embeds the git repo and hash into the pdbs, which allows VS to get the source files exactly matching a pdb directly from github.
Only VS and WinDbg are supported currently, but there are issues in the vscode tools repo to enable it there.
2020-08-29 20:27:20 -07:00
Peter Johnson
b80fde4388
[wpigui] Add wpigui wrappers for GLFW+imgui
...
These hide the platform specifics behind a common C++ API. Platforms:
- Windows: DirectX 11 (with 10 backwards compatibility)
- Linux: OpenGL 3
- Mac: Metal
2020-08-27 21:05:17 -07:00
Thad House
3005803598
[build] Update to latest native utils ( #2591 )
...
By default, release projects do not include symbols in the new version.
This updates that to now work correctly.
2020-07-11 23:00:18 -07:00
Peter Johnson
492d6c2826
[sim] Update thirdparty-imgui ( #2552 )
...
Updates the following dependencies:
- glfw to latest 3.3-stable
- imgui to 1.76
- stb to latest master
Removes libvulkan dependency.
Also adds implot.
2020-06-27 16:02:40 -07:00
Thad House
3bcb89fb84
Set rpath on all unix platforms to $ORIGIN ( #2299 )
...
* Set rpath on all unix platforms to $ORIGIN
Will make it possible to extract JNI libraries easier
2020-06-23 21:03:04 -07:00
Dustin Spicuzza
7275ab9837
Add headerpad_max_install_names to Mac builds ( #2333 )
...
This allows dylib paths to be rewritten to a larger size by downstream tools.
2020-02-10 21:52:58 -08:00
Peter Johnson
c165dc5e50
Simulation GUI: Add 2D field view ( #2261 )
...
The field image and robot image can be loaded or just a wireframe used.
The robot can be moved and rotated with a mouse click + drag.
The robot position is settable in robot code via the Field2d class.
2020-02-01 21:30:23 -08:00