Compiling C++ client in MacOS: Implicit instantiation of undefined template
Jun 19, 2013
I was trying to compile the C++ client of VoltDb in my Mac. The client works fine with gcc. But when used with Apple LLVM compiler or LLVM-GCC compiler, I get error in the libraries of VoltDb.
The lines where is get the Implicit instantiation of undefined template errors are:
Table.h boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
ClientConfig.h boost::shared_ptr<StatusListener> m_listener;
Client.h boost::shared_ptr<ClientImpl> m_impl;
Row.hpp boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
boost::shared_ptr<std::vector<voltdb::Column> > columns
TableIterator.h boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
boost::shared_ptr<std::vector<voltdb::Column> > columns
Can anyone please tell me where i need to make the modification in the compiler. I am using Xcode.
Also the compilers I have used are LLVMGCC4.2 and Apple LLVM Compiler 4.2.
Thanks
SK
The lines where is get the Implicit instantiation of undefined template errors are:
Table.h boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
ClientConfig.h boost::shared_ptr<StatusListener> m_listener;
Client.h boost::shared_ptr<ClientImpl> m_impl;
Row.hpp boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
boost::shared_ptr<std::vector<voltdb::Column> > columns
TableIterator.h boost::shared_ptr<std::vector<voltdb::Column> > m_columns;
boost::shared_ptr<std::vector<voltdb::Column> > columns
Can anyone please tell me where i need to make the modification in the compiler. I am using Xcode.
Also the compilers I have used are LLVMGCC4.2 and Apple LLVM Compiler 4.2.
Thanks
SK