ParameterValue.h & ComponentInfo.h not found in MWorks 0.45
Hi Chris,
I have managed to compile and run successfully a new plugin that
I had developed( derived from BasicTransformStimulus) on a system
that has a nightly built version of MWorks. However, when I tried
to use that plugin on another system that has normal version of
MWorks 0.45 (Not nightly build), the MWorks server crashed because
of mismatch between versions of MWorks.
I also tried to compile my plugin against MWorks 0.45 but there
were link errors: two header files,
“MworksCore/ParameterValue.h” & “
MWorksCore/ComponentInfo.h” could not be found.
The question is what I should do to build the plugin against MWorks
0.45?
Best,
Alireza
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Christopher Sta... on 19 Mar, 2012 03:51 PM
Hi Alireza,
Components that use the post-0.4.5 "no factory" approach (i.e. they implement
describeComponent
and take a singleParameterValueMap
argument to their constructor) are not compatible with MWorks 0.4.5 and earlier. If you want your new plugin to work with MWorks 0.4.5, you'll have to write it in the 0.4.5 style, which is still supported in the nightly build.Well, "still supported" except in the case of subclasses of BasicTransformStimulus, which provides only a new-style constructor in current nightlies. Since this has come up a few times now, I'm going to add the old-style constructor back to BasicTransformStimulus, which means that subclasses of BasicTransformStimulus can be written to work with both 0.4.5 and the nightly build. (If I had known that BasicTransformStimulus was used outside of the MWorks core, I wouldn't have removed it in the first place!)
Sorry for the confusion...
Chris
Support Staff 2 Posted by Christopher Sta... on 19 Mar, 2012 04:18 PM
This is done and will be in tonight's nightly build.
Chris
3 Posted by alemi on 21 Mar, 2012 06:01 PM
Thanks chris! It worked.
Just one question: Do have a roadmap to incorporate the new-style constructor into the official version of MWorks in the near future?
Alireza
Support Staff 4 Posted by Christopher Sta... on 22 Mar, 2012 05:23 PM
Hi Alireza,
The new-style component stuff will be included in the next official release of MWorks. I'm hoping that will go out sometime this spring, but we don't have a definite timetable yet.
Chris
Christopher Stawarz closed this discussion on 02 Apr, 2012 07:26 PM.