Getting Halcompile to work

More
10 years 1 month ago #80026 by andypugh
Replied by andypugh on topic Getting Halcompile to work

jwsigler wrote: If people like to use a Windows based system to create their HAL component files, I have found that WordPad can be used to create Hal Component files.


Notepad++ is probably a better bet, it does syntax highlighting and other nice things.

Ithe sooner they release the Linux version the better :-)

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80028 by jtc
Replied by jtc on topic Getting Halcompile to work

andypugh wrote:

jwsigler wrote: If people like to use a Windows based system to create their HAL component files, I have found that WordPad can be used to create Hal Component files.


Notepad++ is probably a better bet, it does syntax highlighting and other nice things.

Ithe sooner they release the Linux version the better :-)


I use it on Linux, emulated with wine.

For me is one of the first things to do when installs Linux :)

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293578 by MFairleaf
I had this same error message but for different reasons. I don't think your problem was line endings. It is possible that when you retyped the file you fixed one or more syntax errors.

In my case I had forgotten to put the double semi-colon at the start of my custom component.

To get halcompile to work, try copying one of the examples into your text editor saving as example.comp and then try to halcompile --preprocess example.comp

That should at least prove that halcompile is working even if it doesn't make your error apparent.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293604 by andypugh
Replied by andypugh on topic Getting Halcompile to work
"need more than one value to unack" is caused by a failure at the pint that the input file is split into two sections at the ";;" marker.
There could probably be a specific test for this step going wrong, wrapping the split in a try/except

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293605 by andypugh
Replied by andypugh on topic Getting Halcompile to work
Incidentally, 8 yeas ago I was a fan of Notepad++ but now I use Geany on Linux, Windows and Mac.

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum