User forums > Using Code::Blocks
Nightly Build 28 Feb - Link error - cvtres.exe
jmeuf:
Hi,
I just installed a nightly build version (28 Feb) + Visual Toolkit 2003 + Platform SDK.
I'm trying to compile a windows app with resource file.
rc.exe has successfully been found within the pSDK, but I got the following message:
fatal error LNK1158: cannot run 'cvtres.exe'
What is this executable? Is rc.exe not enough to compile the resource file? Where is he supposed to be located (in the C::B folder, the VCToolkit2003, or the pSDK one)?
Thanks for your help.
stahta01:
If I recall right, cvtres.exe is part of the dotnet framework.
Searching my hard drive for copies of it, still in progress
WATCOM\binnt
Microsoft_Platform_SDK_for_Windows_Server_2003_R2\Bin\win64 (Microsoft® Visual Studio® .NET)
vs6sp6\VS6sp61.cab
From Google
http://bfilter.sourceforge.net/doc/vctk.php
Tim S
Biplab:
For the proper operation of VCTK, .NET SDK is necessary. Install a .NET SDK. :)
jmeuf:
Ok.
Found the file cvtres.exe in:
c:\windows\Microsoft.net\framework\v2.0.50727
and added this path in:
Settings/Compiler and Debugger/Toolchain executables/Additional Paths
(I had already .net 1.1 and 2.0 installed).
This one is cleared.
Now I got no more error after compilation, but a recurrent warning:
:: === Generic, Debug ===
LIBC.lib(wincrt0.obj):: warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Programme\VCToolkit2003\lib\LIBC.lib' or at 'C:\Dokumente und Einstellungen\Jean-Marc\Eigene Dateien\CodeBlocks Projects\Generic\bin\Debug\libc.pdb'; linking object as if no debug info
Did I miss something at installation?
Shouldn't this file be installed by C::B, like <my_prog_name>.pdb in the project\bin\Debug folder?
Biplab:
My guess you are trying to compile your app in debug mode whereas you are trying to link with non-debug C Runtime Library. Link it against libcd.lib and see if there's any difference or not. :)
Navigation
[0] Message Index
[#] Next page
Go to full version