NBC Compiler Help!

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

NBC Compiler Help!

Post by bungeshea »

Hello,
I am trying to set up a NBC compiler that I downloaded from the BricxCC website on a portable hard drive. After consulting "Power Programming, Second Edition" I found out that to set up an NBC compiler by typing the following into the Command Prompt, if application is in the C:\nbc directory.
Image
I want to set up the compiler on a portable hard drive, let's say it's plugged into the H:\ Drive. What do I type into the CMD to assess the compiler?
Last edited by bungeshea on 01 Jun 2011, 03:50, edited 1 time in total.
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: NBC Compiler Help!

Post by muntoo »

So... you want to compile like this:

Code: Select all

nbc "%USERPROFILE%\Desktop\myprogram.nxc"
And make it portable? I'm confused...
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests