Hello,
I am currently trying to run 'nxttools' on an Ubuntu 10.04 LTS (64-bit) and cannot run the program. This is my error message:
>nxttools: 1: Syntax error: "(" unexpected
and I do have permissions to execute the file (output of ls -ao)
>-rwxrwx--- 1 behanius 6701444 2010-05-25 17:10 nxttools
I resorted to running nxttools from the terminal (Bash) as trying to execute through Gnome leads to no response.
Any help is appreciated, thank you.
- Behanius
Problem Running NXTTOOLS
Re: Problem Running NXTTOOLS
I can't tell what you are running and what parameters you are passing. Can you post your full command line that you type in the terminal window? nxttools is a command line application without any GUI so it cannot be run by double clicking on the executable. If you prefer GUI tools you can use NeXTTools for Linux or my early release binary of NeXT Command Center (nxtcc) for Linux.
John Hansen
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Re: Problem Running NXTTOOLS
I'm trying to run NeXT Tools via http://bricxcc.sourceforge.net/nexttools_linux.zip
After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root).
The error message and system parameters are in my first post and are still relevant. Also, I'm not sure of the parameters you are referring to as I did not find documentation for such features for this program.
Hopefully this yields more info.
After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root).
The error message and system parameters are in my first post and are still relevant. Also, I'm not sure of the parameters you are referring to as I did not find documentation for such features for this program.
Hopefully this yields more info.
Re: Problem Running NXTTOOLS
Instead of providing a binary file is it possible to post the source for NeXT Tools?
-
- Posts: 27
- Joined: 29 Sep 2010, 19:34
- Location: Denmark
- Contact:
Re: Problem Running NXTTOOLS
behanius wrote:I'm trying to run NeXT Tools via http://bricxcc.sourceforge.net/nexttools_linux.zip
After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root).
Code: Select all
torsten@czernobog$ file nxttools
nxttools: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
Code: Select all
./nxttools
Re: Problem Running NXTTOOLS
The source code for all my tools is available in the BricxCC SVN repository. To build NeXT Tools for Linux you will need FreePascal and Lazarus installed for Linux. Then you can simply use the toolsunix.mak to make nxttools or nxtcc. Here's a URL that shows what this makefile looks like:
http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain
You would modify this file, if needed, to point to where you have Lazarus/FreePascal installed.
make -ftoolsunix.mak nxttools realclean
make -ftoolsunix.mak nxttools
The command line tool called nexttool can be built using nexttool.mak:
http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain
Hope this helps,
John Hansen
http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain
You would modify this file, if needed, to point to where you have Lazarus/FreePascal installed.
make -ftoolsunix.mak nxttools realclean
make -ftoolsunix.mak nxttools
The command line tool called nexttool can be built using nexttool.mak:
http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain
Hope this helps,
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
http://bricxcc.sourceforge.net/
Re: Problem Running NXTTOOLS
Thank you both bullestock and alanofosc. I'm up and running and look forward to tinkering!
Who is online
Users browsing this forum: No registered users and 4 guests