Does anyone have a very new MacOS + new Xcode (I think 16.4) set up where they can debug? I think the GitHub runners bumped versions on something recently, and after working around a couple compile errors I'm getting some sort of weird "process killed" failure when trying to run things after the compile completes. It feels a little like the early problems I had getting bext to work on OSX when I didn't know about the issues path updates cause with code signing, but I'm not sure if that's what's happening again. If anybody can reproduce and debug (right now I can do so only on the CI runners, which isn't ideal for iterating, to say the very least) it would be helpful.
Hi. I have MacOS 15.6.1, Xcode 16.4, XQuartz 2.8.5 and make cmake 3.31.7. I cloned git repo (7.42.1) and in build directory executed cmake .. -G Xcode. It ended like this: https://pastebin.com/hkV9fxPT
If you give me detailed instructions I can share debugging reports but I am not able to figure out configure and compile issues by myself.
OK, switching to cmake 4.1.1 got me a bit closer. Configuration ends up well, but generating build files fails in this manner: https://pastebin.com/kgcWJrCv
build.log
Hmm this is another attempt to build.
CMakeCache.txt
BRLCAD.xcodeproj
To to clarify (or add to) the mess I made above:
cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME/brlcad-dev
leads to
------------- BRL-CAD Release 7.42.1, Build 20250914 - Debug Build -------------
Prefix: /Users/pawleeq/brlcad-dev
Binaries: /Users/pawleeq/brlcad-dev/bin
Libraries: /Users/pawleeq/brlcad-dev/lib
Manual pages: /Users/pawleeq/brlcad-dev/share/man
Data resources: /Users/pawleeq/brlcad-dev/share
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
CFLAGS = -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -pipe
-fvisibility=hidden -fno-strict-aliasing -fno-common -fexceptions
-m64 -g -ggdb3 -Qunused-arguments -fstack-protector-all -pedantic
-Wall -Wextra -Wundef -Wfloat-equal -Wshadow -Wbad-function-cast
-Wc++-compat -Winline -Wno-long-long -Wno-variadic-macros
-Wdocumentation -Werror
CXXFLAGS = -std=c++17 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -pipe
-fvisibility=hidden -fno-strict-aliasing -fno-common -fexceptions
-ftemplate-depth-128 -m64 -g -ggdb3 -Qunused-arguments
-fstack-protector-all -pedantic -Wall -Wextra -Wundef -Wfloat-equal
-Wshadow -Wbad-function-cast -Winline -Wno-long-long
-Wno-variadic-macros -Wdocumentation -Werror
LDFLAGS = -m64 -g -ggdb3
Asset Import Library.................: System
Eigen................................: System
Geogram..............................: Bundled
Geospatial Data Abstraction Library..: System
Lightning Memory-Mapped Database.....: Bundled
Manifold.............................: Bundled
Netpbm...............................: System
OpenCV...............................: Bundled
OpenMesh.............................: Bundled
OpenNURBS............................: Bundled
OSMesa...............................: Bundled
Portable Network Graphics............: Bundled
Regex Library........................: Bundled
STEPcode.............................: Bundled
Tcl..................................: Bundled
Tk...................................: Bundled
UtahRLE..............................: Bundled
Zlib.................................: System
OpenGL support (optional) ..........: ON
X11 support (optional) .............: ON
Qt support (optional) ..............: OFF
Run-time debuggability (optional) ..: ON
Build 32/64-bit release ............: 64BIT (Auto)
Build with optimization ............: OFF
Build static libraries .............: ON
Build dynamic libraries ............: ON
Install example geometry models ....: ON
Generate extra docs ................: ON (html/man)
Elapsed configuration time: 2 minutes 6 seconds
-- Configuring done (127.4s)
-- Generating done (4.9s)
-- Build files have been written to: /Users/pawleeq/brlcad/build
In order to build I do
xcodebuild -project BRLCAD.xcodeproj -scheme install -configuration Debug build | tee install.log
Resulting log is attached. Please ignore my previous attempts.
install.log
Ok, this doesn't have to do anything with Xcode, but it leads to successful build on macOS 15.7. First configure:
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DBRLCAD_ENABLE_STEP=OFF \
-DBRLCAD_ENABLE_ASSETIMPORT=OFF \
-DBRLCAD_ENABLE_GDAL=OFF \
-DBRLCAD_DISABLE_BINARY_PLUGINS=ON \
-DX11_INCLUDE_DIR=/opt/X11/include \
-DX11_LIB_DIR=/opt/X11/lib \
-DCMAKE_PREFIX_PATH=/opt/X11
leads to success. then
make &&make install
Thanks for sharing your build configuration @Pavel Jansa ... very interesting that you had to turn those three off to get it to succeed, or if it was the binary plugins.
Those three were the sources of troubles. Especially step. Anyway in a few days I will give it a go with different config and share the results.
This was an attempt to build succesful configuration for xcode
cmake .. \
-G Xcode \
-DCMAKE_BUILD_TYPE=Release \
-DBRLCAD_ENABLE_STEP=OFF \
-DBRLCAD_ENABLE_ASSETIMPORT=OFF \
-DBRLCAD_ENABLE_GDAL=OFF \
-DBRLCAD_DISABLE_BINARY_PLUGINS=ON \
-DX11_INCLUDE_DIR=/opt/X11/include \
-DX11_LIB_DIR=/opt/X11/lib \
-DCMAKE_PREFIX_PATH=/opt/X11
Here goes the log.
cmake_xcode.log
This was the build command:
xcodebuild -project BRLCAD.xcodeproj
And this is how it failed.
xcodebuild.log
If you need more info, just tell me how to get it and wait a while :)
Last updated: Oct 14 2025 at 00:51 UTC