Raised This Month: $51 Target: $400
 12% 

Compiling for Linux with Cygwin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 07-07-2009 , 15:06   Compiling for Linux with Cygwin
Reply With Quote #1

Hi.
I'm currently totally lost.
Nothing works with that **** Cygwin.

I will know try to explain how my project looks.
I have the following directories:
  • D:/C++/Wired/Metamod (the SourceMM Code including core and core-legacy, stub_mm and sample_mm)
  • D:/C++/Wired/Public/Wired.dll (compiling for windows will place the generated DLL there)
  • D:/C++/Wired/Release (directory created by windows)
  • D:/C++/Wired/SDK (HL2SDK directory)
  • D:/C++/Wired/Source (all .cpp files my project contains)
  • D:/C++/Wired/Source/Headers (all .hpp files my project contains)
  • D:/C++/Wired/SRCDS/bin (all .so files I found on my linux gameserver which I downloaded)
In D:/C++/Wired/ there's also the Makefile placed.
It would be the best for me if it's possible to compile for MM:S and for VSP.

Here's my current Makefile: http://nopaste.org/p/a1kYOAOTN

Output of make:
Quote:
$ make
mkdir -p Release
ln -sf /cygdrive/d/c++/wired/srcds/bin/vstdlib_i486.so vstdlib_i486.so
ln -sf /cygdrive/d/c++/wired/srcds/bin/tier0_i486.so tier0_i486.so
make sourcemm
make[1]: Entering directory `/cygdrive/d/c++/wired`
make[1]: *** No rule to make `Release/source/wired.o`, needed by `sourcemm`. Stop.
make[1]: Leaving directory `/cygdrive/d/c++/wired`
make: *** [all] Error 2
I have really no idea what I can do and I hope I can count on your help like all the times I've asked questions here

~ Chris
Chrisber is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode