User forums > Help
Codeblocks integrate with Visual Toolkit 2003
jozzzz:
Good morning, I'd want to Codeblocks integrate with Visual Toolkit 2003, but I have this both on disc F. Even if I enter path correct F:\Program Files\Microsoft Platform SDK\Lib\AdvAPI32.Lib etc., Codeblocks always use his header file , which hold in his directory.
What I be able to do, as to Codeblocks received setting paths F:\Program Files\Microsoft Platform SDK\Lib\AdvAPI32.Lib?
Thank you P.
MortenMacFly:
--- Quote from: jozzzz on April 07, 2006, 09:35:54 am ---What I be able to do, as to Codeblocks received setting paths F:\Program Files\Microsoft Platform SDK\Lib\AdvAPI32.Lib?
--- End quote ---
Die you setup the compiler for your project correctly? Did you setup the PATH for the include files and lib files correctly? Anyway: If you provide your project with a specific lib this doesn't neccesarily mean that a specific header file is used. These are 2 things: compiling and linking. Both steps require a correct path to be setup. Could you send the full compiler log of a project of yours explaining better what you are doing?!
With regards, Morten.
BTW: Making words bold doesn't always increase readability... I guess we would have understand your post without bold phrases, too. ;-)
Michael:
Hello,
You can have a look at this helpful C::B wiki article.
Best wishes,
Michael
jozzzz:
Now path is OK I think, but new message:
LINK : fatal error LNK1158: cannot run 'cvtres.exe'
But I insert path to Settings-Compiler-Programs-Additional paths - F:\Program Files\Microsoft Platform SDK\Bin\win64.
Why is this message? Thanx P.
This is Build log:
Project : Win32 Application
Compiler : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : G:\docum_nty\PROJEKTY VC++\codeblocks_pokus\
--------------------------------------------------------------------------------
Switching to target: default
F:\Program Files\Microsoft Platform SDK\Bin\rc.exe /I"F:\Program Files\Microsoft Platform SDK\Bin" /I"F:\Program Files\Microsoft Platform SDK\Bin" -fo.objs\main.res main.rc
C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\link.exe /nologo /subsystem:windows /LIBPATH:"C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib" /LIBPATH:"F:\Program Files\Microsoft Platform SDK\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib" /LIBPATH:"F:\Program Files\Microsoft Platform SDK\Lib" /out:"G:\docum_nty\PROJEKTY VC++\codeblocks_pokus\Win32GUI.exe" "F:\Program Files\Microsoft Platform SDK\Lib\ComCtl32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\AdvAPI32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\Gdi32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\User32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\AdvAPI32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\Gdi32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\User32.Lib" "F:\Program Files\Microsoft Platform SDK\Lib\ComCtl32.Lib" .objs\main.o .objs\main.res
LINK : fatal error LNK1158: cannot run 'cvtres.exe'
Process terminated with status 1 (0 minutes, 0 seconds)
Michael:
--- Quote from: jozzzz on April 07, 2006, 11:56:37 am ---Now path is OK I think, but new message:
LINK : fatal error LNK1158: cannot run 'cvtres.exe'
--- End quote ---
Have a look at here.
If you want more info then try a search with e.g., cvtres.exe :wink:.
Best wishes,
Michael
PS.: It is not necessary to use bold... :roll:
Navigation
[0] Message Index
[#] Next page
Go to full version