Fatal error RC1212 - c++

I try to build one project (huge but not finished program, not mine but I guess I should be one of the guys who will try finish it).
Actually when I build it in Debug mode, everything seems like okay, but when I switch into Release mode an error appears:
fatal error RC1212: invalid option - /z argument missing substitute font name
I trying to change options into Project properties->C++->General->Debug Information Format but it doesn't help.
Never saw such error before. Does anyone know how to fix it?
Thank you!

Related

VisualStudio - Fatal error LNK1168: cannot open myfile.exe for writing

Sometime, while I try to compile my project, VisualStudio show me this error:
1>LINK : fatal error LNK1168: cannot open C:\Path\myfile.exe for writing
and It not allowes me to compile the project.
It seems that myfile.exe is open and running in background yet, although I closed it. I opened Win TaskManager but the file is not shown in the list of process running.
This error persists and the only solution I found is reboot the system, but it's a tedious way that give me crazy because this error recurs often.
Some ideas to resolve it? Someone had the same error before?
I had this error already many times. Though your myfile.exe is not shown in TaskManager, It is present in background yet. If you open the cmd as administator and type:
tasklist | FIND "myfile.exe"
You can see your process running.
So at this point type the command:
taskkill /IM myfile.exe /F
in order to force the process kill.
Now, if you try to compile your project again, you'll see the compiler is ok and the error is resolved.
Surely it's possible that this error will occur again, so I suggest you to create a .bat file that run the kill command, so you can resolve the problem quickly.
regarding: LNK1168
Microsoft has a web page dedicated to this error:
LNK1168
The first thing on the linked page is:
The linker can’t write to filename.
The rest of the page discusses the details of why the linker cannot write to the file.

C++ Builder 10.3.3 [ilink32 Error] Fatal: Could not open .\Win32\Debug\TabbedApplication.exe (program still running?)

In C++Builder 10.3.3, when running my application, it stops the process and pops up with an error:
Unable to create process: Access denied
I don't know why this happens, and for the life of me I can't figure out what it is talking about.
I tried to build the solution to see if the error was occurring there, and it appears this is the case. After building the solution, the compiler stops the process and a fatal error pops up:
[ilink32 Error] Fatal: Could not open.\Win32\Debug\TabbedApplication.exe (program still running?)
Does anyone know what this error means, and how to fix it?
I added a new target platform in my project in the right
I added windows 64 bit and it worked
hope it helps
I've been getting this messages for months (even with previous verions of RAD studio) and i haven't found a solution yet.
I have used a process explorer and the process is not running but if i close and reopen the IDE the file is not locked anymore.
So i think the problem it's related with the "debugger" that stills is locking the file even when the IDE stopped the debugging process.
I have tried even the "unlocker" utility but it doesn't detect any process is locking the file ...
For know we have to wait until the debugger release the file.
These is the configuration i have tried in the registry:
HKCU\Software\Embarcadero\BDS\20.0\Debugging\Embarcadero Debuggers\Evaluators
[dedfault] REG_SZ dcc32260.dll
com32x.dll REG_SZ -1
dcc32260.dll REG_SZ 0

qrc_resource.cpp error while compiling in debug mode

I am trying to compile my Qt application but getting error
:-1: error: [debug/qrc_cinemasresource.cpp] Error 1
I tried checking all the resource but noting looks missed
The reason of this error could be found in "Compile Output" tab.
Please check this similar topic. It helped to solve my issue.
In my case the problem was in the file that was listed in qrc-file, but didn't exist physically.

Error accessing program database in Visual Studio C++

I accidentally allowed an infinite loop, the computer froze, I force-restarted it. Now when I press F5 to build my C++ project, I get the following error:
Error C1301 error accessing program database C:\path\x64\Release\projectName.ipdb, invalid format, please delete and rebuild
And the said file does not even exist. I tried deleting everything in the Release folder, no luck.
How can I solve this?
Thanks in advance.
I was also faced similar type of error which says :-
"C1300 Error accessing program database... LNK1257 code generation failed"
Resolved it in the following way:
Project->Properties->Configuration Properties->General->Whole Program Optimization
set it to
"No Whole Program Optimization"
from "Use Link time Code Generation"

xcode build error

Command /Developer/usr/bin/g++-4.2 failed with exit code 1
build error
My project was working fine with no errors, and I went to run it again without changing anything and received this error (only this). Any ideas on how to fix it?
I had this error when certain .cpp files didn't exist, but it could be caused by any number of things. Clearly in your case it's something different, if you're sure you haven't changed anything in the project.
On the right of the build results list there should be a (well hidden) button with lines - that shows the raw build output, which should give you some idea about what went wrong. What does that say?