# After setting Pulse\_NATIVE\_BUILD\_DIR to my macos root build directory, CMake does not configure

**URL:** https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657
**Category:** Pulse Physiology Engine
**Created:** [December 9, 2025, 9:10pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657 "2025-12-09T21:10:07Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 9, 2025, 9:10pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/1 "2025-12-09T21:10:07Z")

</div>

![image](https://discourse.kitware.com/uploads/default/original/2X/5/56d78ae4fb0126f70f80192048360736350f050b.jpeg)

Im trying to use the engine for a visionOS project. I built the macOS version no problem and my bin populated with protoc. As I go to make the iOS version and set my root directory to the macOSBuild and it says CMake Error at CMakeLists.txt:103 (message):  
Could not find expected binding directory in provided NATIVE\_BUILD\_DIR,  
expecting:  
/Users/fahim/Desktop/PulseEngine/macBuild/Innerbuild/src/cpp/pulse

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 9, 2025, 10:55pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/2 "2025-12-09T22:55:52Z")

</div>

You have to build the engine twice, once as a native os build. The 2nd is the visionOS, where you reference the original native os build.

[https://gitlab.kitware.com/physiology/engine#ios](https://gitlab.kitware.com/physiology/engine#ios)

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 10, 2025, 5:41pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/3 "2025-12-10T17:41:40Z")

</div>

If im not mistaken, I believe that is what I did. I did a native build calling it Mac build and then tried to do the iOS build and as instructed tried to set the root directory to macbuild but thats where I come across the issue again.

 ![image](https://discourse.kitware.com/uploads/default/original/2X/7/75461c19a1571a152436f782b82dffbbd401b3ff.jpeg)

 ![image](https://discourse.kitware.com/uploads/default/original/2X/a/aa6e1a55e8720209ca61ad1174af6e87039af552.jpeg)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 10, 2025, 6:05pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/4 "2025-12-10T18:05:06Z")

</div>

The directory it is specifically looking for would be

macBuild/Innerbuild/src/cpp/pulse, does that exist?

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 10, 2025, 7:21pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/5 "2025-12-10T19:21:52Z")

</div>

macBuild/Innerbuild/src/cpp exists, but no pulse after that

 ![image](https://discourse.kitware.com/uploads/default/original/2X/d/d48f3463937c2b1ecd286a1b89aa1f53300b4fb6.jpeg)

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 10, 2025, 7:39pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/6 "2025-12-10T19:39:28Z")

</div>

I cloned the engine. Named my native build macBuild which built fine. After I built the Xcode project my bin folder populated with everything as seen in my 2nd post. Then I proceed to make my iOS build and when setting root directory I get that same error

 ![image](https://discourse.kitware.com/uploads/default/original/2X/1/1b0d815b52d4e63b782a17bb560a87c84b3eff22.png)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 10, 2025, 8:42pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/7 "2025-12-10T20:42:42Z")

</div>

It looks like there was an issue building your native macBuild build

you do not have the pule folder, nor are there any executables in the bin directory…

That build failed somewhere…

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 10, 2025, 9:02pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/8 "2025-12-10T21:02:23Z")

</div>

Sorry, this is new to me. When I made the native build, I cloned the engine, then went to cmake, selected the engine as the source, and made the binaries build location macOS build, which generated an XCode project and populated the macOS build folder, then I built the XCode project and got stuff in my bin, include, and lib. I see in the instructions [https://gitlab.kitware.com/physiology/engine#ios](https://gitlab.kitware.com/physiology/engine#ios) in step one it says “In order to generate the necessary files during the build process, you will need to build Pulse for the native MacOS platform. Simply follow the above build instructions.” I’m not sure what that refers to. There’s lots of stuff above iOS, and I’m not sure what that pertains to.

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 10, 2025, 9:05pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/9 "2025-12-10T21:05:52Z")

</div>

Also for the native build when I configured it in CMake I turned off JAVA and Python

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 10, 2025, 10:51pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/10 "2025-12-10T22:51:31Z")

</div>

Check the build log in XCode for errors

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 11, 2025, 4:18pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/11 "2025-12-11T16:18:22Z")

</div>

I attempted to redo the native build again and this time instead of choosing ALL\_BUILD scheme I attempted to build each scheme one at a time. Everything built, protobuf, Eigen3, ZERO\_CHECK, absl, except Pulse. It does not build and by extension ALL\_BUILD does not build. I was not able to attach a txt file so I attached the raw text to this message below. It seems there is a missing file and Im not sure where it is because I dont see it either. Once I follow the path and get to /cpp I see no /pulse folder. Please let me know if you have insights.

 ![image](https://discourse.kitware.com/uploads/default/original/2X/4/4f4946a5116b6764083abb463b7d00af55f0c4f7.jpeg)

 ![image](https://discourse.kitware.com/uploads/default/original/2X/2/28f6a5614e20338235ac15a51e996909eb2e6278.jpeg)

Error Messages from Build Log:

Showing All Errors Only  
Build target Pulse of project Pulse with configuration Debug  
note: Run script build phase ‘Generate cmake/external/CMakeFiles/Pulse’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘Pulse’ from project ‘Pulse’)  
PhaseScriptExecution Generate\ cmake/external/Pulse-prefix/src/Pulse-stamp/(CONFIGURATION)(EFFECTIVE\_PLATFORM\_NAME)/Pulse-configure /Users/fahim/Desktop/PulseEngine/nativeBuild/build/Pulse.build/Debug/Pulse.build/Script-7094C5C657EE482C66C0FEED.sh (in target ‘Pulse’ from project ‘Pulse’)  
cd /Users/fahim/Desktop/PulseEngine/engine  
/bin/sh -c /Users/fahim/Desktop/PulseEngine/nativeBuild/build/Pulse.build/Debug/Pulse.build/Script-7094C5C657EE482C66C0FEED.sh  
loading initial cache file /Users/fahim/Desktop/PulseEngine/nativeBuild/cmake/external/Pulse-prefix/tmp/Pulse-cache-Debug.cmake  
– Using preset install directory /Users/fahim/Desktop/PulseEngine/nativeBuild/install  
– The C compiler identification is AppleClang 17.0.0.17000404  
– The CXX compiler identification is AppleClang 17.0.0.17000404  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped  
– Detecting C compile features  
– Detecting C compile features - done  
– Detecting CXX compiler ABI info  
– Detecting CXX compiler ABI info - done  
– Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped  
– Detecting CXX compile features  
– Detecting CXX compile features - done  
– Performing Test CMAKE\_HAVE\_LIBC\_PTHREAD  
– Performing Test CMAKE\_HAVE\_LIBC\_PTHREAD - Success  
– Found Threads: TRUE  
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:493 (message):  
The package name passed to find\_package\_handle\_standard\_args() (Protobuf)  
does not match the name of the calling package (protobuf). This can lead  
to problems in calling code that expects find\_package() result variables  
(e.g., `_FOUND`) to follow a certain pattern.  
Call Stack (most recent call first):  
/Users/fahim/Desktop/PulseEngine/nativeBuild/install/lib/cmake/protobuf/protobuf-module.cmake:162 (FIND\_PACKAGE\_HANDLE\_STANDARD\_ARGS)  
/Users/fahim/Desktop/PulseEngine/nativeBuild/install/lib/cmake/protobuf/protobuf-config.cmake:21 (include)  
CMakeLists.txt:338 (find\_package)  
This warning is for project developers. Use -Wno-dev to suppress it.  
– Found Protobuf: /Users/fahim/Desktop/PulseEngine/nativeBuild/install/bin/protoc (found version “29.2.0”)  
– Autogenerated code root : /Users/fahim/Desktop/PulseEngine/nativeBuild/Innerbuild/src  
– protobuf\_SRC is located at /Users/fahim/Desktop/PulseEngine/nativeBuild/External/protobuf/src  
– Generating Schema Bindings  
– Using : /Users/fahim/Desktop/PulseEngine/nativeBuild/install/bin/protoc  
– SRC\_ROOT: /Users/fahim/Desktop/PulseEngine/engine/src  
– SCHEMA\_SRC: /Users/fahim/Desktop/PulseEngine/engine/src/schema  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Actions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/AnesthesiaMachine.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/AnesthesiaMachineActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/BagValveMask.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/BagValveMaskActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/BlackBox.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Circuit.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Compartment.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Conditions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/ECMO.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/ECMOActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/ElectroCardioGram.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Engine.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Enums.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Environment.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/EnvironmentActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/EnvironmentConditions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/EquipmentActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Events.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Inhaler.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/InhalerActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/MechanicalVentilator.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/MechanicalVentilatorActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Patient.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/PatientActions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/PatientAssessments.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/PatientConditions.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/PatientNutrition.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Physiology.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Plots.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Properties.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Scenario.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Substance.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/SubstanceQuantity.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/TestReport.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Validation.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Configuration.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Enums.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Environment.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Equipment.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Physiology.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/Scenario.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/engine/bind/State.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/study/bind/Hydrocephalus.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/study/bind/InTheMoment.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/study/bind/MultiplexVentilation.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/study/bind/PatientVariability.proto  
– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/study/bind/SensitivityAnalysis.proto  
– cpp bindings are here : /Users/fahim/Desktop/PulseEngine/nativeBuild/Innerbuild/src/cpp  
– Touch file /Users/fahim/Desktop/PulseEngine/nativeBuild/Innerbuild/src/schema\_last\_built  
– Configuring Pulse  
– Performing Test COMPILER\_HAS\_HIDDEN\_VISIBILITY  
– Performing Test COMPILER\_HAS\_HIDDEN\_VISIBILITY - Success  
– Performing Test COMPILER\_HAS\_HIDDEN\_INLINE\_VISIBILITY  
– Performing Test COMPILER\_HAS\_HIDDEN\_INLINE\_VISIBILITY - Success  
– Performing Test COMPILER\_HAS\_DEPRECATED\_ATTR  
– Performing Test COMPILER\_HAS\_DEPRECATED\_ATTR - Success  
– Configuring PulseTests  
– Configuring CircuitOptimizationEngine  
– Not installing CircuitOptimizationEngine  
– Configuring HydrocephalusEngine  
– Not installing HydrocephalusEngine  
– Configuring MultiplexVentilationEngine  
– Not installing MultiplexVentilationEngine  
– Configuring PatientVariabilityEngine  
– Not installing PatientVariabilityEngine  
– Configuring SensitivityAnalysisEngine  
– Not installing SensitivityAnalysisEngine  
– Configuring PulseC  
– Looking for zip shas  
– Found Git: /Applications/Xcode.app/Contents/Developer/usr/bin/git (found version “2.50.1 (Apple Git-155)”)  
– Configuring done (7.7s)  
CMake Error at cmake/utilities/AddLibrary.cmake:78 (add\_library):  
Cannot find source file:  
/Users/fahim/Desktop/PulseEngine/nativeBuild/Innerbuild/src/cpp/pulse/cdm/bind/Actions.pb.h  
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm  
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90  
.f95 .f03 .hip .ispc  
Call Stack (most recent call first):  
src/cpp/CMakeLists.txt:10 (add\_library\_ex)  
CMake Error at cmake/utilities/AddLibrary.cmake:78 (add\_library):  
No SOURCES given to target: Pulse  
Call Stack (most recent call first):  
src/cpp/CMakeLists.txt:10 (add\_library\_ex)  
CMake Generate step failed. Build files cannot be regenerated correctly.  
Command PhaseScriptExecution failed with a nonzero exit code  
Command PhaseScriptExecution failed with a nonzero exit code  
Build failed 12/11/25, 11:12 AM 117.9 seconds

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 11, 2025, 4:54pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/12 "2025-12-11T16:54:51Z")

