From abb3243e6f6910740384fb0618980f7f258b28b3 Mon Sep 17 00:00:00 2001 From: Harvey Fong Date: Wed, 7 Jan 2026 04:56:49 +0000 Subject: [PATCH] 2026 cleanup pass --- LICENSE | 2 +- makefile => Makefile | 0 README.md | 74 +++++++++++++++++++++------------------ poomer-bella-sine.vcxproj | 38 ++++++++++++++++++-- 4 files changed, 76 insertions(+), 38 deletions(-) rename makefile => Makefile (100%) diff --git a/LICENSE b/LICENSE index a505139..d54032a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Harvey Fong +Copyright (c) 2026 Harvey Fong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/makefile b/Makefile similarity index 100% rename from makefile rename to Makefile diff --git a/README.md b/README.md index beb9960..8b3d833 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # poomer-bella-sine -Learning prototype cross-platform command line for Bella scene creation with sine wave. Depends on https://github.com/oomer/oom +Learning prototype cross-platform command line for Bella scene creation with sine wave. @@ -40,13 +40,35 @@ workdir/ └── poomer-bella-sine/ ``` -## MacOS (kasm-monterey) -- [ ] Install Xcode +## Ubuntu Linux x64 ``` -mkdir workdir -cd workdir -curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip +sudo apt install -y build-essential +mkdir workdir && cd workdir + +# Install Bella SDK +wget https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz +tar -xvf bella_engine_sdk-25.3.0.tar.gz + +# Build poomer-bella-sine +git clone https://git.indoodle.com/oomer/oom.git +git clone https://git.indoodle.com/oomer/poomer-bella-sine.git +cd poomer-bella-sine +make all -j$(nproc) +bin/Linux/release/poomer-bella-sine -r +file ./untitled.png +``` +## MacOS x64 +``` +# Install xcode +xcode-select --install + +mkdir workdir && cd workdir + +# Install Bella SDK +curl -O https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip unzip bella_engine_sdk-25.3.0-macos.zip + +# Build poomer-bella-sine git clone https://git.indoodle.com/oomer/oom.git git clone https://git.indoodle.com/oomer/poomer-bella-sine.git cd poomer-bella-sine @@ -54,41 +76,25 @@ make all -j4 bin/Darwin/release/poomer-bella-sine -r open ./untitled.png ``` - -## Ubuntu Linux (kasm-ubuntu) -``` -sudo apt install -y build-essential curl -mkdir workdir -cd workdir -curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz -tar -xvf bella_engine_sdk-25.3.0.tar.gz -git clone https://git.indoodle.com/oomer/oom.git -git clone https://git.indoodle.com/oomer/poomer-bella-sine.git -cd poomer-bella-sine -make all -j4 -bin/Linux/release/poomer-bella-sine -r -file ./untitled.png -``` - -## Windows (win10 enterprise) -- [optioanl] Install https://git-scm.com - -- Download Visual Studio Community Edition 2022 +## Windows x64 +- Download Visual Studio Community Edition - Run VisualStudioSetup.exe -- Workload = [x] Desktop developemnt with C++ -- Individial components = [x] Git For Windows +- Workload = [x] Desktop development with C++ +- Individual components = [x] Git For Windows -Run **x64 Native Tools Command Prompt for VS 2022** +#### x64 Native Tools for VS ``` -cd %USERPROFILE% -mkdir workdir -cd workdir -curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip +mkdir workdir && cd workdir + +# Install Bella SDK +curl -O https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip tar -xf bella_engine_sdk-25.3.0-win32.zip + +# Build poomer-bella-sine git clone https://git.indoodle.com/oomer/oom.git git clone https://git.indoodle.com/oomer/poomer-bella-sine.git cd poomer-bella-sine -msbuild poomer-bella-sine.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143 +msbuild poomer-bella-sine.vcxproj /p:Configuration=release x64\release\poomer-bella-sine.exe -r start ./untitled.png ``` diff --git a/poomer-bella-sine.vcxproj b/poomer-bella-sine.vcxproj index 87d8d4f..084944d 100644 --- a/poomer-bella-sine.vcxproj +++ b/poomer-bella-sine.vcxproj @@ -1,6 +1,10 @@ + + Debug + x64 + PseudoDebug x64 @@ -16,16 +20,22 @@ {7AEA0690-36B7-4596-9DEE-C3AB3C11D282} + + Application + false + $(DefaultPlatformToolset) + Unicode + Application false - v141 + $(DefaultPlatformToolset) Unicode Application false - v141 + $(DefaultPlatformToolset) Unicode @@ -58,6 +68,26 @@ vulkan-1.dll + + + MultiThreadedDLL + true + true + false + NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;%(PreprocessorDefinitions) + ..\bella_engine_sdk\src;..\oom + stdcpp17 + + + Console + true + true + true + ..\bella_engine_sdk\lib + bella_engine_sdk.lib;Shlwapi.lib;vulkan-1.lib;winmm.lib;%(AdditionalDependencies) + vulkan-1.dll + + MultiThreadedDLL @@ -78,11 +108,13 @@ vulkan-1.dll + + TurnOffAllWarnings false - _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;DL_USE_SHARED;NOMINMAX;WIN32_LEAN_AND_MEAN;NOGDI;NOUSER;_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions) NoIPO stdcpp17