ParameterValue.h & ComponentInfo.h not found in MWorks 0.45

alemi's Avatar

alemi

19 Mar, 2012 02:10 PM

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

  1. Support Staff 1 Posted by Christopher Sta... on 19 Mar, 2012 03:51 PM

    Christopher Stawarz's Avatar

    Hi Alireza,

    Components that use the post-0.4.5 "no factory" approach (i.e. they implement describeComponent and take a single ParameterValueMap 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

  2. Support Staff 2 Posted by Christopher Sta... on 19 Mar, 2012 04:18 PM

    Christopher Stawarz's Avatar

    I'm going to add the old-style constructor back to BasicTransformStimulus

    This is done and will be in tonight's nightly build.

    Chris

  3. 3 Posted by alemi on 21 Mar, 2012 06:01 PM

    alemi's Avatar

    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

  4. Support Staff 4 Posted by Christopher Sta... on 22 Mar, 2012 05:23 PM

    Christopher Stawarz's Avatar

    Hi Alireza,

    Do have a roadmap to incorporate the new-style constructor into the official version of MWorks in the near future?

    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

  5. Christopher Stawarz closed this discussion on 02 Apr, 2012 07:26 PM.

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

Recent Discussions

17 May, 2022 02:12 PM
16 May, 2022 03:12 PM
04 May, 2022 06:02 PM
03 May, 2022 01:30 PM
02 May, 2022 10:47 PM