We help IT Professionals succeed at work.

# Compiling 64 bit Delphi with Bamboo

on
Medium Priority
169 Views
Hi, I have been trying to Build a 64 bit Delphi project with a Bamboo Continuous Integration Build Server.

The weird thing is that I'm able to build the 64 bit project on the server machine itself using MSBuild in the Windows Command Line, but not through Bamboo.

But when making Bamboo run the same cmd script as on the server itself it always returns the error:

Searching Google said that this was a problem with not including the right paths for the relevant Delphi components. But after including all of the paths it still doesn't compile a 64 bit Delphi project.

Here is the cmd batch script that Bamboo executes:
``````@SET BDS=C:\Program Files (x86)\Embarcadero\Studio\19.0
@SET FrameworkDir=C:\Windows\Microsoft.NET\Framework\v3.5
@SET FrameworkVersion=v3.5
@SET FrameworkSDKDir=
@SET DXVCL=C:\Program Files (x86)\DevExpress VCL
@SET LANGDIR=EN
@SET PLATFORM=Win64

"C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe" /t:Rebuild /p:config=Debug "Delphi/RKNKERFI.dproj"
``````
How can I fix this?
Comment
Watch Question

## View Solution Only

Software architect
CERTIFIED EXPERT
Top Expert 2012

Commented:
I see lots of 32 bit folders in path line.
All folders should be for 64 bit .dcu-s. (C:\Program Files (x86)\DevExpress VCL\Library\RS25 is before C:\Program Files (x86)\DevExpress VCL\Library\RS25\Win64 ex.)
Why you don't build in Delphi instead - which fix that properly?
Commented:
The solution was that the user Bamboo is running did not have proper permission