Compiling on Windows without VC++? (or whatever it is)


(duke'ku) #1

I don’t have the cash for the only windows program listed to compile, and I’m not going to warez it - so I’m having a bit of a problem trying to compile the dlls for windows. I know I could hack it in somehow in linux with a cross-compiler, but I really don’t know much about this and trying to do that would be a tad hard. Are there any free alternatives in windows?

(note - i’m able to get the linux .sos fine)


(nUllSkillZ) #2

There’s a free available IDE:
Bloodshed Software dev-c++

I’ve written a tutorial on compiling the RTCW source with dev-c++ 4.01:
Tutorial: Compiling the RTCW-MP source code V1.41 with the free available IDE dev-c++

But when I try to compile ET-source with dev-c++ I receive errors compiling “q_math.c”.


(mgt) #3

i’d always advice you to use the MS compiler, cause this one is more “tolerant” of offences against the C-ISO. it allowes many things where the mingw compiler always gives an error and aborts compiling. u don’t need to have the whole vstudio or vc++, but i really recommend to use the MS compiler.


(ignition) #4

well, ever heared about the intel compiler. it can be used via bloodshed’s c++ and intel claims it is faster and produces faster exe’s…i havent tried it, but i think you should :slight_smile: its shareware tough, get it somewhere at intel.com

ignition


(gonzoboi) #5

i tried to build it with MinGW gcc on windows xp and it chokes in one of the q_ files, cant remember which one, more precisely at the beginning of a assembler fragment , probably because it uses __asm. MinGW prolly expects a different syntax for assembler (AT&T maybe) ? speaking out of my ass of course.

anyway, trying to get a decent devel environment under window sucks soooo much i’ll just try to cross-compile from my box (linux).


(Ragnar_40k) #6

You can buy the student version of Visual Studio Professional (this is one of the Academic licenses), this includes Visual C++ (among others) and 1 year MSDN. This will cost about 100 Euros. But you need to be a student …

There is also a 60 days free Trial version available.


(duke'ku) #7

You can buy the student version of Visual Studio Professional (this is one of the Academic licenses), this includes Visual C++ (among others) and 1 year MSDN. This will cost about 100 Euros. But you need to be a student …

There is also a 60 days free Trial version available.[/quote]

It only applies to college students, and I’m not a college student.

(thx ms bye)


(Ragnar_40k) #8

Maybe you know a college student?


(dcoshea) #9

well, ever heared about the intel compiler. it can be used via bloodshed’s c++ and intel claims it is faster and produces faster exe’s…i havent tried it, but i think you should its shareware tough, get it somewhere at intel.com

It’s not shareware, it is an evaluation version which you can use for 30 days. To quote the license agreement, “NOTWITHSTANDING ANYTHING TO THE CONTRARY ELSEWHERE IN THIS AGREEMENT, YOU MAY NOT DISTRIBUTE ANY PORTION OF THE MATERIALS, AND THE APPLICATION AND/OR PRODUCT DEVELOPED BY YOU MAY ONLY BE USED FOR EVALUATION PURPOSES AND ONLY FOR THE TERM OF THE EVALUATION PERIOD.” So you can only use the compiler and anything you compile with it for a 30 day period.

There is a Linux compiler which is available under a noncommerical-use license, but I don’t know if you can cross-compile with it.

Regards,
David


(SiliconSlick) #10

gcc on Cygwin???

Haven’t tried it but it would be the first thing I would.

SiliconSlick


(Pamper) #11

In the US, it applies to elementary and highschool students too. Basically anyone not working for a corporation can find a student nearby to help them buy software.


(Grimmy_EFG) #12

You can get a free 120 day trial of VS.net from Microsoft… that should be enough time to do whatever you need to do. :clap:


(Sauron|EFG) #13

Basically anyone not working for a corporation can find a student nearby to help them buy software.

And would that be legal?


(Bambi) #14

There’s a free available IDE:
Bloodshed Software dev-c++

I’ve written a tutorial on compiling the RTCW source with dev-c++ 4.01:
Tutorial: Compiling the RTCW-MP source code V1.41 with the free available IDE dev-c++

But when I try to compile ET-source with dev-c++ I receive errors compiling “q_math.c”.

I’ve tried to compile the source with Dev C++ using your tutorial but [quote]
I’ve some error too.
Think that some changes are needed, so if you have the solution… it would be cool to share it :smiley:


(dcoshea) #15

I’ve gotten the DLLs to compile under Borland’s C++BuilderX Personal edition; see the “Sticky: Compiling a mod under Windows” post.

Regards,
David