OCCI C++ app undefined reference
问题 I started here but so much has changed I thought it best to start a new question, especially since I think the CMake issue in the that question is solved. Background I'm trying setup a basic shell of a project that involves connecting a C++ midtier to an Oracle 12c database. Environment 1. MinGW-64 (x86_64-4.9.1-release-win32-sjlj-rt_v3-rev2) 2. Windows 7 64-bit 3. CLion 2016.1.1 (so I'm using CMake 3.5.1) 4. All of the OCCI DLLs are in system32. 5. Both the libs and the dlls are in C:/Users