compiler error help (E2209 Unable to open include file) - c++

I am using Borland C++ Builder 6. I have installed LMD Tool version 7, and ABC for Delphi 6 companion version (runtime pakage only).
When I compiled a software unit, I received the following error messages:
[C++ Error] iss_hmi_gui_cached.h(58): E2209 Unable to open include file 'abcbtn.hpp'
Full parser context
C++ Error] iss_hmi_gui_cached.h(59): E2209 Unable to open include file 'abcctl32.hpp'
Full parser context
[C++ Error] iss_hmi_gui_cached.h(61): E2209 Unable to open include file 'abcexctl.hpp'
and
[C++ Error] Lmdcontrol.hpp(24): E2209 Unable to open include file 'Uxtheme.hpp'
[C++ Error] Lmdcustomspeedbutton.hpp(22): E2209 Unable to open include file 'Uxtheme.hpp'
I have searched my PC, and I could not find Uxtheme.hpp anywhere.
Any help is appreciated.
Thanks in advance
David.

UxTheme.h is part of the Windows SDK. The SDK comes with the newer versions of visual studio, but you can download it from microsoft. You will also have to tell the compiler where to find the SDK header and library files.

Concerning the ABC errors, did you build with the
Project|Options|Packages - Build with Runtime Packages
checkbox checked?
And does your package names list include the appropriate runtime package?

Well, it looks like some of your source files are missing.

Related

C++Builder 10.4/11: Help wanted to resolve fatal error "Invalid object file 'altsvc.o'" when compiling 64-bit Windows application

I am attempting to port a 32-bit program to 64-bit, using the CLANG compiler within C++Builder 10.4/11. However, when C++Builder attempts to link the EXE it generates the following error message:
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\CodeGear.Cpp.Targets(3988,5): error : Fatal: Invalid object file 'altsvc.o'
I cannot find a file called "altsvc.cpp" anywhere in my source files or in the C++Builder library file folders. It is not listed in the executable's project (.cbproj) file either.
Has anyone encountered this error before and know what causes it?

fatal error LNK1104: cannot open file "Debug/

I'm trying to run C++ code in microsoft visual version 6.0. The code is well compiling but I'm getting the error "fatal error LNK1104: cannot open file "Debug/Assignment.exe" when I try to build. The file is saved in the project named Assignment. I'm new to C++ and the microsoft visual stuff. I don't know where to start from to get around error. Please help.
Sounds like a copy of the exe (Debug/Assignment.exe) is already running so visual studio can't overwrite the file. Have a look in the task manager / process explorer and kill any copies that are running then try again.
Curiously, in my case it was a CMake 'debug' linker library path setting that caused almost the same error, and I guess you can have similar problems with 'optimized.obj' linking failures.
LINK : fatal error LNK1104: cannot open file 'debug.obj'
This is because the compiler doesn't have access to that file. Change the project directory and try again.
For me this error started coming when I turned on Preprocessing output
Project properties -> C/C++ -> Preprocessing -> Preprocess to a file: Yes (/P)

C++ Builder XE5 linker is unable to open WINDOWS.OBJ

While trying to compile a C++ project in XE5 I get the following error:
[ilink32 Error] Fatal: Unable to open file 'WINDOWS.OBJ'
I already use "Windows" instead of "WinTypes" and "WinProcs" in my Delphi units.
Under "Delphi compiler" -> "Unit scopes" there is also the "WinAPI" entry.
Does anyone know what could be the problem?
Sounds like your search paths do not include an entry for $(BDS)\lib\$(Platform)\$(Config)

POCO Build Problem

I'm trying to try the POCO library. I downloaded the zip file, and opened the vs solution file named "Net_vs90.sln" on VS 2008. When I try to build the solution, I get this ugly error:
bla bla bla....
1>Linking...
1>LINK : fatal error LNK1104: cannot
open file 'PocoFoundationd.lib'
bla bla bla....
Linking...
2>LINK : fatal error LNK1104: cannot
open file 'CppUnitd.lib'
I'm surprised, because I haven't done any changes to the code or configurations. What could be the reason?
Looks like you are missing some dependencies from other open source projects. For example, cppunitd.lib is CppUnit. This may not be included in the files you downloaded (it is often assumed that you should get the latest dependencies yourself)
Thanks for reminding Romain. The problem was, I hadn't looked at the wiki very well. In one of the wiki pages (below), it says the bat file, in the project, should first be run from visual studio command prompt. Now, the problem is solved :).
http://pocoproject.org/wiki/index.php/FirstStepsWindows

Using Common Header Files in eVC++ 3

I'm learning C++ and i have the eVT(eMbedded Visual Tools) installed in my computer, because of the eVB 3(eMbedded Visual Basic) for my VB pocket programs, but i'm learning C++, then i want to use the eVC++ 3 for develop some command line aplications, then only to test i created an HelloWorld aplication, just for test, but when i try to compile it gave me this error:
Fatal error C1083: Cannot open include file: 'iostream': No such file or directory
Error executing clarm.exe.
Remember that i can't update to eVC++ 4, because i want to build programs for Windows CE 3.1
Thanks!
You need to add the path to the directory where ostream file resides to the list of the compiler include paths (usually -I directive).
Recently i see some eVC++ example and as i can see, eVC++(remember: Plus Plus) only uses C(Without ++) code.