Crystal Space
Welcome, Guest. Please login or register.
October 02, 2014, 09:37:39 am

Login with username, password and session length
Search:     Advanced search
9020 Posts in 2053 Topics by 8577 Members
Latest Member: Anerome
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  A beginners guide to using CS with OpenSource tools
« previous next »
Pages: [1] Print
Author Topic: A beginners guide to using CS with OpenSource tools  (Read 6876 times)
dirkk
Newbie
*
Posts: 28


View Profile
« on: January 09, 2005, 11:25:39 am »

This is a very rough starter for possible CS users.

I had a look at CS some time ago, and AFAIR the old distributions had pre-compiled .EXEs in it. Since they are gone now, I thought it might be a good idea to have a guide to get the walktest demo compiled.

It all boils down to download several packages, install them in the right order, and compile.


1. download the most recent CrystalSpace from here. At this time of writing it is the version cs098 which is here.
2. unzip this archive. There is a 'cs' folder in it - put it into C:\cs (or whatever path you like).
3. download MingW and MSYS from here. These packages are typically called `MinGW-3.?.?-?.exe' and `MSYS-1.?.?.exe', where the question marks stand for the actual version numbers.
4. install the MinGW compiler at `C:\mingw32'.
5. Install MSYS. At the prompts answer 'y' twice and `C:\mingw32' when prompted for the path.
6. download the latest windows support file from here.
7. Run it. In the 'Select Components' dialog, every option is checked.
  - in 'Win32 libraries' uncheck 'MSVC-only libraries' and 'Cygwin-only libraries'
  - in 'Support for development environments' uncheck 'Visual 6 and 7' and 'Cygwin'
  (this only applies if you really don't work with VC or Cygwin, obviously)
  Leave all other options as they are during installation.
8. Start MSYS, there should be an icon on your desktop. On the command prompt, enter the following three lines
   'cd C:\cs'
   './configure'
   'make -k all'
9. Wait. Wait more.
10. Enter 'walktest -relight'. You are there: take a walk in the demo level.
 
 
Some remarks:
  - I post this here because the community server is down.
  - I will try to do this for Mac OSX, too (following this link).
- For a more elaborate approach visit the page I had most of this information from (Thanks, Eric Sunshine!)

@moderator: if this post doesn't belong here, then delete or move it at will.
Logged
Keen
Webmaster
Administrator
Newbie
*****
Posts: 46



View Profile WWW Email
« Reply #1 on: January 10, 2005, 02:52:52 pm »

Sounds great, why not create an article in Crystal Community?
Logged

Keen

Stop emailing me with scary CS questions! Direct your emails to jorrit or thebolt!

For Crystal Space Tutorials, articles and other stuff, visit community.crystalspace3d.org
dingobloo
Idle Extrordinare.
Global Moderator
Full Member
*****
Posts: 125


View Profile WWW
« Reply #2 on: January 12, 2005, 03:37:16 pm »

As he said the server went down, but luckily thebolt was quick to remedy this, you should be able to submit this tutorial now!
Logged
dirkk
Newbie
*
Posts: 28


View Profile
« Reply #3 on: January 12, 2005, 04:24:09 pm »

ok, I'll give it a try!
Logged
dingobloo
Idle Extrordinare.
Global Moderator
Full Member
*****
Posts: 125


View Profile WWW
« Reply #4 on: January 12, 2005, 10:45:42 pm »

I made some minor changes like adding a link to the CVS version of win32 libs and tutorial incase they wanted that, and moved something into the header. It is now approved and can be seen on the articles page. i also changed it from "Make -k all" to "jam" because CS doesnt use the make system, make just calls jam in CS anyway. also i changed it so that it's using the new renderer because it's now default, best to get people to use it.
Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #5 on: December 07, 2005, 04:26:42 pm »

I maked the first step as: "configure". /The msys emulated console worked about 2 hours.../

When I wrote the second step "make -k all" msys wrote this:
make: *** No rule to make target `all'.

When I wrote the second step "make" msys wrote this:
make: *** No targets specified and no makefile found.  Stop.

What is the problem in new stable developing?

Sad

/I want use the ms visual c++./

[SOM]Roberto
« Last Edit: December 07, 2005, 04:30:36 pm by [SOM]Roberto » Logged
sunshine
Administrator
Sr. Member
*****
Posts: 294


View Profile
« Reply #6 on: December 07, 2005, 06:02:35 pm »

We would need to see the output of your 'configure' run, but at a guess, I would say that it failed to generate the Makefile. To find out why it failed to create Makefile, you would need to post the relevant portion of config.log.

As for Visual C++, you can now download MSVC8 Express version for free.
Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #7 on: December 07, 2005, 08:19:46 pm »

Thx.
I try to compile the CS. Smiley)))
Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #8 on: December 08, 2005, 03:26:25 pm »

-I try compiled CS with Visual c++. "libcrystal.a not found..."
-When I compiled CS with msys wrong again.
Any compiling not possible in windows for CS...

The INSTALL said that: "Download and install the cs-win32libs"
Which directory I can installed all packages exactly?
for example c:\CS and cs-win libs c:\CS\libs\ Huh

Linux compiled is perfetctly but windows is difficult. Sad(
« Last Edit: December 08, 2005, 03:48:59 pm by [SOM]Roberto » Logged
obi_1
Guest


Email
« Reply #9 on: December 08, 2005, 08:51:15 pm »

-I try compiled CS with Visual c++. "libcrystal.a not found..."

libcrystalspace.a? with visual?

-When I compiled CS with msys wrong again.
Any compiling not possible in windows for CS...

not true

The INSTALL said that: "Download and install the cs-win32libs"
Which directory I can installed all packages exactly?
for example c:\CS and cs-win libs c:\CS\libs\ Huh

c:\CS\ c:\cs-win-libs for example

Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #10 on: December 08, 2005, 10:40:53 pm »

I like mingw with Code::blocks.
I try complilng msys again, and I will write the error log...
Logged
sunshine
Administrator
Sr. Member
*****
Posts: 294


View Profile
« Reply #11 on: December 09, 2005, 04:31:28 am »

Install cs-win32libs in its own directory (except when it asks for the location of your CS source directory, in which case tell it the correct location).

Which version of CS are you building? There is no, and never has been, a libcrystal.a. In the 0.99 version of CS, there is a libcrystalspace.a, and in the 0.98 version, there were libraries such as libcsutil.a, libcsgeom.a, etc.
Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #12 on: December 09, 2005, 02:29:26 pm »

1 CS: 0.99r 2005-09-03
2 MinGW 5.0.0                     
3 MSYS-1.0.11-2004.04.30-1
4 cs-win32libs-0.99r0_015

mingw and msys: http://sourceforge.net/project/showfiles.php?group_id=2435
CS and winlibs: https://sourceforge.net/project/showfiles.php?group_id=649

I try compiled again.
If compililing wrong again, I linking the msys console log and config log in http://rafb.net/paste/
« Last Edit: January 03, 2006, 12:03:15 pm by [SOM]Roberto » Logged
[SOM]Roberto
Jr. Member
**
Posts: 79


View Profile Email
« Reply #13 on: December 09, 2005, 05:14:40 pm »

Okay. Compile going on...
I waiting the end.
« Last Edit: January 03, 2006, 12:02:23 pm by [SOM]Roberto » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 9.263 seconds with 17 queries.