So I  updated to the latest snapshot, and that allowed me to get past the first 
couple compile errors that I was having.  Now I am getting a new error with 
threads.  I copied the example found at: 

http://www.crystalspace3d.org/docs/online/manual/Threading.php#0
(the first example)

And I received the compile error:

 error: ‘CS::Threading::Runnable’ is an inaccessible base of ‘MyRunner’
on line:
r.AttachNew (new MyRunner);

Any help?,
Jim 

PS: This is just info about how I'm going about things.  
When I started back in 2003, I was a novice and didn't even
know how to read the API.  I needed a lot of help to get started
then.  Now I'm better than a novice, but I'm a little bit
rusty so I need some help to get up and running again.  

Back in 2003, I stuck with one version of CrystalSpace and
didn't update because the updating would take me longer to
code than my actual application itself!  Now that I am a better
programmer and more confident with my abilities in CS, I think
that I'll keep up to date with the latest snapshots.  


Jim Sager <[EMAIL PROTECTED]> wrote: Oktal,

You're right. I immediately posted after you said that, but the mailing list 
didn't get my post for some reason.

,Jim

Mathew Sutcliffe <[EMAIL PROTECTED]> wrote: I looked more closely and it turns 
out I was wrong, in a way.
csutil.h includes csutil/threadjobqueue.h which in turn includes 
csutil/threading/thread.h

It doesn't hurt to include it explicitly from csutil.h though, obviously.

Anyway, it seems this was not the cause of Jim's problem :/

Eric Sunshine wrote:
> The csutil.h master header has been corrected in the SVN repository.
> 
> -- ES
> 
> On May 28, 2007, at 3:23 PM, Mathew Sutcliffe wrote:
> 
> 
>>It seems the header file csutil.h (and thus the master header file
>>crystalspace.h) don't #include  "csutil/threading/thread.h".
>>
>>Can a dev say whether this should be the case?
>>
>>For now you could just add the include directive to simpmap yourself.
>>
>>Jim Sager wrote:
>>
>>>using namespace CS::Threading;  //line 25
>>>
>>>class MyRunner : Runnable    //line 28
>>>
>>>apps/tutorial/simpmap/simpmap.cpp:25: error: ‘Threading’ is not a
>>>namespace-name
>>>apps/tutorial/simpmap/simpmap.cpp:25: error: expected namespace-name
>>>before ‘;’ token
>>>apps/tutorial/simpmap/simpmap.cpp:28: error: expected class-name  
>>>before
>>>‘{’ token

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data.  Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

        

---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! 
Games.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]


       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection. 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to