NST\autoneogrub0.mbr missing - grub

I have an HP Envy Laptop with Windows 8.1 installed. I have disabled EUFI from the boot menu so that I could boot from a flash drive in order to install LUbuntu.
I have installed LUbuntu on a 3 separate partitions (the main big one, swap-file and bios root).
I have then used EasyBSD to add LUbuntu to the boot menu.
However, when I try to boot to Lubuntu from the boot menu, I get a message saying that
\NS\autoneogrub0.mb
is missing.
What is going wrong?
Looking in more detail, my EasyBCD DisplayMode Overview shows:
There are a total of 8 entries listed in the bootloader.
Default: Not set
Timeout: 30 seconds
EasyBCD Boot Device: D:\
Entry #1
Name: Internal Hard Disk or Solid State Disk
BCD ID: {8fc567c6-d7b0-11e4-9454-c3522382cf45}
Device: Unknown
Bootloader Path:
Entry #2
Name: USB Drive (UEFI)
BCD ID: {8fc567c2-d7b0-11e4-9454-c3522382cf45}
Device: Unknown
Bootloader Path:
Entry #3
Name: Internal CD/DVD ROM Drive (UEFI)
BCD ID: {8fc567c3-d7b0-11e4-9454-c3522382cf45}
Device: Unknown
Bootloader Path:
Entry #4
Name: Windows 8.1
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.efi
Entry #5
Name: Lubuntu
BCD ID: {eabbb4d1-d76f-11e4-825c-40e2303afcfa}
Drive: D:\
Bootloader Path: \NST\AutoNeoGrub0.mbr
The setting believes that LUbuntu is on drive D. But it is not on Drive D. It is on Partitions 6 (big), 7 (swap) and 8 (bios root)

EasyBCD is not great when it comes to UEFI Systems. Read:
https://neosmart.net/forums/threads/easybcd-is-deadly-dangerous-on-uefi-systems.9342/
Did you make a boot configuration restore point ?
If you did, refer: https://askubuntu.com/questions/230878/dual-boot-windows-8-and-ubuntu-with-windows-8-boot-manager

Related

Powerpc systemsim-p8 does not boot debian 64 in ubuntu 64 16.04 LTS

I am trying to boot a debian ppc power8 ( or 7 ) in a simulation.
I followed the instructions in [1].
The only thing I manage to boot is an ram drive ( initrd ) with mambo kernel, but it is a closed source. I can't do much with it.
So , now I try to boot a mambo kernel ( with a bigus disk support ) from [2] with the debian image disk from [1].
The kernel manages to mount the drive, but i do not reach a login as depiced in [3].
[1] https://www14.software.ibm.com/webapp/set2/sas/f/pwrfs/pwrfsinstall.html.
[2] https://github.com/rpsene/linux.git
[3]
9415446: (688292884): [^[[32m OK ^[[0m] Reached target Local File Systems.
729612844: (688490282): Starting LSB: Raise network interfaces....
730353740: (689231178): Starting Trigger Flushing of Journal to Persistent Storage...
731308417: (690185857): Starting Create Volatile Files and Directories...
736470477: (695348428): udev-finish (1378) used greatest stack depth: 10752 bytes left
753931943: (712810985): [^[[32m OK ^[[0m] Started Copy rules generated while the root was ro.
765419589: (724298838): [^[[32m OK ^[[0m] Started Trigger Flushing of Journal to Persistent Storage.
804041342: (762920770): [^[[32m OK ^[[0m] Started Create Volatile Files and Directories.
804330683: (763210111): Starting Update UTMP about System Reboot/Shutdown...
815762188: (774642735): [^[[32m OK ^[[0m] Started Update UTMP about System Reboot/Shutdown.
817676182: (776556815): systemd-journald[1213]: Received request to flush runtime journal from PID 1
1076627432: (1035512412): [^[[32m OK ^[[0m] Started udev Coldplug all Devices.
Did you try this one https://github.com/open-power-sdk/power-simulator? This is the version I have uploaded last year. (bug report are welcome).
Also, you can get free Power VMs at https://minicloud.parqtec.unicamp.br/minicloud/
I have got the simulator up and running:
https://pastebin.com/ibGPeEFu
cloudusr#mambo:~$ ssh root#172.19.98.109
The authenticity of host '172.19.98.109 (172.19.98.109)' can't be established.
ECDSA key fingerprint is SHA256:x4/jPYq6SggOeSPOlQaxJlucih6elJLqog+i4P/euxY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.19.98.109' (ECDSA) to the list of known hosts.
root#172.19.98.109's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root#debianle:~# cat /proc/cpuinfo
processor : 0
cpu : POWER9 (raw), altivec supported
clock : 2000.000000MHz
revision : 2.0 (pvr 004e 0200)
timebase : 512000000
platform : PowerNV
model : Mambo,Simulated-System
machine : PowerNV Mambo,Simulated-System
firmware : OPAL
I've booted systemsim a bunch of times with ubuntu userspace. Do you have a copy of the disk image somewhere I can try? Is the sim userspace LE or BE?

Trouble installing custom inf in Windows 10 Professional. Windows overrides it with OEM driver

I have made a signed USB Serial inf file for a custom device and created an installer that successfully installs the driver to Windows 7 (32/64), Windows 8.1 (64) but not Windows 10. This applies to the default installation (right-click, install) directly on the file, using Device Manager and using PNPUTIL. The device driver successfully installs but the OEM usbser driver is used instead. After clicking "Update Driver" and selecting my driver in Device Manager, Windows prompts me with "The best driver software is already installed for your device". If I use Device Manager and choose "Have Disk" I can successfully get around the issue with Windows 10 enforcing their own driver. This doesn't get me any closer to having a successful inf file and installer though.
My process for default installation:
Unplug the device from the USB port
Load a snap shot of freshly-installed Windows 10 Professional
Right click, install on the .inf file
Plug in the device
Look at Device Manager and see that the standard USB Serial Device driver made by Microsoft is used instead of my driver
If I then uninstall it and repeat steps 3-5 it sometimes allows my custom driver to stick.
I've been told that my driver installs on Windows 10 Enterprise, which confuses matters further.
Question: What am I doing wrong?
My inf file:
;************************************************************
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation
; Version v1.1, updated 17 April 2013
[Strings]
DriverPackageDisplayName="Rinstrum USB Serial Drivers"
ManufacturerName="Rinstrum"
ServiceName="USB RS-232 Emulation Driver"
linux.gserial="Rinstrum USB Gadget Serial"
MFGNAME="Rinstrum"
[DefaultInstall]
CopyINF=c500.inf
[Version]
DriverVer=03/02/2017,1.0.0.0
Signature=$Windows NT$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%
CatalogFile=c500.cat
DriverPackageDisplayName=%DriverPackageDisplayName%
PnpLockdown=1
[Manufacturer]
%MFGNAME%=Models,NTx86,NTamd64,NTarm
[DestinationDirs]
DefaultDestDir=12
FakeModemCopyFileSection=12
[Models.NTx86]
%linux.gserial%=DriverInstall, USB\VID_1FC9&PID_816A, USB\VID_1FC9&PID_816A&MI_00
[Models.NTamd64]
%linux.gserial%=DriverInstall, USB\VID_1FC9&PID_816A, USB\VID_1FC9&PID_816A&MI_00
[Models.NTarm]
%linux.gserial%=DriverInstall, USB\VID_1FC9&PID_816A, USB\VID_1FC9&PID_816A&MI_00
[DriverInstall]
Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverAddReg
[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.Services]
Include=mdmcpq.inf
AddService=usbser,0x2,DriverService
[DriverService]
DisplayName=%ServiceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys
LoadOrderGroup=Base
Update: additional info from setupapi.dev.log
>>> [Device Install (DiInstallDriver) - C:\Users\R&D\Desktop\c500.inf]
>>> Section start 2017/02/03 17:17:58.321
cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\Users\R&D\Desktop\c500.inf"
ndv: Flags: 0x00000000
ndv: INF path: C:\Users\R&D\Desktop\c500.inf
inf: {SetupCopyOEMInf: C:\Users\R&D\Desktop\c500.inf} 17:17:58.337
inf: Copy style: 0x00000000 !
inf: Driver package is already in driver store
inf: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\c500.inf_amd64_4fee793fb11027ac\c500.inf inf: Published Inf Path: C:\Windows\INF\oem4.inf
inf: {SetupCopyOEMInf exit (0x00000000)} 17:17:58.368
<<< Section end 2017/02/03 17:17:58.399
<<< [Exit status: SUCCESS]
Update:
setupapi.dev.log gives the following error when trying to install the device
sig: Success: File is signed in Authenticode(tm) catalog.
sig: Error 0xe0000242: The publisher of an Authenticode(tm) signed catalog has not yet been established as trusted.
Update:
The VBox guest additions installer manages to install my inf file in WIN10. Here is the source:
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp#L433
Windows needs to be activated before the user is granted the permission to override the OEM drivers in Windows 10. Activating windows on my test machine solved this issue.
Try setting your DriverVer directive correctly, with today's date and 1.0.0.0. The date is one thing that Windows looks at when deciding what driver to use.

Install grub on a disk drive by UUID

There is a way to indicate to grub to install on a device MBR by UUID instead of using /dev/sdX ? I'm setting a external eSATA hard disk with NixOS, and obviusly, the hard disk not would be always the same /dev/sdX device ?
I see that I can config it with boot.loader.grub.device = "/dev/sdX", but could set it to something like "/dev/disk/by-uuid/...." ??
currently there is no support for what you want in nixos.
see the respective source code here:
https://github.com/NixOS/nixpkgs/blob/release-15.09/nixos/modules/system/boot/loader/grub/grub.nix
however, you should be able to use:
boot.loader.grub.device = "/dev/mydisk"
but you will need a udev-ruleset like this:
services.udev.extraRules = ''
#Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", MODE="666", SYMLINK+="ttyUSB-odroid-u3-1"
#Bus 003 Device 055: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="666", SYMLINK+="ttyUSB-odroid-u3-2"
# Bus 003 Device 057: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0268", SUBSYSTEMS=="usb", ACTION=="add", MODE="0660", GROUP="users"
'';
but for your external harddrive of course. just by using the symlink feature.

Trying to compile an .m file with DeployTool on MAC OSX

I saw there are several discussions on the subject but none of them managed to help me solve mine.
I am trying to compile my Matlab proj. without much success.
I saw this video and pretty much followed it guidances: -> I used 'deploytool'.
When I tried to build the project, I got the below plot. The line has been showed a lot:
2013-03-10 14:29:21.014 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Some discussions stated I need to do write "sudu matlab" somewhere but I do not know where...
Compilation plot:
ant:
mcc -o Untitled1 -W main:Untitled1 -T link:exe -d /Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v /Users/Nimrod/Documents/MATLAB/Temp/temp.m
2013-03-10 14:29:17.073 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:29:17.075 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:29:41.167 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Compiler version: 4.18 (R2012b)
Processing /Applications/MATLAB_R2012b.app/toolbox/matlab/mcc.enc
Processing /Applications/MATLAB_R2012b.app/toolbox/shared/spcuilib/mcc.enc
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file /Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
0 item(s) added.
Generating MATLAB path for the compil ed application...
Created 39 path items.
Begin validation of MEX files: Sun Mar 10 14:30:16 2013
End validation of MEX files: Sun Mar 10 14:30:16 2013
2013-03-10 14:30:16.783 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:30:39.015 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Warning: Adding path "/Users/Nimrod/Documents/MATLAB/Temp" to Compiler path
instance.
Parsing file "/Users/Nimrod/Documents/MATLAB/Temp/temp.m"
    (Referenced from: "Compiler Command Line").
Parsing file "/Applications/MATLAB_R2012b.app/toolbox/compiler/deploy/deployprint.m"
    (Referenced from: "Compiler Command Line").
Parsing file "/Applications/MATLAB_R2012b.app/toolbox/compiler/deploy/printdlg.m"
    (Referenced from: "Compiler Command Line").
Deleting 0 temporary MEX authorization files.
Generating file "/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/readme.txt".
Generating file "/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/run_Untitled1.sh".
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/Untitled1.app' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/Untitled1.app'
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/run_Untitled1.sh' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/run_Untitled1.sh'
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/readme.txt' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/readme.txt'
When trying to run the app file I get the following crash:
Process: prelaunch [39864]
Path: /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
Identifier: Untitled1
Version: 1
Code Type: X86-64 (Native)
Parent Process: launchd [134]
User ID: 501
Date/Time: 2013-03-10 14:37:28.848 +0200
OS Version: Mac OS X 10.8.2 (12C2034)
Report Version: 10
Interval Since Last Report: 9226 sec
Crashes Since Last Report: 5
Per-App Crashes Since Last Report: 5
Anonymous UUID: 6DB02735-2968-B918-129B-82542E2D0F24
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: #rpath/libmwcpp11compat.dylib
Referenced from: /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
Reason: image not found
Binary Images:
0x100000000 - 0x100000ff7 +Untitled1 (1) /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
0x7fff6205c000 - 0x7fff6209093f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
Model: MacBookPro9,1, BootROM MBP91.00D3.B08, 4 processors, Intel Core i7, 2.6 GHz, 8 GB, SMC 2.1f173
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.14)
Bluetooth: Version 4.1.2f9 11046, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt#62,0,0
PCI Card: Apple 57761-B0, sppci_ethernet, Thunderbolt#61,0,0
PCI Card: pci12d8,400e, sppci_usbopenhost, Thunderbolt#60,0,0
PCI Card: pci12d8,400e, sppci_usbopenhost, Thunderbolt#60,0,1
PCI Card: pci12d8,400f, USB Enhanced Host Controller, Thunderbolt#60,0,2
Serial ATA Device: APPLE HDD HTS547575A9E384, 750.16 GB
Serial ATA Device: HL-DT-ST DVDRW GS31N
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 6
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 7
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0253, 0x1d183000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 4
USB Device: hub_device, apple_vendor_id, 0x9127, 0x40100000 / 2
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x40130000 / 6
USB Device: Apple Keyboard, apple_vendor_id, 0x0250, 0x40132000 / 7
USB Device: Display Audio, apple_vendor_id, 0x1107, 0x40140000 / 5
USB Device: FaceTime HD Camera (Display), apple_vendor_id, 0x1112, 0x40150000 / 4
USB Device: Apple Thunderbolt Display, apple_vendor_id, 0x9227, 0x40170000 / 3

Delphi XE2 Firemonkey sample app not running on a MAC

I am trying to run a sample Firemonkey app on a Mac, but I am getting this message in the mac:
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
I used this tutorial to add a OSX platform:
New Mac and Rad Studio XE2
EDIT
More info about the error:
Process: Teste2 [34270]
Path: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Identifier: Teste2
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [94]
Date/Time: 2011-09-01 19:36:26.246 +0100
OS Version: Mac OS X 10.6.8 (10K540)
Report Version: 6
Interval Since Last Report: 3908 sec
Crashes Since Last Report: 4
Per-App Crashes Since Last Report: 4
Anonymous UUID: 58C242CA-C324-4A23-86ED-96D93C7C1A84
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Reason: image not found
Binary Images:
0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
Model: VMware Virtual Platform, BootROM 6.00, 1 processor, 30 GHz, 1 GB, SMC 1.30f3
Graphics: VMware SVGA II, VMware SVGA II, PCI, 16 MB
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: VMware Virtual IDE CDROM Drive
SCSI Device: SCSI Target Device # 0
USB Device: VMware Virtual USB Hub, 0x0e0f (VMWare, Inc.), 0x0002, 0x00200000 / 3
USB Device: VMware Virtual USB Keyboard, 0x05ac (Apple Inc.), 0x020b, 0x00210000 / 4
USB Device: VMware Virtual USB Mouse, 0x0e0f (VMWare, Inc.), 0x0003, 0x00100000 / 2
EDIT
Some screenshots:
I just installed the Delphi XE2 Trial and I'm getting the same issue - unable to start a FireMonkey application on Mac OS X because of the missing libcgunwind.1.0.dylib.
However, I believe I know what the problem is. This file should be inside the ($BDS)\Redist\osx32 folder ready to be deployed with your Delphi OSX application. But, if you only installed the Delphi XE2 product instead of the complete RAD Studio XE2, these redistributable files will be missing, e.g. not installed at all.
Wherever this specific file is mentioned in the documents, it's in relation to C++Builder. So if this really is the issue, it's probably a (not so small) oversight on Embarcadero side.
To answer your question - I believe if you install the C++Builder XE2 trial, or the whole RAD Studio XE2 package, you should get these redistributable files.
If you go to the directory where PAServer was installed on you Mac, you should see that libcgunwind.1.0.dylib is present there.
The installer tries to help by creating a paserver.command file. If you launch using this, it should set your library path correctly so the above file is found.
If you've moved your PAServer location, just manually update the paserver.command file with the appropriate paths and run.
Runtime error 231 at 000169AD
this is a problem under VMWare, see
https://forums.embarcadero.com/message.jspa?messageID=393962
Workaround is copy FMX.Filter.pas to your project directory and modify:
function FilterByName(const AName: string): TFilter;
var
i: Integer;
begin
Result := nil;
if Filters = nil then
Exit;
if GlobalUseHWEffects then
begin
for i := 0 to Filters.Count - 1 do
if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
then
begin
Result := TFilterClass(Filters.Objects[i]).Create;
Exit;
end;
end;
end;
function FilterClassByName(const AName: string): TFilterClass;
var
i: Integer;
begin
Result := nil;
if Filters = nil then
Exit;
if GlobalUseHWEffects then
begin
for i := 0 to Filters.Count - 1 do
if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
then
begin
Result := TFilterClass(Filters.Objects[i]);
Exit;
end;
end;
end;
and in dpr set GlobalUseHWEffects := False;
This is because VMWare and emulating graphics hardware
You have to install the PA Server here follow these instructions
Installing and Running the PA on Mac OS X
Embarcadero's instructions on starting the remote server seem to be incorrect. Use the paserver.copmmand file to start the server. Then my project ran fine.
Then Deploying. Change the build configuration to Release instead of Debug. You have to copy the libcgunwind.1.0.dylib to the Redist\osx32 directory or the release will fail. Then tried build/release again. The "project".rsm file is in the debug directory and not in the release directory. I copied the .rsm file to the release directory, Deployed and it worked. This was the case with my own demo project and the controlsDemo project. Either one worked the same way.
A bit rough start but everything is working. Don't know why they put a menubar on the controls demo since it is not very mac-like. Change it to a main menu and everything works great.
Bill
I have solved this for me. I was clicking the green run button in the ide which is 'run without debugging'.
Click the run button next to it, which in XE2 is the run button us older people are used to.
If think you need to open a cmd window and do the following command to populate the Redist folder, after that the the Deployment Manager will locate the necessary files:
C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\Redist> redistsetup default
Deployment Manager has a "Reconcile" button to refresh the list.
console "Hello, World"
release - works fine (Hello, World) appears in Platform Assistant
terminal window
debug - same as release
empty 2D Form
release - Runtime error 231 at 000169AD
debug - seems to run (bouncing Spartan Helmet icon in dock) but
the form never appears
empty 3D Form
release - Platform Assistant terminal window shows "invalid pixel
format" and "invalid context" messages but form appears and menu bar
has "Project1" in it
debug - same as release
These errors mean that you run your application under MacOS that was installed on Virtual Machine. Installation of MacOS on VM conflicts with license, and therefore Embarcadero does not plan to support the VM environment.
Just click paserver.command instead of just paserver..
It works!
U can even add -password=(your password) , at the end of the last line inside paserver.command (after the last " . then it starts without asking for password.
Make sure there is a space after the path to the paserver in your paserver. Command before the -password part. For instance, my password is firemonkey and the line is as follows:
"/Users/firemonkey/Applications/Embarcadero/PAServer/paserver" -password=firemonkey
Then, make sure you run the paserver from the paserver.command file.
Check the new "Redist" folder in the RAD Studio installation path. Your application needs some files from it.
Running the paserver.command helped with the first problem but most of it is the I think a missing file.
Checking deploy, the file libcgunwind.1.0.dylib in ($BDS)\Redist\osx32 folder was greyed out so I copied the file from the PAServer on the mac and refreshed now the app runs fine stand alone :)
Just copy and run the application from the PAServer folder. Remember that to install and run PAServer you should do this http://docwiki.embarcadero.com/RADStudio/XE2/en/Installing_and_Running_the_Platform_Assistant_on_the_Target_Platform#Mac%3a_Installing_and_Running_the_Platform_Assistant_.28paserver.29_on_a_Mac

Resources