Generated SimpleFilter plugin crashed

Typically: "How do I... ", "How can I... " questions
ferdianap
Posts: 11
Joined: 08 Nov 2013, 06:24

Re: Generated SimpleFilter plugin crashed

Post by ferdianap »

I'm not really sure what is external Qt frameworks exactly in the following message I got after running running macdeployqt vrep.app in terminal:
WARNING:
WARNING: Could not find any external Qt frameworks to deploy in "vrep.app"
WARNING: Perhaps macdeployqt was already used on "vrep.app" ?
WARNING: If so, you will need to rebuild "vrep.app" before trying again.
WARNING:
WARNING: "vrep.app/Contents/Resources/qt.conf" already exists, will not overwrite.
WARNING: To make sure the plugins are loaded from the correct location,
WARNING: please make sure qt.conf contains the following lines:
WARNING: [Paths]
WARNING: Plugins = PlugIns

I checked the qt.conf already contains those lines.
So now I'm confused. Do I have to rebuild vrep.app with the new plugins?

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Generated SimpleFilter plugin crashed

Post by coppelia »

No, that is normal that it generates error messages: macdeployqt was already called on most files of this bundle. But normally it should still have adjusted the new library (even whith the error messages).

ferdianap
Posts: 11
Joined: 08 Nov 2013, 06:24

Re: Generated SimpleFilter plugin crashed

Post by ferdianap »

From the log using verbose option, I think I understand what you mean, but isn't that the Qt plugins for the V-REP framework itself that get adjusted, such as the image formats, etc(located in vrep.app/PlugIns, not the one located in vrep.app/MacOS)?
I tried to put the new library in the PlugIns folder, and inside the MacOS folder but still no good.

>> macdeployqt vrep.app -verbose=3
Log: Using otool:
Log: inspecting "vrep.app/Contents/MacOS/vrep"
WARNING:
WARNING: Could not find any external Qt frameworks to deploy in "vrep.app"
WARNING: Perhaps macdeployqt was already used on "vrep.app" ?
WARNING: If so, you will need to rebuild "vrep.app" before trying again.
Log:
Log: Deploying plugins from "/Developer/Applications/Qt/plugins"
WARNING:
WARNING: "vrep.app/Contents/Resources/qt.conf" already exists, will not overwrite.
WARNING: To make sure the plugins are loaded from the correct location,
WARNING: please make sure qt.conf contains the following lines:
WARNING: [Paths]
WARNING: Plugins = PlugIns

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Generated SimpleFilter plugin crashed

Post by coppelia »

That's right. But at the same time your plugin also depends on Qt, and needs to be adjusted appropriately.

Following worked here:
  • Take a fresh copy of V-REP
  • paste the newly compiled plugin inside of vrep.app/Contents/MacOS/
  • from the command line. call macdeployqt vrep.app. This will generate errors.
  • now it should be operational. At least that procedure worked here.
Cheers

Post Reply