Just wondering if anyone else is running XE4 with Windows 8, I just got a new computer and it has Windows 8 but I keep getting the error
[PAClient Error] Error: E0004 File does not exist: C:\Users\Tyson\Documents\RAD Studio\Projects\Test\HeaderFooterNavigation.@emb.tmp
This happens every time I try to deploy and its driving me mental. I switched back to my laptop to make sure it wasn't my mac (which I thought was doubtful), and everything works fine.... I am running under administrator and have removed any read only for the projects folder.
Anyone else has this?
Thanks
-Tyson
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you try to move the project to a "normal" directory
like c:\test or something like that ? Be sure to check
if you don't use any references to you're User directory
and place everything on a "normal" directory.
Cheers,
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think i might have figured it out, but need to wait until i get home to test.
The computer I got is an HP computer. This is where the problem is. apparently HP ships with an envirnment variable "Platform = HPD" so you get this error when you try to compile.
[Error Error] Invalid PLATFORM variable "HPD". PLATFORM must be one of the following: "Win32", "Win64", "Android", "iOSSimulator", "iOSDevice", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.
I read somewhere that in tools->options->environment variables you can override the Platform variable, and set it to Win32.
I did that and it solved the compiling issue or so i thought.
the Platform variable is used by Delphi to set the "Target" platform, not for sure, but i think as you set the target platform for the project, iOSDevice, iOSSimulator etc, Delphi uses this variable to control it.
Sooo by overriding it to Win32, I basically told Delphi to compile for Win32 always!
I tested here at work on an XP computer and added the "Platform" variable to the computer and set this to Win32, I now get the same error on this computer as on the HP one, so from what i have read HP doesn't even use that variable for anything so it needs to be deleted.
process is right click "my computer" -> Click the "Advanced" Tab - > "Environment variables" and find "Platform" variable under the system variables and delete it.
I've checked a Windows 7 and XP computer and niether of these computers have a "Platform" variable" so i don't think there will be any issues with deleting the variable.
Anyways I will try this when i get home and hopefully this solves the issue, if not.... well i'm gonna have a hole through my window about the size of the computer..... :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh and Rob thanks for the suggestion, I can't believe i didn't even try that :).. Windows 8 reminds me of Vista, and Vista lasted on my computer for about 2 boots and then I reverted to XP, I cannot stand all of the file permissions crap so thats where i was placing the blame for my issue, somewhere windows 8 wasn't letting Delphi compile and create the temp files or something....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey,
Just wondering if anyone else is running XE4 with Windows 8, I just got a new computer and it has Windows 8 but I keep getting the error
[PAClient Error] Error: E0004 File does not exist: C:\Users\Tyson\Documents\RAD Studio\Projects\Test\HeaderFooterNavigation.@emb.tmp
This happens every time I try to deploy and its driving me mental. I switched back to my laptop to make sure it wasn't my mac (which I thought was doubtful), and everything works fine.... I am running under administrator and have removed any read only for the projects folder.
Anyone else has this?
Thanks
-Tyson
Hi Tyson,
Did you try to move the project to a "normal" directory
like c:\test or something like that ? Be sure to check
if you don't use any references to you're User directory
and place everything on a "normal" directory.
Cheers,
Rob
I think i might have figured it out, but need to wait until i get home to test.
The computer I got is an HP computer. This is where the problem is. apparently HP ships with an envirnment variable "Platform = HPD" so you get this error when you try to compile.
[Error Error] Invalid PLATFORM variable "HPD". PLATFORM must be one of the following: "Win32", "Win64", "Android", "iOSSimulator", "iOSDevice", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.
I read somewhere that in tools->options->environment variables you can override the Platform variable, and set it to Win32.
I did that and it solved the compiling issue or so i thought.
the Platform variable is used by Delphi to set the "Target" platform, not for sure, but i think as you set the target platform for the project, iOSDevice, iOSSimulator etc, Delphi uses this variable to control it.
Sooo by overriding it to Win32, I basically told Delphi to compile for Win32 always!
I tested here at work on an XP computer and added the "Platform" variable to the computer and set this to Win32, I now get the same error on this computer as on the HP one, so from what i have read HP doesn't even use that variable for anything so it needs to be deleted.
process is right click "my computer" -> Click the "Advanced" Tab - > "Environment variables" and find "Platform" variable under the system variables and delete it.
I've checked a Windows 7 and XP computer and niether of these computers have a "Platform" variable" so i don't think there will be any issues with deleting the variable.
Anyways I will try this when i get home and hopefully this solves the issue, if not.... well i'm gonna have a hole through my window about the size of the computer..... :D
Oh and Rob thanks for the suggestion, I can't believe i didn't even try that :).. Windows 8 reminds me of Vista, and Vista lasted on my computer for about 2 boots and then I reverted to XP, I cannot stand all of the file permissions crap so thats where i was placing the blame for my issue, somewhere windows 8 wasn't letting Delphi compile and create the temp files or something....