The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
August 08, 2022, 01:12:10 pm
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compile Problem
« previous next »
Pages: [1] Print
Author Topic: Compile Problem  (Read 2689 times)
Niblick
Zebranky food
*
Offline Offline

Posts: 8



View Profile
Compile Problem
« on: December 18, 2007, 07:20:51 am »

Hi, I'm having some problems with compiling with MINGW. Help would be very much appreciated.

Code:
$ ./build.sh uqm       
  MKDEP    obj/debug/src/regex/regex.c.d
In file included from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                    /include/windows.h:196,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                              /include/dirent.h:25,
                 from src/port.h:59,
                 from src/regex/regex.c:25:
C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/excpt.h:34:39                 : operator '>=' has no left operand
In file included from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                    /include/msxml.h:271,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/urlmon.h:227,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/objbase.h:825,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/ole2.h:46,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/windows.h:259,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/dirent.h:25,
                 from src/port.h:59,
                 from src/regex/regex.c:25:
C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h:440:1                  : pasting "/" and "/" does not give a valid preprocessing token
C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oaidl.h:455:1                  : pasting "/" and "/" does not give a valid preprocessing token
In file included from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                  /include/objbase.h:826,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/ole2.h:46,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/windows.h:259,
                 from C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../..                               /include/dirent.h:25,
                 from src/port.h:59,
                 from src/regex/regex.c:25:
C:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/propidl.h:307                 :1: pasting "/" and "/" does not give a valid preprocessing token
make: *** [obj/debug/src/regex/regex.c.d] Error 1
make: *** Deleting file `obj/debug/src/regex/regex.c.d'

just so you know i'm a complete noob at this so if I'm making any stupidly obvious
mistakes please go easy on me  Wink
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compile Problem
« Reply #1 on: December 18, 2007, 09:28:27 am »

I for one haven't seen this before. It seems that there is a problem with your MinGW installation. Where did you get those Windows headers from?
A search on the web suggests that you're using the Windows Platform SDK header files with MinGW, which you shouldn't do; MinGW comes with its own versions of these include files which you should use.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Niblick
Zebranky food
*
Offline Offline

Posts: 8



View Profile
Re: Compile Problem
« Reply #2 on: December 18, 2007, 10:53:57 am »

You were right. I promptly corrected the mistake and it worked fine.

Thanks for the help.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!