While adding compiled from source glew libraries in VS 2017, I encountered:
LNK4272 library machine type 'x64' conflicts with target machine type 'x86'
Here, Point 2. was really helpful !
Powerful and simple online compiler, IDE, interpreter, and REPL. Code, compile, and run code in 30+ programming languages. including JavaScript, Python, Ruby, Java, Node.js, Go, Clojure, Scheme, C, C#, C++, Lua and many more.