It doesn't look like a VS issue since you've started the setup.py script that calls the command line compiler. So I'd expect it behaves not different from other command line tools and you might have to add the boost path directly to the command-line options.