missing \ , mess with merging README

This commit is contained in:
Harvey Fong 2025-03-01 15:48:07 -07:00
parent 077976808a
commit 209b31d440
2 changed files with 6 additions and 11 deletions

View File

@ -24,11 +24,9 @@ Entered: Public Key Serving Mode
Client connected Client connected
``` ```
<<<<<<< HEAD
## Build ## Build
##MacOS ##MacOS
``` ```
mkdir ~/homebrew mkdir ~/homebrew
@ -57,13 +55,11 @@ makefile
##Linux ##Linux
=======
# Build # Build
# Linux # Linux
### bella_engine_sdk ### bella_engine_sdk
>>>>>>> 6760d2b (added msbuild file, detailed instructions to build on each platform, and arg support for port and address)
``` ```
curl -O https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz curl -O https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz
tar -xvf bella_engine_sdk-24.6.0.tar.gz tar -xvf bella_engine_sdk-24.6.0.tar.gz
@ -100,12 +96,10 @@ cd cppzmq
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
<<<<<<< HEAD
g++ bellatui.cpp -o server -lzmq -Wl,-rpath,. g++ bellatui.cpp -o server -lzmq -Wl,-rpath,.
``` ```
=======
``` ```
### bellatui ### bellatui
@ -117,7 +111,11 @@ make
``` ```
# Windows # Windows
https://aka.ms/vs/17/release/vs_BuildTools.exe
[] Desktop development wiht C++
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
vcpkg install boost:x64-windows boost:x86-windows zeromq[sodium]:x64-windows zeromq[sodium]:x86-windows vcpkg install boost:x64-windows boost:x86-windows zeromq[sodium]:x64-windows zeromq[sodium]:x86-windows
x64 Developer console x64 Developer console
@ -180,7 +178,6 @@ make
``` ```
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,. g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,. g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
>>>>>>> 6760d2b (added msbuild file, detailed instructions to build on each platform, and arg support for port and address)
# Windows # Windows
``` ```
@ -193,9 +190,6 @@ cl /std:c++17 server.cpp -Fe:server.exe -Ic:\Users\cupcake\github\vcpkg\installe
clang++ -o bin/Darwin/client obj/Darwin/client.o -mmacosx-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation -framework Accelerate -fvisibility=hidden -O5 -rpath @executable_path -weak_library ./lib/libvulkan.dylib -L./lib -L../libzmq/build/lib -lbella_engine_sdk -lm -lzmq -ldl clang++ -o bin/Darwin/client obj/Darwin/client.o -mmacosx-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation -framework Accelerate -fvisibility=hidden -O5 -rpath @executable_path -weak_library ./lib/libvulkan.dylib -L./lib -L../libzmq/build/lib -lbella_engine_sdk -lm -lzmq -ldl
``` ```
<<<<<<< HEAD
=======
>>>>>>> 6760d2b (added msbuild file, detailed instructions to build on each platform, and arg support for port and address)

View File

@ -87,7 +87,7 @@ else
-fvisibility=hidden\ -fvisibility=hidden\
-D_FILE_OFFSET_BITS=64\ -D_FILE_OFFSET_BITS=64\
-O3\ -O3\
$(INCLUDEDIRS) $(INCLUDEDIRS)\
$(INCLUDEDIRS2)\ $(INCLUDEDIRS2)\
$(INCLUDEDIRS3)\ $(INCLUDEDIRS3)\
$(LIBDIRS2) $(LIBDIRS2)
@ -130,6 +130,7 @@ $(OUTPUT): $(OBJ)
$(CXX) -o $@ $^ $(LINKFLAGS) $(LIBDIRS) $(LIBDIRS2) $(LIBS) $(CXX) -o $@ $^ $(LINKFLAGS) $(LIBDIRS) $(LIBDIRS2) $(LIBS)
@cp $(LIBDIR)/$(SDKFNAME) $(BINDIR)/$(SDKFNAME) @cp $(LIBDIR)/$(SDKFNAME) $(BINDIR)/$(SDKFNAME)
@cp $(ZMQDIR)/$(ZMQNAME) $(BINDIR)/$(ZMQNAME) @cp $(ZMQDIR)/$(ZMQNAME) $(BINDIR)/$(ZMQNAME)
chmod 755 $(BINDIR)/$(ZMQNAME)
ifeq ($(UNAME), Linux) ifeq ($(UNAME), Linux)
@cp $(SODDIR)/$(SODNAME) $(BINDIR)/$(SODNAME) @cp $(SODDIR)/$(SODNAME) $(BINDIR)/$(SODNAME)
endif endif