Crystal Space
Welcome, Guest. Please login or register.
November 01, 2014, 05:07:16 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8903 Members
Latest Member: Patfor986
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  FED UP WITH TRYING TO COMPILE CRYSTAL CORE !!!!!!!!
« previous next »
Pages: 1 2 [3] 4 5 Print
Author Topic: FED UP WITH TRYING TO COMPILE CRYSTAL CORE !!!!!!!!  (Read 33690 times)
deckerego
Full Member
***
Posts: 149


View Profile WWW
« Reply #30 on: June 27, 2005, 04:22:15 pm »

Also the CEL environment variable needs to be set...
Logged
Tony
Guest
« Reply #31 on: June 27, 2005, 05:42:22 pm »

How the hell do I do that ?
Logged
deckerego
Full Member
***
Posts: 149


View Profile WWW
« Reply #32 on: June 27, 2005, 08:50:17 pm »

Using the export commands you detailed in your first post. In most Unix shells, `export` sets environment variables.
Logged
Tony
Guest
« Reply #33 on: June 28, 2005, 03:47:02 am »

Yes, I export crystal, how do I tell if it's set right ?
Logged
deckerego
Full Member
***
Posts: 149


View Profile WWW
« Reply #34 on: June 28, 2005, 04:05:02 pm »

One easy way is to echo the variable and see if it's defined correctly. For example, the command:
`echo $CRYSTAL`
should return the absolute path to your Crystal Space installation.

You can also try
`cd $CRYSTAL`
which should change the current working directory to your Crystal Space directory.
Logged
Tony
Guest
« Reply #35 on: June 29, 2005, 03:03:28 am »

Nothing happens with any of those, is the folder name suppose to be CRYSTAL ? Because the name of the folder is C:\CS\CS

Please tell me what to do if it's not the answer.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #36 on: June 29, 2005, 11:29:48 am »

Quote from: Tony
Nothing happens with any of those, is the folder name suppose to be CRYSTAL ? Because the name of the folder is C:\CS\CS

Please tell me what to do if it's not the answer.


The folder must not be named CRYSTAL. You should set an environment variable (in your system configuration panel) which is called CRYSTAL and has the value C:\CS\CS

Greetings,
Logged
deckerego
Full Member
***
Posts: 149


View Profile WWW
« Reply #37 on: June 29, 2005, 04:32:39 pm »

From your earlier posts it seemed that you were using Unix. Are you building on Linux or Windows?
Logged
Tony
Guest
« Reply #38 on: June 30, 2005, 04:41:05 am »

If I was building on Linux, I would need the MinGW and Msys. Ofcourse it's for windows, SP2 XP
Logged
Tony
Guest
« Reply #39 on: June 30, 2005, 04:42:02 am »

Correction, Wouldn't need the MinGW and Msys
Logged
deckerego
Full Member
***
Posts: 149


View Profile WWW
« Reply #40 on: June 30, 2005, 05:42:43 pm »

In that case your environment variables could be tested with `echo %CRYSTAL%` and `echo %CEL%`
Logged
Tony
Guest
« Reply #41 on: July 01, 2005, 12:14:44 am »

It gave me this

Tony@TONY-763C465C03 ~
$ echo %CEL%
%CEL%

Tony@TONY-763C465C03 ~
$ echo %CRYSTAL%
%CRYSTAL%

Tony@TONY-763C465C03 ~
$
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #42 on: July 01, 2005, 04:47:07 am »

Quote from: deckerego
In that case your environment variables could be tested with `echo %CRYSTAL%` and `echo %CEL%`


No that's wrong. Mingw/msys uses linux syntax for env vars. You must test $CRYSTAL and $CEL.

Greetings,
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #43 on: July 01, 2005, 04:48:00 am »

Quote from: Tony
It gave me this

Tony@TONY-763C465C03 ~
$ echo %CEL%
%CEL%

Tony@TONY-763C465C03 ~
$ echo %CRYSTAL%
%CRYSTAL%

Tony@TONY-763C465C03 ~
$


Type 'echo $CRYSTAL' and 'echo $CEL' instead. If they are not set then use the following commands to set them:

export CRYSTAL=/c/path_to_crystapspace
export CEL=/c/path_to_cel

Note that you MUST use forward slashes (not like windows does) and instead of c:\ you write/c/

Greetings,
Logged
Tony
Guest
« Reply #44 on: July 01, 2005, 06:26:00 am »

Tony@TONY-763C465C03 ~
$ echo $CEL    


Tony@TONY-763C465C03 ~
$ export CRYSTAL=/c/CS/CS

Tony@TONY-763C465C03 ~
$ export CEL=/c/CS/CS/CEL

Tony@TONY-763C465C03 ~
$ echo $CEL
/c/CS/CS/CEL

Tony@TONY-763C465C03 ~
$ export CRYSTAL=/c/CS/CS

Tony@TONY-763C465C03 ~
$ echo $CRYSTAL
/c/CS/CS

Tony@TONY-763C465C03 ~
$

celtst works Cheesy Now how I get Crystal Core to work ? Note it's in /c/cc directory.
Logged
Pages: 1 2 [3] 4 5 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 4.563 seconds with 16 queries.