Author Topic: Installing libraries from VC++ 6.0  (Read 10779 times)

Offline Alturin

  • Multiple posting newcomer
  • *
  • Posts: 79
Thanks man, I'll go do that, I was already busy compiling WxWidgets for the SVN C::B, so it'll be to fix that before compiling, again, thanks!

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)

Right. I 've been meaning to make it smarter than that but I didn't have the time yet. Will try to look into it today.

Found the time, looked into it, made it smarter and commited the fix.
Be patient!
This bug will be fixed soon...

Offline Alturin

  • Multiple posting newcomer
  • *
  • Posts: 79
Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)

Right. I 've been meaning to make it smarter than that but I didn't have the time yet. Will try to look into it today.

Found the time, looked into it, made it smarter and commited the fix.

Apparently it still doesn't work, revision 2699 still passes the -g flagg.
Also, following Morten's instruction, WIN32 was not defined? When I manually define WIN32 I get other errors like:
Code: [Select]
error C2065: 'OSVERSIONINFO' : undeclared identifierWhen I don't have WIN32 defined, I get errors like
Code: [Select]
src\include.h:53: fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory
:: === Build finished: 1 errors, 0 warnings ===
Here's some of the erroring code:
Code: [Select]
#ifdef WIN32
#include <time.h>
#include <sys/timeb.h>
#include "wincfg.h" // windows configure file
#else
#include "config.h"
#if defined(__unix__) && !defined(unix) // we expect to see unix
#define unix __unix__
#endif
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif
#include <sys/resource.h>
#include <unistd.h>
#include <sys/socket.h>
#endif

(Working perfectly on VC++ 6.0 and Gcc on FC5).
I think I'm stuck with VC++ 6.0 during my holliday  :(

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)

Right. I 've been meaning to make it smarter than that but I didn't have the time yet. Will try to look into it today.

Found the time, looked into it, made it smarter and commited the fix.

Apparently it still doesn't work, revision 2699 still passes the -g flagg.

Before quoting someone, make sure you 're talking about the same issue. What I fixed had to do with the debugger, not the compiler.
Be patient!
This bug will be fixed soon...

Offline Alturin

  • Multiple posting newcomer
  • *
  • Posts: 79
Before quoting someone, make sure you 're talking about the same issue. What I fixed had to do with the debugger, not the compiler.

Sorry, didn't read properly  :oops:, I updated the wiki to (temporarily?) fix the problem, will there be a real fix?