* October 24, 2014, 04:05:29 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1] 2 3 4 5   Go Down
  Print  
Author Topic: The short and sweet guide to compiling SVN 895 on Windows  (Read 55910 times)
Risujin


Turrets: +33/-13
Posts: 740


WWW
« on: January 28, 2007, 05:38:52 AM »

Follow these steps to compile the Tremulous client on Windows:

1.) Go to http://www.mingw.org/download.shtml
2.) Go to http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 and
download svn-1.4.2-setup.exe (or the latest *-setup.exe for svn)
3.) If your papers are in order you can get the DirectX SDK from Microsoft
Alternatively, you can grab the two header files you need out of here from my website.
4.) Install subversion, use default paths etc
5.) Install MSys, but NOT to a path with a space in it! That means NO "Program Files", put it in C:\MSys
6.) Install MinGW to your C:\MSys\MinGW (folder should exist already)
7.) Install the MinGW Windows API by extracting it into the C:\MSys\mingw directory. You can do this either with WinRAR or through the MSys terminal using Unix tar commands:
  • Move the win32-api tar file to the C:\MSys\mingw directory.
  • Open the MSys link on your desktop or start C:\MSys\msys.bat
  • Change to the mingw directory ('cd ../../mingw' should do it)
  • Untar the tar file ('tar xzf w32api-3.6.tar.gz')
That should work though I personally used WinRAR.
8.) Install the DirectX SDK if you downloaded it and copy dinput.h and dsound.h from either the DirectX SDK include folder or from my archive to MSys\MinGW\include
9.) Download the latest Tremulous SVN code by opening a console, cd'ing to your MinGW home folder ('cd C:\MinGW\home\User'), and typing the SVN command:
svn co -r 895 svn://svn.icculus.org/tremulous/trunk Tremulous
(if you feel confident, you can remove the '-r 895' part to download the latest SVN, but safety is not guaranteed)
If your code is not in a subdirectory of your MinGW home folder you will need to mount it (skip this otherwise):
  • Open C:\MSys\etc\fstab.sample
  • Comment out (add #s) to the two lines at the bottom
  • Add your Tremulous SVN folder and mount point (e.g. 'C:\Tremulous  /home/User/Tremulous')
  • Open your mount point in the MSys directory tree and create the folder (MSys\home\User\Tremulous)
  • Rename fstab.sample to fstab
10.) If you let it, MSys has created a shortcut on your desktop, start it; if not start C:\MSys\msys.bat
11.) cd to your Tremulous mount point ('cd Tremulous')
12.) If you don't want to compile the QVMs create a Makefile.local file that contains 'BUILD_GAME_QVM=0', otherwise add 'INCLUDE=' and 'LIBRARY=' (original fix).  Add 'USE_CURL=1' if you want WWW redirection support.
13.) Run make ('make' NOT 'mingw32-make' which doesn't work for some reason...)
14.) If all went well, your brand new tremulous.x86.exe and/or QVMs are waiting for you in build/release-mingw-x86/

I couldn't compile game QVMs this way as it would hang when running one of the Quake QVM tools. This wasn't a problem for me as I can build the QVMs from Linux.

There are several mysteries about this process. I don't understand why it compiled without the OpenAL or SDL libraries (though they may have  defaulted to off). Also, why are two DirectX headers necessary when the game never links to DirectX libraries?

If you also compile on Linux in the same directory, you may receive an error about missing q3asm.exe or the like. The problem is you already have the binaries built so the Makefile doesn't think it needs to remake them (for a different platform!!). You need to 'make clean' under Linux or manually enter each directory and delete the Linux binaries.
« Last Edit: November 16, 2007, 05:34:35 PM by Risujin » Logged
kotoko


Turrets: +0/-0
Posts: 38


« Reply #1 on: January 28, 2007, 06:39:42 AM »

: ) i need those 2 directx files ..

A bit off topic.. but would you plz take a look and tell me what s wrong, i run "gmake" under freebsd and after compiling some files .. these happens .. the sources file comes from the offical installation. I looked at the qql.h and tr_local.h files and discovered nothing wrong..


Code:
src/jpeg-6/../renderer/qgl.h:583: error: syntax error before '*' token
src/jpeg-6/../renderer/qgl.h:584: error: syntax error before '*' token
src/jpeg-6/../renderer/qgl.h:584: warning: function declaration isn't a prototype
src/jpeg-6/../renderer/qgl.h:585: error: syntax error before '*' token
src/jpeg-6/../renderer/qgl.h:585: warning: function declaration isn't a prototype
In file included from src/jpeg-6/jerror.c:22:
src/jpeg-6/../renderer/tr_local.h:98: error: syntax error before "GLuint"
gmake[1]: *** [build/release-freebsd-x86/client/jerror.o] Error 1
gmake[1]: Leaving directory `/usr/local/httpdir/kyoko/tremulous-1.1.0-src'
gmake: *** [build_release] Error 2


If i do a pure "make" , the following comes out
Code:
$ make
"Makefile", line 17: Missing dependency operator
"Makefile", line 20: Need an operator
"Makefile", line 22: Need an operator
"Makefile", line 24: Missing dependency operator
"Makefile", line 25: Missing dependency operator
"Makefile", line 27: Need an operator
"Makefile", line 28: Need an operator
"Makefile", line 44: Need an operator
"Makefile", line 46: Need an operator
"Makefile", line 48: Need an operator
Logged

Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #2 on: January 28, 2007, 04:43:19 PM »

Quote from: "kotoko"
: ) i need those 2 directx files ..

Link added.

Quote from: "kotoko"
A bit off topic.. but would you plz take a look and tell me what s wrong, i run "gmake" under freebsd and after compiling some files .. these happens .. the sources file comes from the offical installation. I looked at the qql.h and tr_local.h files and discovered nothing wrong..

You need GNU make, I don't have FreeBSD so I can't tell you if gmake or make is it. Try gmake --version or make --version to tell.

As for the headers you need SDL and OpenAL development files, see if you can get those packages. You probably also need OpenGL (Mesa) development headers and libraries too.
Logged
Kuszja


Turrets: +1/-0
Posts: 72


« Reply #3 on: January 29, 2007, 01:00:13 AM »

Don't you want to make the qvm files for your mod so you load the original tremulous and point the game to your own vms.pk3 for the mod. Then when people come and go from your server, they don't have to quit and restart the game?
Logged
Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #4 on: January 29, 2007, 01:21:45 AM »

Quote from: "Kuszja"
Don't you want to make the qvm files for your mod so you load the original tremulous and point the game to your own vms.pk3 for the mod. Then when people come and go from your server, they don't have to quit and restart the game?

I'm not sure I understand what you're saying. You mean switch the mod back to base after disconnecting from a server?
Logged
vcxzet
Guest
« Reply #5 on: January 29, 2007, 03:39:16 PM »

http://svn.icculus.org/*checkout*/quake3/trunk/README
Logged
Kuszja


Turrets: +1/-0
Posts: 72


« Reply #6 on: January 30, 2007, 02:56:27 PM »

Yes, the tjw mod sits in a pk3 file in my base folder containing the three qvm files. When I go to his server, it tells my computer to use tjw.pk3->vms/"qvm files", then when I leave, my computer goes back to using the original qvm files. I dont really know how he pointed his server to use them, but I haven't tried yet.
Logged
Greudin

*

Turrets: +1/-1
Posts: 131

8R33k020ph7^^


WWW
« Reply #7 on: January 30, 2007, 09:24:11 PM »

Ty Risujin !

Tried but I got an error about screensaver :*\

http://pastebin.ca/333340
Logged

url=http://tremulous.bricosoft.com][/url]
Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #8 on: January 31, 2007, 02:06:09 AM »

Quote from: "Greudin"
Tried but I got an error about screensaver :*\

It looks like a Microsoft API definition, try installing the MinGW Microsoft API package (I forgot to mention it in the instructions!)
Logged
Greudin

*

Turrets: +1/-1
Posts: 131

8R33k020ph7^^


WWW
« Reply #9 on: February 01, 2007, 01:03:07 PM »

Quote from: "Risujin"
Quote from: "Greudin"
Tried but I got an error about screensaver :*\

It looks like a Microsoft API definition, try installing the MinGW Microsoft API package (I forgot to mention it in the instructions!)


Nice! It works, just recompiled with QVM and the previous thread about it by Vcxzet :

http://tremulous.net/phpBB2/viewtopic.php?t=2672&start=0&postdays=0&postorder=asc&highlight=mingw

id, put build/.../vm/ and ui/ folders in zip vms-1.1.1.pk3, into base/ ....

I dont understand at all what I am doing but it s worky Wink except no online server with latest svn version (saw tremdev.tjw.org)
Logged

url=http://tremulous.bricosoft.com][/url]
vcxzet
Guest
« Reply #10 on: February 01, 2007, 05:42:43 PM »

Quote from: "Risujin"
Quote from: "Greudin"
Tried but I got an error about screensaver :*\

It looks like a Microsoft API definition, try installing the MinGW Microsoft API package (I forgot to mention it in the instructions!)

...some deprecated API def look for ioq3 svn logs
(me pokes yarou ) Cheesy
Logged
Yarou


Turrets: +43/-109
Posts: 218

Misguided Miscreant


« Reply #11 on: February 07, 2007, 10:08:33 PM »

The correct API in this case would be SPI_SETSCREENSAVERRUNNING.
Quick fix:
Edit src/win32/win_wndproc.c and add
Code:

#ifndef SPI_SCREENSAVERRUNNING
 #define SPI_SCREENSAVERRUNNING SPI_SETSCREENSAVERRUNNING
#endif

towards the beginning of the file.
Alternately, you can manually search and replace all SPI_SCREENSAVERRUNNING with SPI_SETSCREENSAVERRUNNING.

Quote from: "kotoko"

A bit off topic.. but would you plz take a look and tell me what s wrong, i run "gmake" under freebsd and after compiling some files .. these happens .. the sources file comes from the offical installation. I looked at the qql.h and tr_local.h files and discovered nothing wrong..

Simply put, gmake is:
Code:
ln -sf /usr/bin/make gmake

As far as I know, Tremulous compiles fine on FreeBSD, using BSD Make...
Try contacting the ports maintainer for make, and query that person on what to do next.
Logged



Currently:
{&}Yarou
Death_First


Turrets: +4/-6
Posts: 141


« Reply #12 on: April 06, 2007, 12:22:23 PM »

the link to ur site 4 the 2 files u need doesnt work it just brings u into some thing that says related links for Missrani.com are

then theres a long list of sites


how do i get these files
Logged
Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #13 on: April 06, 2007, 03:17:54 PM »

Quote from: "Death_First"
the link to ur site 4 the 2 files u need doesnt work it just brings u into some thing that says related links for Missrani.com are

I changed domains ... right I forgot just how much stuff I had hosted on that site! Will fix in a minute.
Logged
Matt2k10


Turrets: +11/-8
Posts: 144


« Reply #14 on: April 17, 2007, 05:28:30 AM »

When I run make, it all goes well for a while then I get this error:
make[1]: *** [build/release-mingw32-x86/client/win_input.o] Error 1
make[1]: Leaving directory `/mingw/Tremulous'
make: *** [build_release] Error 2
Logged

Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #15 on: April 17, 2007, 02:10:59 PM »

Quote from: "Matt2k10"
When I run make, it all goes well for a while then I get this error:
make[1]: *** [build/release-mingw32-x86/client/win_input.o] Error 1
make[1]: Leaving directory `/mingw/Tremulous'
make: *** [build_release] Error 2

That's not the error. Look above. Did you try to apply a patch?
Logged
Matt2k10


Turrets: +11/-8
Posts: 144


« Reply #16 on: April 17, 2007, 03:09:17 PM »

Quote from: "Risujin"
Quote from: "Matt2k10"
When I run make, it all goes well for a while then I get this error:
make[1]: *** [build/release-mingw32-x86/client/win_input.o] Error 1
make[1]: Leaving directory `/mingw/Tremulous'
make: *** [build_release] Error 2

That's not the error. Look above. Did you try to apply a patch?

Oh :oops:
I figured it out after I looked at the beginning. dinput and dsound extracted to the wrong folder.

EDIT: Now I can't get the .exe to run. It says:
Unknown extension for ui/menus.txt
WARNING: couldn't open music file ui/menus.txt
recursive error after: menu file not found: ui/menus.txt, using default
Logged

Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #17 on: April 17, 2007, 04:33:39 PM »

Quote from: "Matt2k10"
EDIT: Now I can't get the .exe to run. It says:
Unknown extension for ui/menus.txt
WARNING: couldn't open music file ui/menus.txt
recursive error after: menu file not found: ui/menus.txt, using default

If you compiled SVN without the backport patch, you will need to use SVN VMs. The 1.1 PK3s in your base (and probably mod) folders are not compatible.
Logged
Matt2k10


Turrets: +11/-8
Posts: 144


« Reply #18 on: April 18, 2007, 02:31:03 AM »

Quote from: "Risujin"
Quote from: "Matt2k10"
EDIT: Now I can't get the .exe to run. It says:
Unknown extension for ui/menus.txt
WARNING: couldn't open music file ui/menus.txt
recursive error after: menu file not found: ui/menus.txt, using default

If you compiled SVN without the backport patch, you will need to use SVN VMs. The 1.1 PK3s in your base (and probably mod) folders are not compatible.

Oh ok thanks for the help, I'll add the patch and try again.
Logged

f0rqu3
Guest
« Reply #19 on: April 23, 2007, 11:14:15 AM »

Quote from: "Risujin"
Follow these steps to compile the Tremulous client on Windows:[list=1]
  • Go to http://www.mingw.org/download.shtml
  • Download MSys EXE under Current
  • Download MinGW EXE under Previous
  • Download w32api-3.6.tar.gz under Current
  • Go to http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
  • Download svn-1.4.2-setup.exe (or the latest *-setup.exe for svn)
  • If your papers are in order you can get the DirectX SDK from Microsoft
    Alternatively, you can grab the two header files you need out of here from my website:
    http://risujin.org/pub/tremulous/tremulous-dxsdk.zip
  • Install subversion, use default paths etc
  • Install MSys, but NOT to a path with a space in it! That means NO "Program Files", put it in C:\MSys
  • Install MinGW to your C:\MSys\MinGW (folder should exist already)
  • Install the MinGW Windows API by extracting it into the C:\MSys\mingw directory. You can do this either with WinRAR or through the MSys terminal using Unix tar commands:
    [list=1]
  • Move the win32-api tar file to the C:\MSys\mingw directory.
  • Open the MSys link on your desktop or start C:\MSys\msys.bat
  • Change to the mingw directory ('cd ../../mingw' should do it)
  • Untar the tar file ('tar xzf w32api-3.6.tar.gz')
  • [/list:o]That should work though I personally used WinRAR. Smiley
  • Install the DirectX SDK if you downloaded it
  • Copy dinput.h and dsound.h from either the DirectX SDK include folder or from my archive to MSys\MinGW\include
  • Download the latest Tremulous SVN code by opening a console, cd'ing to your MinGW home folder ('cd C:\MinGW\home\User'), and typing the SVN command:
Code:
svn co -r 895 svn://svn.icculus.org/tremulous/trunk Tremulous
(if you feel confident, you can remove the '-r 895' part to download the latest SVN, but success is not guaranteed Smiley)
If your code is not in a subdirectory of your MinGW home folder you will need to mount it (skip this otherwise):[list=1]
  • Open C:\MSys\etc\fstab.sample
  • Comment out (add #s) to the two lines at the bottom
  • Add your Tremulous SVN folder and mount point (e.g. 'C:\Tremulous   /home/User/Tremulous')
  • Open your mount point in the MSys directory tree and create the folder (MSys\home\User\Tremulous)
  • Rename fstab.sample to fstab[/list:o]
  • If you let it, MSys has created a shortcut on your desktop, start it; if not start C:\MSys\msys.bat
  • cd to your Tremulous mount point ('cd Tremulous')
  • Create a Makefile.local
  • Edit your Makefile.local to read 'BUILD_GAME_QVM=0' if you don't want to compile the QVMs otherwise add 'INCLUDE=' and 'LIBRARY=' (original fix).  Add 'USE_CURL=1' if you want WWW redirection support.
  • Run make ('make' NOT 'mingw32-make' which doesn't work for some reason...)
  • If all went well, your brand new tremulous.x86.exe is waiting for you in build/release-mingw-x86/
  • [/list:o]I couldn't compile game QVMs this way as it would hang when running one of the Quake QVM tools. This wasn't a problem for me as I can build the QVMs from Linux.

    There are several mysteries about this process. I don't understand why it compiled without the OpenAL or SDL libraries (though they may have defaulted to off). Further, why are two DirectX headers necessary when the game never links to DirectX libraries?


for step 5) go to http://tortoisesvn.tigris.org/
for step 6) download tortoise svn
for step 7) nothing
for step 8 ) install tortoise svn - you will need to restart

for step 12) nothing - no directx sdk needed
for step 13) Download http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz
     and untar it into your MinGW directory (usually C:\MinGW).
for step 14) create a folder for svn download "c:\tremulous_svn" for example
right click the folder and select svn checkout
 follow the sub steps 1-5
type
Code:
svn://svn.icculus.org/tremulous/trunk
as the svn address
for step 16) "cd /c/tremulous_svn" if you used "c:\tremulous_svn"
for step 17) optional
for step 18 ) optional - curl is on by default
you can use -e switch to set compile options for ex:
"make -e BUILD_CLIENT=0 BUILD_CLIENT_SMP=0 BUILD_SERVER=0 BUILD_GAME_SO=0 BUILD_GAME_QVM=1"
no client/smp client/server/game dll  but game qvm
Logged
Humming Bird


Turrets: +0/-0
Posts: 3


« Reply #20 on: May 06, 2007, 12:59:45 AM »

Hmm... I need help compiling the backport with Mingw32 (gcc 3.4.5)

The last few lines is an curl issue which i get:
Code:

build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0xd6): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x1b5): undefined reference to `curl_easy_init'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x20b): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x23a): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x258): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2b7): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2bc): undefined reference to `curl_version'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2ed): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x30b): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x329): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x347): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x365): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x382): more undefined references to `curl_easy_setopt' follow
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3a5): undefined reference to `curl_multi_init'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3c2): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3e2): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x420): undefined reference to `curl_multi_remove_handle'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x42d): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x457): undefined reference to `curl_multi_add_handle'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x495): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x4b6): undefined reference to `curl_multi_perform'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x4da): undefined reference to `curl_multi_info_read'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x516): undefined reference to `curl_easy_getinfo'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x521): undefined reference to `curl_easy_strerror'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x582): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x5cb): undefined reference to `curl_multi_perform'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x610): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x628): undefined reference to `curl_multi_remove_handle'
collect2: ld returned 1 exit status
make[1]: *** [build/release-mingw32-x86/tremulous.x86.exe] Error 1
make[1]: Leaving directory `/c/Program Files/Tremulous/tremulous-1.1.0-src'
make: *** [build_release] Error 2



I DO have the mingw32 cURL 7.14 development package.
Logged
kevlarman

*

Turrets: +291/-295
Posts: 2737



« Reply #21 on: May 06, 2007, 01:34:17 AM »

Quote from: "Humming Bird"
Hmm... I need help compiling the backport with Mingw32 (gcc 3.4.5)

The last few lines is an curl issue which i get:
Code:

build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0xd6): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x1b5): undefined reference to `curl_easy_init'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x20b): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x23a): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x258): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2b7): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2bc): undefined reference to `curl_version'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x2ed): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x30b): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x329): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x347): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x365): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x382): more undefined references to `curl_easy_setopt' follow
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3a5): undefined reference to `curl_multi_init'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3c2): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x3e2): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x420): undefined reference to `curl_multi_remove_handle'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x42d): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x457): undefined reference to `curl_multi_add_handle'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x495): undefined reference to `curl_easy_setopt'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x4b6): undefined reference to `curl_multi_perform'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x4da): undefined reference to `curl_multi_info_read'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x516): undefined reference to `curl_easy_getinfo'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x521): undefined reference to `curl_easy_strerror'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x582): undefined reference to `curl_multi_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x5cb): undefined reference to `curl_multi_perform'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x610): undefined reference to `curl_easy_cleanup'
build/release-mingw32-x86/client/cl_curl.o:cl_curl.c:(.text+0x628): undefined reference to `curl_multi_remove_handle'
collect2: ld returned 1 exit status
make[1]: *** [build/release-mingw32-x86/tremulous.x86.exe] Error 1
make[1]: Leaving directory `/c/Program Files/Tremulous/tremulous-1.1.0-src'
make: *** [build_release] Error 2



