To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 27396
27395  |  27397
Subject: 
Re: new to nbc; invaders problem
Newsgroups: 
lugnet.robotics.nxt, lugnet.robotics
Date: 
Mon, 3 Mar 2008 19:29:24 GMT
Viewed: 
1999 times
  
In lugnet.robotics.nxt, Tim Rueger wrote:
   I’m just getting started with bricxcc (and winxp on my mac), so I’m hoping there’s something painfully obvious I’m missing.

I’ve compiled and run a few simple nbc and nxc programs (mostly from John’s book), but invaders.nbc isn’t working for me. I got my copy from:



I will check into this when I get home this evening but I think your problem may be that BricxCC and NBC do not automatically download the .RIC files referenced in the program source code. Those must be downloaded manually, which you can easily do using the NXT Explorer window. The program requires 17 .ric files which are in the images subdirectory. Just copy them to the NXT using the NXT Explorer and try running the program again.

I will see about updating the program to use a single parameterized .ric file instead of 17 separate files.

Hope this helps,

John Hansen



Message has 1 Reply:
  Re: new to nbc; invaders problem
 
John, Ah. That works fine. I guess I was thinking the graphics data would be compiled into the binary, but the lack of a path in the filenames in the various include files should have given me a clue. -Tim (...) (17 years ago, 3-Mar-08, to lugnet.robotics)

Message is in Reply To:
  new to nbc; invaders problem
 
I'm just getting started with bricxcc (and winxp on my mac), so I'm hoping there's something painfully obvious I'm missing. I've compiled and run a few simple nbc and nxc programs (mostly from John's book), but invaders.nbc isn't working for me. I (...) (17 years ago, 2-Mar-08, to lugnet.robotics.nxt, lugnet.robotics, FTX)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR