Compare commits

..

No commits in common. "3a48c7bb4adeaa5ecdcfa04bc01efda07e1a3b74" and "7d1bcdb32721b6ef53c38957251526e594123842" have entirely different histories.

3 changed files with 24 additions and 34 deletions

View File

@ -10,7 +10,6 @@ poomer-efsw --watchdir:/tmp --ext:zip --ext:bsz
# Build
```
workdir/
├── cmake/ (macos)
├── build_engine_sdk/
├── oom/
├── efsw/
@ -18,35 +17,29 @@ workdir/
```
## MacOS
Install Cmake to /Applications
```
curl -LO https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-macos-universal.dmg
open cmake-3.31.6-macos-universal.dmg
```
Download SDK for your OS and drag bella_engine_sdk into your workdir. On Windows rename unzipped folder by removing version ie bella_engine_sdk-24.6.0 -> bella_engine_sdk
- [bella_engine_sdk MacOS](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.dmg)
- [bella_engine_sdk Linux](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz)
- [bella_engine_sdk Win](https://downloads.bellarender.com/bella_engine_sdk-24.6.0.zip)
```
# Install xcode
xcode-select --install
mkdir workdir && cd workdir
mkdir cmake efsw poomer-efsw
# Build cmake
cd cmake
git clone https://github.com/Kitware/CMake.git .
./configure
make -j$(sysctl -n hw.ncpu)
# Build efsw
cd ../efsw && git clone https://github.com/SpartanJ/efsw.git .
../cmake/bin/cmake -B ./build
../cmake/bin/cmake --build ./build -j$(sysctl -n hw.ncpu)
# Get bella sdk
cd ..
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip
tar -xvf bella_engine_sdk-25.3.0-macos.zip
# Get oom
git clone https://git.indoodle.com/oomer/oom.git
# Build poomer-efsw
mkdir workdir
cd workdir
git clone https://github.com/SpartanJ/efsw.git
mkdir -p efsw/build
cd efsw/build
/Applications/CMake.app/Contents/bin/cmake ..
make -j4
cd ../..
git clone https://github.com/oomer/oom.git
git clone https://github.com/oomer/poomer-efsw.git
cd poomer-efsw
git clone https://github.com/oomer/poomer-efsw.git .
make all -j$(sysctl -n hw.ncpu)
make all -j4
```

View File

@ -58,7 +58,6 @@ endif
INCLUDE_PATHS = -I$(BELLA_SDK_PATH)/src -I$(LIBEFSW_PATH)/include -I$(LIBEFSW_PATH)/src
SDK_LIB_PATH = $(BELLA_SDK_PATH)/lib
SDK_LIB_FILE = lib$(BELLA_SDK_NAME).$(SDK_LIB_EXT)
USD_SDK_LIB_FILE = libdl_usd_ms.$(SDK_LIB_EXT)
EFSW_LIB_PATH = $(LIBEFSW_PATH)/build
# Library flags
LIB_PATHS = -L$(SDK_LIB_PATH) -L$(EFSW_LIB_PATH)
@ -91,7 +90,6 @@ $(OUTPUT_FILE): $(OBJECT_FILES)
$(CXX) -o $@ $(OBJECT_FILES) $(LINKER_FLAGS) $(LIB_PATHS) $(LIBRARIES)
@echo "Copying libraries to $(BIN_DIR)..."
@cp $(SDK_LIB_PATH)/$(SDK_LIB_FILE) $(BIN_DIR)/$(SDK_LIB_FILE)
@cp $(SDK_LIB_PATH)/$(USD_SDK_LIB_FILE) $(BIN_DIR)/$(USD_SDK_LIB_FILE)
@cp $(EFSW_LIB_PATH)/$(EFSW_LIB_NAME) $(BIN_DIR)/$(EFSW_LIB_NAME)
@echo "Build complete: $(OUTPUT_FILE)"

View File

@ -12,7 +12,6 @@
#include "../oom/oom_file.h" // common misc code
#include "../oom/oom_bella_long.h" // common misc code
#include "../oom/oom_bella_engine.h" // common misc code
#include "../oom/oom_bella_misc.h" // Logging functionality
//==============================================================================
// GLOBAL VARIABLES AND FUNCTIONS
@ -100,7 +99,7 @@ int DL_main(dl::Args& args) {
// Check if we have files to delete
while (oomWatcher.getNextFileToDelete(filePath)) {
dl::logInfo("Processing deletion: %s", filePath.string().c_str());
dl::logInfo("Processing deletion: %s", filePath.string());
// Handle file deletion
// Add your deletion logic here
}