Chrollo icon indicating copy to clipboard operation
Chrollo copied to clipboard

How to build

Open EvaisaDev opened this issue 5 years ago • 6 comments

Is there any way for me to build this myself? What is trim.h, are there specific dependencies I need

EvaisaDev avatar Sep 20 '20 17:09 EvaisaDev

If not I'd like to request a x64 version of the chrollo DLL for the x64 version of gmod.

EvaisaDev avatar Sep 20 '20 17:09 EvaisaDev

I'm not really sure because Visual Studio is pretty clunky, basically all I did was put the src/ files into the project repo. You can copy them into your visual studio 2019+ project src/ directory for a dll app, then it should compile to a dll. In the future I'll make this work with CMake so this isn't necessary.

qubard avatar Oct 20 '20 06:10 qubard

Hi, I am also interested in building, but I'm just trying for the x86 Chromium version which has a different offset for the server name "client.dll+67BBC0" struggling to setup VS2019 to build. Thanks for any help ♥

KateLibby31337 avatar Nov 17 '20 15:11 KateLibby31337

Hrm, I tried your recommendation but it didn't make a difference. To be more specific, I am running the x86-64 chromium branch (the newer one) but launching the 32 bit version. Also still showing an offset of client.dll+67BBC0

(Since its in the client.dll not the executable I don't see how your trick would work)

image

Thanks ♥

KateLibby31337 avatar Nov 17 '20 15:11 KateLibby31337

I'm not entirely sure, I'm going to guess that your running the second item on the list here, while im running the 5th (its slightly newer I guess based on the comment) image

Either way I suppose I could switch to that version or just get better at c++ and VS2019 and learn something new ^_^

Thanks ♥

KateLibby31337 avatar Nov 17 '20 15:11 KateLibby31337

Well I got pretty darn close but I'm not sure what code was used for "trim.h" inside the replace.h since its not in the repository here.

Followed: https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=msvc-160 https://www.technipages.com/visual-studio-disable-precompiled-headers https://stackoverflow.com/questions/50668814/vs2017-e0135-namespace-std-has-no-member-filesystem

But gets stuck on

C1083 Cannot open include file: 'trim.h': No such file or directory \source\repos\Chrollo\src\replace.h

Thanks for any help ♥

KateLibby31337 avatar Nov 17 '20 16:11 KateLibby31337