You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed some unresolved external symbols when compiling the sample application of the libember_slim library. I use Visual Studio 2010. The sample program doesn't compile. The functions allocMemory freeMemory are not exported in the libember_slim.dll.. Is this a known issue.??
If i add the sources glow.c , glow.h, and emberinternal.c , emberinternal.h the program does compile, but crashes when executed.
I use the sources of the git repository and not the sources from the SDK. This, because in the SDK the file API.h is not present and all the functions are not exported when compiling the library. You get a DLL but this is empty.. (checked with dependency walker). Alse there is no import library (*.lib) generated which indicates there is nothing to export. Because of this i use the sources from the git repository which Does contain the api.h file.. and the functions are all exported. Don't know why this SDK doesn't have the exported functions...
The text was updated successfully, but these errors were encountered:
thanks for bringing this to our attention. It appears that both the sample provider as well as the sample consumer user internal functions imported from emberinternal.h that (naturally) aren't part of the exported interface. The culprits are the two macros newobj and newarr that are defined in terms of allocMemory, which in turn is defined as an internal declaration in the above mentioned header.
The ability to build libember_slim as a shared library is a rather recent addition that has not yet been fully tested.
We will attend to this, but for now I suggest using libember_slim as a static library, which should work as expected.
Hi all,
I observed some unresolved external symbols when compiling the sample application of the libember_slim library. I use Visual Studio 2010. The sample program doesn't compile. The functions allocMemory freeMemory are not exported in the libember_slim.dll.. Is this a known issue.??
If i add the sources glow.c , glow.h, and emberinternal.c , emberinternal.h the program does compile, but crashes when executed.
I use the sources of the git repository and not the sources from the SDK. This, because in the SDK the file API.h is not present and all the functions are not exported when compiling the library. You get a DLL but this is empty.. (checked with dependency walker). Alse there is no import library (*.lib) generated which indicates there is nothing to export. Because of this i use the sources from the git repository which Does contain the api.h file.. and the functions are all exported. Don't know why this SDK doesn't have the exported functions...
The text was updated successfully, but these errors were encountered: