Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More build instructions #3092

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

derivativeoflog7
Copy link
Contributor

More build instructions to build Sandboxie, and once I figure it out for Sandboxie-Plus too

I can't get to build for ARM64 on my machine though
image

@derivativeoflog7
Copy link
Contributor Author

So uhm... I restarted VS2019, without touching anything or changing any component... and now it just works???
image

@isaak654
Copy link
Collaborator

There is no public ARM64 build available for Sandboxie Classic, so any update to improve the build instructions on this front is welcome.

I also believe the huge number of warnings in Visual Studio should be faced somehow... is there any chance they could slow down the build time?

@derivativeoflog7
Copy link
Contributor Author

There is no public ARM64 build available for Sandboxie Classic, so any update to improve the build instructions on this front is welcome.

Some core components (like the driver) are contained in Sandbox.sln, so at least part of that has to be compiled anyway. I'd love to test the GUI of Sandboxie classic on ARM64, but I don't have a device with that... I'll check with emulators hoping it won't be slow as molasses

I also believe the huge number of warnings in Visual Studio should be faced somehow... is there any chance they could slow down the build time?

Likely not, warnings are mostly about code that could cause issues in some edge cases

@derivativeoflog7
Copy link
Contributor Author

I can't seem to find a way to target ARM64 on VS, is it not possible for now?

@DavidXanatos
Copy link
Member

which VS version are you using?
it shoudl be possible, if oyu are missing that option you need to start the setup and add the required components arm64 and arm64ec which may be still marked as experimental

@derivativeoflog7
Copy link
Contributor Author

which VS version are you using? it shoudl be possible, if oyu are missing that option you need to start the setup and add the required components arm64 and arm64ec which may be still marked as experimental

Forgot to say, I can't seem to target ARM64 on SandboxiePlus.sln
image

I can target (and compile for) ARM64 on Sandbox.sln
image

@derivativeoflog7
Copy link
Contributor Author

While we're here, how do you test on ARM64? Do you have a native machine or use an emulator? I'm trying to get Windows 11 ARM64 working with QEMU but it seems like I need to compile EDK II...

@DavidXanatos
Copy link
Member

I started with a RaspberyPi 4 and then moved to a ARM64 laptop IdeaPad 5g,
you can add additional targets using the configuration manager of the solution.

@derivativeoflog7
Copy link
Contributor Author

@isaak654 fair point, I think it even can be moved to the top as qmake_plus.bat doesn't use curl or 7z

Also, sorry for being absent these days, I need to study for an upcoming exam so I can't dedicate much time to other things

@derivativeoflog7
Copy link
Contributor Author

derivativeoflog7 commented Aug 3, 2023

@DavidXanatos wdyt about me adding an argument to qmake_plus.cmd to make it possible to change the Qt directory? It could even be optional defaulting to the current value as not to break current workflows, but would make it possible for people who don't have the same directory structure to compile without having to resort to symlinking to the Qt directory

@derivativeoflog7
Copy link
Contributor Author

So there seems to be an issue: I need to use the <arch> Native Tool Command Prompt for VS2019 to compile SBP for Win32/x64 (where arch is the respective target architecture), since the "normal" developer command prompt doesn't work... but that means that I can't test building for ARM64 on my machine
Let me know if this is normal

@derivativeoflog7
Copy link
Contributor Author

Also, I changed the target Qt version for ARM64 since 6.3.1 isn't available anymore with the online installer

@derivativeoflog7
Copy link
Contributor Author

well of course the check fails... the QT version is mismatched

@isaak654 isaak654 added the Confirmation Pending Further confirmation is requested label Aug 13, 2023
This was referenced Dec 27, 2023
@isaak654 isaak654 added Qt 6 Qt 6 framework Status: Stalled Work Progress stopped due to uncertainty and removed Confirmation Pending Further confirmation is requested labels Mar 10, 2024
@isaak654 isaak654 removed the Qt 6 Qt 6 framework label Apr 10, 2024
@offhub offhub added the Type: Build Build issues with Sandboxie label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stalled Work Progress stopped due to uncertainty Type: Build Build issues with Sandboxie
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants