PlaneShift

Development => Development Deliberation => VisualC++ => Topic started by: steveli on May 04, 2009, 04:31:39 am

Title: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 04:31:39 am
I downloaded the source builder errors occur, the lack of a number of header files, such as csutil\threading\rwmutex.h, csutil\threadmanager.h. These files are the documents CS, but no These files in the Crystal Space. I would like to ask how to do? Thanks.
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: Pizik on May 04, 2009, 04:54:00 am
Did you also download and compile the CS1.4(32140) source? Have you set your CRYSTAL environment variable to your CS directory?
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 05:29:12 am
I have read the document 'https://planeshift.svn.sf.net/svnroot/planeshift/trunk/docs/compiling.html', download 'https://crystal.svn.sourceforge.net/svnroot/crystal/CS/branches/release/V1.4', select "Revision", and paste the current CS revision number: 32140. install 'http://www.crystalspace3d.org/downloads/cs-win32libs/cs-win32libs-1.3_004.exe', copy CS Libs DLLs over to my directory C:\development\CS. There are other work, all in accordance with Document Actions, however, these documents do not exist to my disk.
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 05:42:29 am
Did you also download and compile the CS1.4(32140) source? Have you set your CRYSTAL environment variable to your CS directory?
Yes, i did not set CRYSTAL environment variable.Thank you very much!
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 06:40:05 am
I set CRYSTAL environment variable, and reinstall cs-win32libs-1.3_004.exe.
However, these files do not exist to my disk, does CS have changed?
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: Pizik on May 04, 2009, 07:02:05 am
Where are you getting the PlaneShift source from? Is it Trunk or Stable?
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 07:35:13 am
Where are you getting the PlaneShift source from? Is it Trunk or Stable?


I download source from https://planeshift.svn.sourceforge.net/svnroot/planeshift/trunk
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: Xordan on May 04, 2009, 08:29:43 am
You're using the wrong versions.

CS 1.4 goes with PS stable.
CS trunk goes with PS trunk.
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 08:05:17 pm
You're using the wrong versions.

CS 1.4 goes with PS stable.
CS trunk goes with PS trunk.

You were right, I downloaded the CS1.4 and PS trunk, now, i had CS1.4 and PS stable, is right.
Title: Re: No such file or directory 'rwmutex.h ...'
Post by: steveli on May 04, 2009, 08:07:21 pm
@ Pizik : Thank you very much.
@ Xordan : Thank you very much.