</div>

So what I believe is happening is that when you see

`– C++ Binding file /Users/fahim/Desktop/PulseEngine/engine/src/schema/pulse/cdm/bind/Actions.proto`

The build system is trying to execute the protoc executable that it has just built… but XCode or the operating system does not like the permissions of that executable… so it prevents the protoc executable from running… and generating those missing files

The quickest way around this, is to target Makefiles when you are running CMake for your Pulse build rather than creating an XCode project. Just build it with `make -jX` (Where X is the amount of parallel build processes to use… I usually use -j8 on a laptop…) from the build directory.

Using XCode seems to introduce permission issues that I am not sure how to get around. I just don’t use it enough to figure out these issues. I generally just use CMake to create make files to build rather than an XCode project and go from there…

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 11, 2025, 6:24pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/13 "2025-12-11T18:24:54Z")

</div>

I did it all through the command line this time

```auto
cmake -G "Unix Makefiles" \
      -D Pulse_JAVA_API=OFF \
      -D Pulse_PYTHON_API=OFF \
      -D Pulse_C_AS_STATIC=ON \
      -D CMAKE_BUILD_TYPE=Release \
      -D CMAKE_INSTALL_PREFIX=./install \
      ../engine

```

I used that command to generate the project then typed `make -j8`  
and received this error

