1. David Naval
  2. Valentina Database ADK
  3. 火, 9月 21 2021, 07:13 AM
  4.  メールで購読
Hi, I made a upgrade from Valentina ADK C++ from version 9 to version 11 to compile my application as Mac universal (x86_64 and arm64).

I just replaced the dylib's and update the serials in my application and I get a crash on call 'ValentinaInit'.

It's necessary any extra init?

Thanks in advanced.
添付ファイル
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Hi Sergey

In our case, we can't install inside Photoshop/Contents and the only solution is install a copy in /usr/local/lib/vcomponents_x64.....
Could more logical use @loader_path or @rpath in ValentinaInit if any ones needs Valentina in a DYLIB as a suggestion.
This is a bad new for us.

Thanks for the support.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Yes, installing to Photoshop/Contents is not an option.
Of course, we'll try to fix it ASAP.

Do you change rpath in some script or Xcode does it automatically?
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Yes, installing to Photoshop/Contents is not an option.
Of course, we'll try to fix it ASAP.

Do you change rpath in some script or Xcode does it automatically?


Thanks in advanced.
Sure, I'm sending our script.
添付ファイル
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello David,

A new version 11.4.6 with changes for this issue is available for download.
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Hi David,

Yes, in some sense it is fixed.
Currenlty, ValentinaInit tries to find libraries to perform some internal initialization in the following places:
1. Check APP/Contents/Frameworks/vcomponents_x64
2. Check APP/Contents/vcomponents_x64
3. Check APP/Contents/vresources and if it exists - try to find librabires from APP/Contents/
4. Check /usr/local/lib/vcomponents_x64

But APP in the case of Photoshop plugin is Photoshop.app itself, not a plugin. (The path is returned by CFBundleGetMainBundle)
In version 9.5 we added Check 1, APP was always used as a root for search.

We need to understand how it worked with the previous versions. Maybe you have some working build with version 9 so we can check it?


Hi Sergey,

I can't send a small sample of executable Photoshop plugin with ValentinaDB, but the idea is to use ValentinaDB in a plugin (at the end the plugin is a bundle).
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Hi David,

I see that serial starts as VR4SDK - this is Reports.
But you sending it to Valentina Init - this is VDB


Hi Ruslan.
I tried to contact with Lynn Fredricks by mail without answer about the order: 210917 00160084 (I want to renew Valentina DB ADK and I bought Valentina Reports ADK).
Could you help me?
Thanks in advanced.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi David,

Could you please try a new version (if you haven't done it yet)?
ValentinaInit doesn't need vcomponents at fixed paths, it uses already loaded libraries.
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Hi David,

Could you please try a new version (if you haven't done it yet)?
ValentinaInit doesn't need vcomponents at fixed paths, it uses already loaded libraries.


Hi Sergey, I will try. Thanks for your quick changes.
コメント
There are no comments made yet.
David Naval 承諾済みの回答
Hi Sergey,
Updated to Valentina ADK 11.4.6 and issues fixed!.
Thanks.
コメント
There are no comments made yet.
  • ページ :
  • 1
  • 2


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories