Author Topic: GDB & RC path problems  (Read 3606 times)

Anonymous

  • Guest
GDB & RC path problems
« on: June 10, 2005, 11:03:28 am »
Hi,

I am trying to invoke RC.EXE (from the Platform SDK) and GDB, using the VCTK compiler.

So in Compiler settings, under VCTK -> Programs I have put gdb.exe as the debugger and rc.exe as the resource compiler.
Additionnaly I have put both MingW\bin & PlatformSDK\bin paths in the "Extra paths" list.

Of course... that doesn't work :?

I also added those 2 paths into my main PATH variable (Windows XP) but it doesn't help.

When I run RC.EXE (without prepending any path) on the command line from my project folder, everything works fine.

Anonymous

  • Guest
GDB & RC path problems
« Reply #1 on: June 10, 2005, 11:07:31 am »
Oops I clicked too quickly on Submit  :)

Here is my C::B output :

Code: [Select]
Project   : Win32 Application
Compiler  : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : H:\Dev\C++\TestCB\src\
--------------------------------------------------------------------------------
Switching to target: default
rc.exe    -fo..\obj\version.res version.rc
Command execution failed...


Thanks for the help

Anyway, great work guys !

Anonymous

  • Guest
GDB & RC path problems
« Reply #2 on: June 10, 2005, 12:01:36 pm »
Ok, I managed to run RC by copying the EXE & it's DLL into VCTK's bin directory.
And GDB doesn't seem to like VCTK's PDBs so it's useless.  :cry:

The path problem is not solved, though, only irrelevant now. :roll:

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
GDB & RC path problems
« Reply #3 on: June 10, 2005, 12:17:45 pm »
There was a bug with those paths which got fixed in CVS.
And, no, gdb doesn't work with VC Toolkit...

Yiannis.
Be patient!
This bug will be fixed soon...