Compare commits

...

2 Commits

Author SHA1 Message Date
5fbb7ec01a windows boilerplate in the README 2025-07-20 14:15:59 -04:00
e1b6cdb96d update README 2025-07-18 18:53:56 -04:00
3 changed files with 34 additions and 11 deletions

View File

@ -175,14 +175,21 @@ cd bellatui
make all -j4 make all -j4
``` ```
# Windows ## Windows (win10)
https://aka.ms/vs/17/release/vs_BuildTools.exe - [optioanl] Install https://git-scm.com
[ ] Desktop development with C++
Get bella_engine_sdk - Download Visual Studio Community Edition 2022
- Run VisualStudioSetup.exe
- Workload = [x] Desktop developemnt with C++
- Individial components = [x] Git For Windows
#### x64 Developer console #### x64 Developer console
``` ```
cd %USERPROFILE%
mkdir workdir
cd workdir
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
tar -xf bella_engine_sdk-25.3.0-win32.zip
git clone https://github.com/microsoft/vcpkg.git git clone https://github.com/microsoft/vcpkg.git
cd vcpkg cd vcpkg
bootstrap-vcpkg.bat bootstrap-vcpkg.bat
@ -191,13 +198,13 @@ vcpkg.exe install cppzmq:x64-windows
vcpkg integrate install vcpkg integrate install
cd .. cd ..
git clone https://github.com/SpartanJ/efsw.git git clone https://github.com/SpartanJ/efsw.git
mkdir -p efsw/build mkdir -p efsw\build
cd efsw/build cd efsw/build
cmake .. cmake ..
msbuild efsw.sln /p:Configuration=Release /p:Platform=x64 msbuild efsw.sln /p:Configuration=Release /p:Platform=x64
cd ../.. cd ../..
git clone https://github.com/oomer/bellatui.git git clone https://git.indoodle.com/jason/bellatui.git
cd bellatui
msbuild bellatui.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143 msbuild bellatui.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
``` ```

View File

@ -611,6 +611,7 @@ int DL_main(Args& args)
args.add("li", "licenseinfo", "", "prints license info"); args.add("li", "licenseinfo", "", "prints license info");
args.add("ef", "efsw", "", "mode efsw"); args.add("ef", "efsw", "", "mode efsw");
args.add("wd", "watchdir", "", "mode file warch"); args.add("wd", "watchdir", "", "mode file warch");
args.add("j", "jason", "", "print hello jason");
// Handle special command-line options // Handle special command-line options
if (args.versionReqested()) if (args.versionReqested())
@ -624,6 +625,13 @@ int DL_main(Args& args)
printf("%s", args.help("SDK Test", fs::exePath(), bellaSdkVersion().toString()).buf()); printf("%s", args.help("SDK Test", fs::exePath(), bellaSdkVersion().toString()).buf());
return 0; return 0;
} }
// print hello jason
if (args.have("--jason")) {
std::cout << "Hello Jason!" << std::endl;
return 0;
}
std::string path="."; std::string path=".";
if (args.have("--watchdir")) { if (args.have("--watchdir")) {

View File

@ -14,6 +14,7 @@
<VCProjectVersion>16.0</VCProjectVersion> <VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid> <ProjectGuid>{7AEA0690-36B7-4596-9DEE-C3AB3C11D282}</ProjectGuid>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'" Label="Configuration">
@ -100,11 +101,19 @@
echo libzmq-mt-4_3_5.dll copied &amp; echo libzmq-mt-4_3_5.dll copied &amp;
copy "$(ProjectDir)..\vcpkg\installed\x64-windows\bin\libsodium.dll" "$(TargetDir)" &amp; copy "$(ProjectDir)..\vcpkg\installed\x64-windows\bin\libsodium.dll" "$(TargetDir)" &amp;
echo libsodium.dll copied &amp; echo libsodium.dll copied &amp;
copy "$(ProjectDir)..\bella_engine_sdk\lib\dl_usd_ms.dll" "$(TargetDir)" &amp;
echo dl_usd_ms.dll copied &amp;
echo Post-build event finished</Command> echo Post-build event finished</Command>
</PostBuildEvent> </PostBuildEvent>
<ClCompile>
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='PseudoDebug|x64'">stdcpp17</LanguageStandard>
</ClCompile>
<ClCompile>
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdcpp17</LanguageStandard>
</ClCompile>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\api.h" /> <ClInclude Include="..\bella_engine_sdk\src\bella_sdk\api.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_engine.h" /> <ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_engine.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_nodeapi.h" /> <ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_nodeapi.h" />
<ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_scene.h" /> <ClInclude Include="..\bella_engine_sdk\src\bella_sdk\bella_scene.h" />
@ -158,4 +167,3 @@
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">
</ImportGroup> </ImportGroup>
</Project> </Project>