I have built from source using the following guide: https://github.com/Nuand/bladeRF/wiki/G ... 3A-Windows
Then I created a new NIOS application and imported the nios bsp project and setup a debug target. This seems to work.

Then I included libbladeRF.h, in my main file and compiled. This needed some header files that I found in the bladeRF project which I included. Then it seems to look for a header file called intrim.h. After searching I found this file in my Quartus installation, so I included it from there. This file again needed mmintrin.h, which I found in several places, but I decided to include it from my Quartus installation. After that it at least seems to have all the files it needs, but I get a large number of errors from other header files included from mmintrin.h/intrim.h.
Am I way off on how to do this? Pretty new at setting these type of projects up.
Thanks!