News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Installing libraries from VC++ 6.0

Started by Alturin, July 06, 2006, 12:04:33 AM

Previous topic - Next topic

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?! ;-)

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...

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?! ;-)

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

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

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?! ;-)

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...

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.

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