/home/tangm/ros_sandbox/versioned_latest/stacks/collision_environment/collision_space/include/kDOP16-sse.h:126:
error: ‘__declspec’ was not declared in this scope
__declspec is a Visual Studio extension to C++, so it won't work in gcc. Where did you get kDOP16-sse.h from?