Author Topic: No such file or directory 'rwmutex.h ...'  (Read 1842 times)

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
No such file or directory 'rwmutex.h ...'
« 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.
« Last Edit: May 04, 2009, 04:37:27 am by steveli »

Pizik

  • Hydlaa Citizen
  • *
  • Posts: 235
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #1 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?
Proceeding through life like a cat without whiskers, perpetually stuck behind the refrigerator.

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #2 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.

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #3 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!

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #4 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?

Pizik

  • Hydlaa Citizen
  • *
  • Posts: 235
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #5 on: May 04, 2009, 07:02:05 am »
Where are you getting the PlaneShift source from? Is it Trunk or Stable?
Proceeding through life like a cat without whiskers, perpetually stuck behind the refrigerator.

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #6 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
« Last Edit: May 04, 2009, 07:58:52 am by steveli »

Xordan

  • Moderator
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #7 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.

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #8 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.

steveli

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: No such file or directory 'rwmutex.h ...'
« Reply #9 on: May 04, 2009, 08:07:21 pm »
@ Pizik : Thank you very much.
@ Xordan : Thank you very much.