2

I am building a Desktop App for Windows and Mac. I am working on a Mac, with Delphi Rad Studio XE6 installed on my Parallel Windows 7. When Im running in Win32 everything runs ok, when I try to run in OSX, my PAServer 14.0 says

dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/administrator/PAServer/scratch-dir/PC-Dionis/Project1.app/Contents/MacOS/Project1
  Reason: image not found

I read as much as possible in SO, I tried to manually copy the libcgunwind.1.0.dylib file into my scratch-dir, but as soon as I run the project, PAServer show the above message and the libcgunwind.1.0.dylib is deleted from the scratch-dir. I tried also launching it from the terminal, but it was the same. I read I can launch the paserver.command file,but I can't find it anywhere. Please some help!!

TIA

Sir Rufo
  • 18,395
  • 2
  • 39
  • 73
Dionis
  • 73
  • 7
  • Did you follow the steps for deployment as described in the [documentation](http://docwiki.embarcadero.com/RADStudio/XE6/en/Deploying_Multi-Device_Applications), particularly the part about deploying an app on the Mac OS X platform? – Ken White Oct 09 '14 at 19:34
  • Did you install PAServer both in Windows and on the Mac and register everything in the IDE? The built-in help describes extensively how to do that. – Rudy Velthuis Oct 10 '14 at 09:05
  • Thanks @KenWhite! I followed them carefully and finally managed to run it on MAC OS X. I added as files there the dylib library and the .exe files I call using terminal. But I have another problem now. When I run it from delphi the terminal commands does not work properly. In the begging it said permission denied. I fixed that by using chmod 777. Than when I try to create a .txt file it says "Segmentation fault: 11"! And the command that tries to convert a image does not work at all. Anyway both of them work perfectly when i write them in terminal, without using delphi. – Dionis Oct 10 '14 at 10:39
  • this are the lines I wrote to call this two terminal commands:_system(PAnsiChar(AnsiString('./dcmj2pnm '+ pathdcm + ' ' + pathbmp + ' +oj') )); _system(PAnsiChar(AnsiString('./dcmdump '+ pathdcm +' > '+pathtxt) )) ; – Dionis Oct 10 '14 at 10:43
  • "I have another problem now" means you need to start a new question and ask it there, not in the comments here. – Ken White Oct 10 '14 at 12:27
  • 1
    thanks @KenWhite, I am a new member here – Dionis Oct 13 '14 at 07:52
  • PAServer is way too buggy to be used at this stage. Embarcadero may fix it in Delphi XE8 but they will charge us again if we want to use it. – Gabriel Mar 02 '15 at 18:16

1 Answers1

1

PAServer is not stable at this stage. There are MANY reports about this:

PAServer can't load dyld: Library
Delphi XE5 PAServer Unauthorized user
How can i debug my DLL project with Delphi's PAServer
Delphi XE4 iOS can't connect to PAServer
https://stackoverflow.com/questions/28115855/paserver-crashes-on-win64
Delphi Mac OS X

Solution: wait until they release something stable. (You will have to pay again, of course)

Community
  • 1
  • 1
Gabriel
  • 20,797
  • 27
  • 159
  • 293
  • 1
    Thanks for your answer @Altar. I am no longer working on this project, the above problem I managed to solve by building from scratch the libraries needed for deploying an app on Max OS X. – Dionis Mar 10 '15 at 07:54