norlab-ulaval / libnabo

A fast K Nearest Neighbor library for low-dimensional spaces

Home Page:http://norlab-ulaval.github.io/libnabo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot #include "nabo/nabo.h" after <winsock2.h>

haoala opened this issue · comments

For some reason, if I put the line
#include "nabo/nabo.h"
after
#include <winsock2.h>
or any other header files which, at some point, include winsock2.h, the compiler gives me a whole bunch of weird errors in nabo.h. Making sure #include "nabo/nabo.h" comes before any such files fixes the problem, but I thought I should bring up this strange bug.