I'm still in the early stages of setting up my development environment. So I've been playing around with different compiler / IDE / +cmake configurations both on Windows and Linux (ok, mainly on Windows

Today I saw this linker error for the first time:
module machine type 'x64' conflicts with target machine type 'X86'
So I'm curious, how do you all deal with 32 bit vs 64 bit dependencies? Can a .dll or .lib be built to work with both 32 bit and 64 bit executable?
I think that the answer is it's not possible, so is there a need to build both 32 bit and 64 bit versions for all libraries?