Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About to link InitialisationParams::Create()
04-02-2015, 09:05 AM
Post: #2
RE: About to link InitialisationParams::Create()
(04-02-2015 02:59 AM)okgwf Wrote:  All other functions can be linked,but the function InitialisationParams::Create() is undefined.

ohNet defaults to classes being hidden (private to ohNet). Using a shared library in a C++ app hasn't been very common; it sounds as if things have rotted slightly and InitialisationParams needs to have its visibility changed.

To fix your build can you either mark InitialisationParams as DllExportClass (see other examples in OhNet.h) and rebuild ohNet or change to linking it into your app's binary (link libohNetCore.a rather than

If you continue using ohNet as a shared library, please let us know about any other classes that also need to be visible to callers.
Find all posts by this user

Messages In This Thread
RE: About to link InitialisationParams::Create() - simonc - 04-02-2015 09:05 AM

Forum Jump: