Comments (6)
I dunno looks like it’s not supporting the std c++11 mutex header?
from wlanoptimizer.
Hmm, got more progress. I had to use:
sudo update-alternatives --config x86_64-w64-mingw32-g++
And set it to the posix version.
I also had to add these to the cpp:
#include <thread>
#include <condition_variable>
Now I get this:
$ x86_64-w64-mingw32-g++ --static wifibetter.cpp WLANOptimizer.cpp -o wifilagkill.exe -std=c++1y
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x1e9): undefined reference to `WlanQueryInterface'
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x27b): undefined reference to `WlanSetInterface'
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x2ee): undefined reference to `WlanQueryInterface'
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x389): undefined reference to `WlanOpenHandle'
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x3d6): undefined reference to `WlanEnumInterfaces'
/tmp/ccVaD8DZ.o:WLANOptimizer.cpp:(.text+0x4b2): undefined reference to `WlanFreeMemory'
collect2: error: ld returned 1 exit status
from wlanoptimizer.
from wlanoptimizer.
Probably an easier way to build for Windows is to download the latest Visual Studio 2017 software from here: https://www.visualstudio.com/downloads/
from wlanoptimizer.
Pushed a binary you can use to test it, and CMakeLists to build it yourself
from wlanoptimizer.
Thanks, I created a PR for MinGW support.
from wlanoptimizer.
Related Issues (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 wlanoptimizer.