WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

0.5.00
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid
View previous topic :: View next topic  
Author Message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Tue Feb 20, 2007 3:44 am    Post subject: 0.5.00

When running wminput, I get:

Code:
line 2, column 10:
syntax error, unexpected '\n', expecting '='


Too bad I don't know what file it's talking about. Laughing
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Tue Feb 20, 2007 4:59 am    Post subject:

hint taken: print filenames with error messages

Assuming you did a default install and haven't modified any of the config files, the file it's talking about is /usr/local/share/CWiid/wminput/default, which is a symlink to /usr/local/share/CWiid/wminput/acc_ptr. The strange thing is, line 2 doesn't have 10 columns - it's a blank line.

What flex and bison versions are you using?

You might try 'wminput -c default' or 'wminput -c acc_ptr' just to be sure it's looking at the right file.
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Tue Feb 20, 2007 6:59 am    Post subject:

running wminput with -c acc_ptr works perfectly, while -c default obviously gives the same error as before.

...

My flex version is 2.5.33. My bison version is 2.3.

...

I haven't done an install. I prefer to keep compiled programs in my home directory. It's easier for me to manage that way.

With 0.5.00, I've had to make two new links in ~/.CWiid/ that point back to the 'plugins' and 'configs' folders for wminput, and then copy all of the plugins (*.o and *.so) up one directory so that they will be "seen".

My other (older) links are in /usr/local/lib/CWiid/plugins/, which points back to acc.so, and in /usr/lib which points to libwiimote.so.0.1. I've had those since oh... I dunno... v0.3.xx. I just make sure to keep putting the newer versions of CWiid in the same exact folder each time, and my links stay good.
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Tue Feb 20, 2007 1:41 pm    Post subject:

Hmmm....I'll take a look at the error handling, it sounds like it's not finding default, and possible grabbing garbage from somewhere. Do you have a file called default in the .CWiid directory anywhere? If not, try
ln -s acc_ptr default
from whatever directory the files are in.

Note that CWiid has a make uninstall target, if that's what's keeping you from installing, or you could do
./configure prefix=~/CWiid
to install to your home directory. Whatever floats your boat.

Can you reproduce your lag problem in wminput?
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Tue Feb 20, 2007 2:13 pm    Post subject:

abstrakraft wrote:
Hmmm....I'll take a look at the error handling, it sounds like it's not finding default, and possible grabbing garbage from somewhere. Do you have a file called default in the .CWiid directory anywhere?

That's odd.. I would have thought you'd know, so i didn't even mention it...

Running wminput without the default config file in place gives a different error about not finding the file named 'default'.

As for the lag, yes. But that's a separate matter. I'll get back around to that eventually, I promise. Smile
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Tue Feb 20, 2007 4:30 pm    Post subject:

Ah, so default does exist, and the universe again makes sense. Can you post its contents? (default's, not the universe's)
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Tue Feb 20, 2007 5:06 pm    Post subject:

'default' is default. It's just the example 'wminput' file copied from the doc folder and renamed to 'default'. Its contents are unchanged.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group