Comments (3)
you can find all the info about compiling the software in the README.
The g++ compatibility is specified here:
Note regarding default g++ version on Ubuntu: by default, Ubuntu ships with g++ v7, which doesn't support natively c++17 features. To compile the program you have to install at least g++-8, set CXX variable when running make and add stdc++fs library dependence (make CXX=g++-8 LIBS=-lstdc++fs)
Alternatively, you can install g++-9 and avoid adding the library dependency.
I compiled it on windows with VC 2019 (there's a cmake file included that fully supports MSVC, you have to point it to your compiled libraries), although you should be able to compile it with mingw and cygwin too, after you install/compile the dependencies. As for your error, it's because cygwin is not a _WIN32
nor a __linux__
platform, and since you probably are using g++ then I guess it's just fine if you (don't do it)
#define __linux__
at the beginning of unlocker.cpp
from auto-unlocker.
My toolchain is set up to use mingw-64. The latest it version 7.4.0 it says:
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/lto-wrapper.exe
gcc states:
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/8.3.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
I think any newer versions would have to be manually compiled and installed. Too much work (!)
Someone else will eventually get around to adding version 9 to cygwin.
However, I'd much rather use VC 2019. So, I will go that route.
from auto-unlocker.
g++8 works, it only requires an additional linker dependency for filesystem library (-lstdc++fs). That's because fs was still experimental, although I tested it on ubuntu with both g++8 and g++9 and it works fine.
cygwin is another story. what I said earlier, i.e. to put a #define __linux__
in unlocker.cpp, is wrong and you should not do it because it will attempt to patch the linux files structure. you could try to go with #define _WIN32
but ultimately I suggest you to use mingw or even better visual studio.
from auto-unlocker.
Related Issues (20)
- Cant go higher than macOS 10.16? HOT 1
- ntoskrnl.exe on host leak/creep to 100% CPU and then host crash
- Does it support gpu acceleration ?
- Vmware 17 goes in bootloop after Ventura install in AMD CPU (AVX2 IS SUPPORTED!) HOT 12
- Is Mac OS 14 Beta also not supported by unlocker on AMD processors? HOT 1
- macOS 14 is released, please update the thing to add support for the final macOS 14 HOT 9
- macOS 14 stuck on booting HOT 2
- your computer restarted because of a problem press a key or wait a few seconds vmware HOT 1
- Build Instructions for Linux HOT 3
- ESXi 8 version of Auto Unlocker 2.0.1?
- Proxy
- ERROR installing macOS Sonoma in VMware Workstation 17 Pro HOT 2
- ERROR installing macOS Sonoma in VMware Workstation 17 Pro HOT 29
- Rename OS Type Label to "Apple macOS" HOT 1
- no build on Fedora 39 error libzip.so
- Why is my virtual machine running so slowly HOT 2
- Getting error while patching. HOT 3
- Allow consumer versions of macOS 10.5/10.6? HOT 2
- VMWare tools will not download HOT 4
- Impossible to continue the installation. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-unlocker.