I DO have the mingw32 cURL 7.14 development package.
it looks like it can't find any of the curl headers, so i would make sure that you have them in the right place, or if they are in the right place, you may have to edit the makefile to add -I/path/to/curl. (on a side note, if you have a *nix box, i've always found compiling my windows copy of tremulous on it simpler than setting up mingw on windows)
Logged

Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----
Humming Bird


Turrets: +0/-0
Posts: 3


« Reply #22 on: May 06, 2007, 01:39:16 AM »

cURL headers?  i thought the backport patch created them in the proper folders.  well I also have it in the mingw direcctory.

So in my case I use "-I /c/MinGW/include/curl"?


Oh yeah, and since I = n00b

Is it
Code:

BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -I/c/MinGW/include/curl


under mingw?
Logged
kevlarman

*

Turrets: +291/-295
Posts: 2737



« Reply #23 on: May 06, 2007, 01:46:42 AM »

yes, just make sure you edit the right section of the makefile (search for ifeq($(PLATFORM),mingw32) )
Logged

Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----
Humming Bird


Turrets: +0/-0
Posts: 3


« Reply #24 on: May 06, 2007, 01:48:58 AM »

Oh yeah, since i'm using this patch:

http://trem.tjw.org/backport/tremulous-svn755.patch

Is http://v1.risujin.org/tremulous/#backport a newer version of the backport?
Logged
Risujin


Turrets: +33/-13
Posts: 740


WWW
« Reply #25 on: May 06, 2007, 04:56:32 AM »

Quote from: "Humming Bird"

On the site it says: SVN931
Logged
tyranis


Turrets: +3/-5
Posts: 44


« Reply #26 on: July 01, 2007, 03:06:10 PM »

I compiled it no errors, but the executable goes to a gray screen instead of the intro movie and is non functional.
Logged
kevlarman

*

Turrets: +291/-295
Posts: 2737



« Reply #27 on: July 01, 2007, 04:12:24 PM »

Quote from: "tyranis"
I compiled it no errors, but the executable goes to a gray screen instead of the intro movie and is non functional.
if you compile an unpatched client it will just crash due to lack of a proper ui.qvm.
(btw thanks for bumping this, i was looking for it so i could sticky it)
Logged

Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----
Pat AfterMoon

*

Turrets: +3/-1
Posts: 53


WWW
« Reply #28 on: July 05, 2007, 10:57:27 AM »

I Just want to say "thank you Risujin" Smiley
The title "sweet guide" is perfectly adequate.

PS : For those like me who have problems with the font displayed by the default MSys console (rxvt.exe), you can follow the indications given in msys.bat and use sh.exe.
Quote
If you don't want to use rxvt then rename the file rxvt.exe to something else.  Then sh.exe will be used instead.
Logged
Paradox

*
*

Turrets: +253/-250
Posts: 2610


I eat babies!


WWW
« Reply #29 on: July 05, 2007, 08:52:36 PM »

Would cygwin work instead of msys?
Oh and i get error 2?
Logged


∧OMG ENTROPY∧
Pages: [1] 2 3 4 5   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!