Error compiling project in Delphi XE2 after installing RemObjects

I get the error when trying to compile my RemObjects project after installing RemObjects SDK for Delphi - 6.0.57.993.

[DCC Fatal Error] uROCOMInit.pas(33): F2039 Could not create output file ‘C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi\Source\uROCOMInit.dcu’

Any ideas? Thanks!
Dana

Hello Dana,

You should allow writing for this directory: "C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi\Dcu\D16"
Change directory permission settings in Windows Explorer.

By other hand, you can reinstall RO SDK to folder where you have R/W permissions

Best regards

Thanks… that was it… it was a permissions issue.

Dana

Hello,

Got this issue, I’m using Windows 8.

I think it is worth mentioning that writing under Program Files is a big no-no in newer Windows versions. Why not using %appdata% instead?

I fixed this by changing my project settings to use a local directory instead of whatever is default. I think the wizard could be improved to include this.

Hi,

issue with usage “Program Files” folder was logged and we will investigate how it can be fixed. Templates for projects were fixed to use local folder and fix will be available in next release.

I m always use C:\Dev for all RadStudio stuff, and I can recommend it for all.

C++ builder do have old issues for compiler/linker/debugger and path with some spaces inside folder names.

Also, You have some limitations for length of search path strings for dcc, so short path makes sense!