Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: C++ Builder XE8 under windows 10, cannot build even basic VCL application


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Aug 9, 2016 6:14 PM Last Post By: Barry Andrews
Barry Andrews

Posts: 71
Registered: 9/19/03
C++ Builder XE8 under windows 10, cannot build even basic VCL application  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 9, 2016 12:01 AM
I recently updated a machine from Windows 8.1 to Windows 10 and since then C++ builder XE8 won't link a VCL application
They all bomb out saying it cannot reserve 134217728 bytes.

I did a complete uninstall and reinstall of C++ XE8 subscription update 1

Then I just tried to create a basic VCL application with just a blank form, no code.

Even compiling this crashes as shown below:

Build started 9/08/2016 2:47:58 PM.
__________________________________________________
Project "C:\Users\Barry.Andrews\Documents\Embarcadero\Studio\Projects\Project1.cbproj" (Make target(s)):
Target MakeObjs:
Target _CppDepCheck:
Skipping: Project1.cpp;Unit1.cpp
Target RcCompile:
Target BuildVersionResource:
c:\program files (x86)\embarcadero\studio\16.0\bin\cgrc.exe -c65001 Project1.vrc -foProject1.res
CodeGear Resource Compiler/Binder
Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.

Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

Copyright (C) Microsoft Corporation. All rights reserved.

Deleting file "Project1.vrc".
Target _PerformLink:
Target _PerformBCCILink:
c:\program files (x86)\embarcadero\studio\16.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\16.0\lib\Win32\debug";"c:\program files (x86)\embarcadero\studio\16.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\16.0\lib\win32\release\psdk";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE8\Win32";C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP -j.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\16.0\lib\Win32\debug";"c:\program files (x86)\embarcadero\studio\16.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\16.0\lib\win32\release\psdk";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE8\Win32";C:\Users\Public\Documents\Embarcadero\Studio\16.0\DCP -l.\Win32\Debug -v -GA"C:\Temp\vfs73F2.tmp"="C:\Users\Barry.Andrews\Documents\Embarcadero\Studio\Projects\Unit1.dfm" -aa -V5.0 -Tpe c0w32w rtl.bpi vcl.bpi memmgr.lib sysinit.obj .\Win32\Debug\Project1.obj .\Win32\Debug\Unit1.obj , .\Win32\Debug\Project1.exe , .\Win32\Debug\Project1.map , import32.lib cp32mti.lib , , Project1.res
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Cannot reserve virtual memory at addr 60000000 for 134217728 bytes (errcode 487)
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Unable to perform incremental link - performing full link...
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Cannot reserve virtual memory at addr 60000000 for 134217728 bytes (errcode 487)
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets(3094,5): error : Error: Unable to perform link
Done building target "_PerformBCCILink" in project "Project1.cbproj" -- FAILED.
Done building target "_PerformLink" in project "Project1.cbproj" -- FAILED.
Done building project "Project1.cbproj" -- FAILED.
Build FAILED.
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Cannot reserve virtual memory at addr 60000000 for 134217728 bytes (errcode 487)
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Unable to perform incremental link - performing full link...
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning : Warning: Cannot reserve virtual memory at addr 60000000 for 134217728 bytes (errcode 487)
c:\program files (x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets(3094,5): error : Error: Unable to perform link
3 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.18

david hoke

Posts: 616
Registered: 2/9/07
Re: C++ Builder XE8 under windows 10, cannot build even basic VCL application  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 9, 2016 7:55 AM   in response to: Barry Andrews in response to: Barry Andrews
Barry Andrews wrote:

I recently updated a machine from Windows 8.1 to Windows 10 and since
then C++ builder XE8 won't link a VCL application They all bomb out
saying it cannot reserve 134217728 bytes.

<snip>

(x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning :
Warning: Cannot reserve virtual memory at addr 60000000 for 134217728
bytes (errcode 487) c:\program files
(x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets(3094,5): error
: Error: Unable to perform link 3 Warning(s) 1 Error(s) Time
Elapsed 00:00:00.18

1)Have you considered attempting a rebase on the linker application to
see if it would help?

2)Do you have access to, and perhaps have tried a later version of the
linker (say perhaps as might be available in the recently updated free
version of the C++ compiler, at least for 32bit applications)?
(Running an updated [later version] linker could be dangerous if doing
much with delphi, but if merely linking to the dynamic VCL/RTL might be
workable...)
Barry Andrews

Posts: 71
Registered: 9/19/03
Re: C++ Builder XE8 under windows 10, cannot build even basic VCL application  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 9, 2016 6:14 PM   in response to: david hoke in response to: david hoke
david hoke wrote:
Barry Andrews wrote:

I recently updated a machine from Windows 8.1 to Windows 10 and since
then C++ builder XE8 won't link a VCL application They all bomb out
saying it cannot reserve 134217728 bytes.

<snip>

(x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets : warning :
Warning: Cannot reserve virtual memory at addr 60000000 for 134217728
bytes (errcode 487) c:\program files
(x86)\embarcadero\studio\16.0\Bin\CodeGear.Cpp.Targets(3094,5): error
: Error: Unable to perform link 3 Warning(s) 1 Error(s) Time
Elapsed 00:00:00.18

1)Have you considered attempting a rebase on the linker application to
see if it would help?

2)Do you have access to, and perhaps have tried a later version of the
linker (say perhaps as might be available in the recently updated free
version of the C++ compiler, at least for 32bit applications)?
(Running an updated [later version] linker could be dangerous if doing
much with delphi, but if merely linking to the dynamic VCL/RTL might be
workable...)

Finally got it working again.
Required another reinstall and a reboot of the PC.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02