While trying to build this the first time, I encountered following issue.
The CPP-SDK added LoadYtyp and UnloadYtyp3 days ago in the dev branch. This is also implemented here in the dev branch.
Unfortunately the CMakeLists.txt is targeting the master branch of the CPP-SDK, which results into build errors. When changing the branch manually to dev it's working fine. This is not a major issue but was kind of strange in the beginning.
There are now two options:
Just waiting until the changes from the CPP-SDK dev branch are merged to the master
Reference the dev branch inside of the CMakeLists.txt for the altv-client-js dev branch?
Something else that the branches of altv-client-js and the cpp-sdk matches
Build errors when trying to build without any changes:
D:\altv\altv-client-js\src\bindings\Main.cpp(551,2): error C2039: 'LoadYtyp': is not a member of 'alt::ICore' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\BUILD\_deps\altv-js-deps-src\cpp-sdk/ICore.h(44): message : see declaration of 'alt::ICore' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\src\bindings\Main.cpp(551,2): error C2660: 'v8::Boolean::New': function does not take 1 arguments [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\BUILD\_deps\altv-js-deps-src\include\v8.h(11359,25): message : see declaration of 'v8::Boolean::New' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\src\bindings\Main.cpp(561,2): error C2039: 'UnloadYtyp': is not a member of 'alt::ICore' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\BUILD\_deps\altv-js-deps-src\cpp-sdk/ICore.h(44): message : see declaration of 'alt::ICore' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\src\bindings\Main.cpp(561,2): error C2660: 'v8::Boolean::New': function does not take 1 arguments [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
D:\altv\altv-client-js\BUILD\_deps\altv-js-deps-src\include\v8.h(11359,25): message : see declaration of 'v8::Boolean::New' [D:\altv\altv-client-js\BUILD\altv-client-js-static.vcxproj]
While trying to build this the first time, I encountered following issue.
The CPP-SDK added
LoadYtyp
andUnloadYtyp
3 days ago in thedev
branch. This is also implemented here in thedev
branch.Unfortunately the
CMakeLists.txt
is targeting themaster
branch of the CPP-SDK, which results into build errors. When changing the branch manually todev
it's working fine. This is not a major issue but was kind of strange in the beginning.There are now two options:
dev
branch are merged to themaster
dev
branch inside of theCMakeLists.txt
for the altv-client-jsdev
branch?Build errors when trying to build without any changes: