On Wed, Aug 19, 2009 at 6:01 PM, cocos2_fan<[email protected]> wrote: > > Hi, I am configuring Eclipse as an IDE for programing in cocos 2D. > The only directory I am using right now is the cocos2d-0.3.0. At this > point I can execute all the examples that comes with cocos2d-0.3.0 > using the eclipse IDE. > > However I have a little problem: When using the tab "Problems" (in > the same place where i see the "error log" tab) in the IDE I see lots > of message Errors and lots of message Warnings. For Example there > is an error called "Undefined variable : pyglet" in the files > demo_sprites.py ,test_menu_bottom.py , test_menu_top_left.py etc. > > > The weird thing is that the examples run without problem so it must be > a configuration problem in the eclipse, i have tried everything > without success. > > I am using Eclipse 3.5.0 in a MacBookPro running Leopard .I have > installed Pyglet and configured Pydev from Eclipse. The Python > version is 2.5.4 . > >
It is possible that eclipse is running with their own version of python that does not have pyglet installed. Maybe thats why it cant find it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
