User forums > Using Code::Blocks

Installing libraries from VC++ 6.0

<< < (4/4)

Alturin:
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!

mandrav:

--- Quote from: mandrav on July 06, 2006, 12:06:46 pm ---
--- Quote from: MortenMacFly on July 06, 2006, 11:38:32 am ---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?! ;-)

--- End quote ---

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.

--- End quote ---

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

Alturin:

--- Quote from: mandrav on July 06, 2006, 02:41:50 pm ---
--- Quote from: mandrav on July 06, 2006, 12:06:46 pm ---
--- Quote from: MortenMacFly on July 06, 2006, 11:38:32 am ---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?! ;-)

--- End quote ---

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.

--- End quote ---

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

--- End quote ---

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: ---error C2065: 'OSVERSIONINFO' : undeclared identifier
--- End code ---
When I don't have WIN32 defined, I get errors like

--- Code: ---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 ===
--- End code ---
Here's some of the erroring code:

--- Code: ---#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

--- End code ---

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

mandrav:

--- Quote from: Alturin on July 06, 2006, 11:57:22 pm ---
--- Quote from: mandrav on July 06, 2006, 02:41:50 pm ---
--- Quote from: mandrav on July 06, 2006, 12:06:46 pm ---
--- Quote from: MortenMacFly on July 06, 2006, 11:38:32 am ---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?! ;-)

--- End quote ---

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.

--- End quote ---

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

--- End quote ---

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

--- End quote ---

Before quoting someone, make sure you 're talking about the same issue. What I fixed had to do with the debugger, not the compiler.

Alturin:

--- Quote from: mandrav on July 07, 2006, 08:32:37 am ---Before quoting someone, make sure you 're talking about the same issue. What I fixed had to do with the debugger, not the compiler.

--- End quote ---

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

Navigation

[0] Message Index

[*] Previous page

Go to full version