```CMake
  The package name passed to find_package_handle_standard_args() (Protobuf)
  does not match the name of the calling package (protobuf). This can lead
  to problems in calling code that expects find_package() result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /Users/fahim/Desktop/PulseEngine/nativeBuild/install/lib/cmake/protobuf/protobuf-module.cmake:162 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /Users/fahim/Desktop/PulseEngine/nativeBuild/install/lib/cmake/protobuf/protobuf-config.cmake:21 (include)
  CMakeLists.txt:338 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find Protobuf (missing: Protobuf_PROTOC_EXECUTABLE) (found version "29.2.0")
-- Autogenerated code root : /Users/fahim/Desktop/PulseEngine/nativeBuild/Innerbuild/src
CMake Error at src/schema/GenerateBindings.cmake:26 (message):
  Where is the protoc binder?
Call Stack (most recent call first):
  src/schema/CMakeLists.txt:1 (include)

-- Configuring incomplete, errors occurred!
make[2]: *** [cmake/external/Pulse-prefix/src/Pulse-stamp/Pulse-configure] Error 1
make[1]: *** [cmake/external/CMakeFiles/Pulse.dir/all] Error 2
make: *** [all] Error 2
fahim@Fahims-MacBook-Air nativeBuild % 

```

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 11, 2025, 9:34pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/14 "2025-12-11T21:34:11Z")

</div>

Seems like there were issues building protobuf  
Would need to check the build log to see if the executable was properly built

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 12, 2025, 3:23pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/15 "2025-12-12T15:23:46Z")

</div>

Ok, I think everything worked. I used the CMake GUI to make the native build. Instead of setting the Compiler as Xcode the big change was making it to Unix Makefile and then building the project with `make` . After that I built the arm64 version for my visionOS project and it worked fine. Thank you for your help. I plan to use Objective C wrappers to talk to the engine, I just notice there is a LOT of .a files. Do you have any idea if I could compress it to one so I can run a command to turn the one .a file into. nice .framework file? The image is for a YouTube tutorial but this guy had one .a file and seemed to be able to turn it into a .framework file with this command. Thanks again! I also probably ran into some issues yesterday since GitHub was having some issues.

 ![image](https://discourse.kitware.com/uploads/default/original/2X/4/43c1ed09ab1226079673b831c7810c0ba15f7208.png)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 12, 2025, 3:55pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/16 "2025-12-12T15:55:21Z")

</div>

Great!

I would say you should not use `-D Pulse_C_AS_STATIC=ON` or `-D CMAKE_INSTALL_PREFIX=./install` for a native build

I agree, the [absl project](https://github.com/abseil/abseil-cpp) creates a LOT of library files… pretty much 1 for each source file

I am not sure about integrating libraries into xcframeworks and how to use those…

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 12, 2025, 4:01pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/17 "2025-12-12T16:01:35Z")

</div>

Where do you suggest the prefix should go instead of install? I will rebuild with `Pulse_C_AS_STATIC` as off

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 12, 2025, 4:55pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/18 "2025-12-12T16:55:23Z")

</div>

The Pulse build creates an install folder in the build folder and sets `CMAKE_INSTALL_PREFIX` to that as default, so just let it do that

---

<div class="post-metadata">

### Author: ![FahimU80](https://discourse.kitware.com/user_avatar/discourse.kitware.com/fahimu80/32/1154_2.png) [@FahimU80](https://discourse.kitware.com/u/FahimU80)
#### Post date: [December 16, 2025, 7:56pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/19 "2025-12-16T19:56:10Z")

</div>

sorry to bother again. I think I must of made an iOS build instead of a visionOS build. I am trying to make a visionOS app natively with no unity. This is the specific error I get `Building for 'visionOS', but linking in object file (/Users/fahim/Desktop/Personal Projects/PulseBuild/PulseBuild/PulseCore/Libs/libPulsed.a[420](PulseBuildInformation.o)) built for 'iOS'` My question is what should the CMake settings be so I can ensure Iam making a visionOS build. Also for reference I was trying to test my connection to the engine so I wrote an objective c wrapper to get the pulse engine version hence why its looking for PulseBuildInformation.o) in the error message.

 ![image](https://discourse.kitware.com/uploads/default/original/2X/c/c613e811259adf42edb7ee75626ced2032c6af89.png)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [December 16, 2025, 8:27pm UTC](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657/20 "2025-12-16T20:27:39Z")

</div>

Use the xros.toolchain.cmake file [here](https://gitlab.kitware.com/physiology/engine/-/tree/stable/cmake?ref_type=heads) instead of the io.toolchain.cmake file

[Next page](https://discourse.kitware.com/t/after-setting-pulse-native-build-dir-to-my-macos-root-build-directory-cmake-does-not-configure/1657.md?page=2)
