Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Pages: 1
I successful rebuilded OpenNiSOC.DLL with visual studio 2010(I have not modified any code),and replace the original OpenNiSOC.DLL,but openspace3d have some errors when the openspace3d opened. The following error:
> Error : PlugIT kinect device in file :tools/os3dplugins/input/kinectdevice/ckinectdevice.pkg
File : C:\Program Files (x86)\Scol Voyager\Partition_LockedApp\tools\os3dplugins\input\kinectdevice\ckinectdevice.pkg
(!) Line #257:
??_SETKinectDeviceSkeletonSmoothing kinstr.KIN_Device kinstr.KIN_fSmooth;
link error
'_SETKinectDeviceSkeletonSmoothing' unknown
> Error : PlugIT kinect user in file :tools/os3dplugins/input/kinectuser/ckinectuser.pkg
File : C:\Program Files (x86)\Scol Voyager\Partition_LockedApp\tools\os3dplugins\input\kinectuser\ckinectuser.pkg
(!) Line #104:
let ??_GETKinectUserJointOrientation kuserstr.KINU_User joint fConfidence -> jquat in
link error
'_GETKinectUserJointOrientation' unknown
Offline
Hi and welcome
Your dll is not loaded. Verify in the log file.
The current Scol source (http://redmine.scolring.org) is a new version to load a dll, no compatible with the old kernel.
( Try ScolLoadPlugin and ScolUnloadPlugin functions )
Offline
TKS,Iri and Arkeon !
Arkeon ,i can not quite understand what you said above. How to load the OpenNiSOC.DLL which i have changed and rebuilded sucessfully into OpenSpace3D?
In addition, when i want to add a new plugin ,i need modify the code or add two PKG, one XML file, and modify usm.ini?
Offline
The old loader was perfected.
The current Scol release use the old system yet.
The current plugins source use a new loader (they are not in the current release, ok, this is a development version).
Currently, to add a Scol plugin, it's easy. You must add a line to the usm.ini file. That's all.
Offline
haa right Iri I forgot this change ^^
about what I said before, i made some change in openNIdll, yes it compile and work for basic things buts last works like angle and dist detection are not finished yet
to have the curent dev version working,
copy all the scol_sdk/release directory in place of your scol/ and directories from scol_applications/scolvoyager and scol_applications/openspace3d in lockedApp partition (in the good directories)
remove all load and free functions name in the usm.ini for each dll
and it should start ^^
Offline
@Arkeon
About plugins, try to load like this :
/* Hard load and unload the library */
#if defined _WIN32 || defined __WIN32__
#define SCOL_LIBXML2_PLUGIN_EXPORT __declspec (dllexport)
#define SCOL_LIBXML2_PLUGIN_EXPORT_ARG (mmachine m, cbmachine w)
#elif defined linux || defined __linux
#define SCOL_LIBXML2_PLUGIN_EXPORT
#define SCOL_LIBXML2_PLUGIN_EXPORT_ARG (mmachine m)
#else
/* to define others OS if needed */
#error no platform supported
#endif
SCOL_LIBXML2_PLUGIN_EXPORT int ScolLoadPlugin SCOL_LIBXML2_PLUGIN_EXPORT_ARG
{
ww = w;
mm = m;
SCOLinitplugin (w);
return SCOLinitLIBXML2class (m);
}
SCOL_LIBXML2_PLUGIN_EXPORT int ScolUnloadPlugin()
{
xmlCleanupParser ();
xmlMemoryDump ();
MMechostr (MSKDEBUG, "LIBXML2 library : released\n");
return 0;
}
Compatible Windows and Linux (and MacOS in the future)
If c++, add an
extern "C"
Offline
Pages: 1