These issues can be extremely difficult and time consuming to track down, only to discover in the end that it is a compiler setting he is changed the ABI of the class and/or function types of the program compared to those in the pre-compiled library.