1) Defining GRT_STATIC_LIB appropriately in CMakeLists.txt
2) Defining GRT_API appropriately in GRTTypedefs.h
3) Defining GRT_DLL_EXPORTS in source files before including any header files
4) Adding GRT_API to class definitions (and, in the case of VectorFloat, to all method definitions, in order to avoid a multiply-defined-symbol error in the VectorFloatTest application).
This involved:
1) Defining GRT_STATIC_LIB appropriately in CMakeLists.txt 2) Defining GRT_API appropriately in GRTTypedefs.h 3) Defining GRT_DLL_EXPORTS in source files before including any header files 4) Adding GRT_API to class definitions (and, in the case of VectorFloat, to all method definitions, in order to avoid a multiply-defined-symbol error in the VectorFloatTest application).