Page 1 of 1

Compiling Program from Source Code

Posted: Sat Feb 24, 2018 5:29 am
by greencatshomie
Hi all!

I recently got a Raspberry Pi Zero and successfully got it setup, controlling it over USB from my laptop.

I would like to install a program, however the linux version is source code and I have not been able to figure out how to go about installing it.
I unzipped the files to a directory on the pi and tried to use the make command, however it returns an error. Any help would be greatly appreciated!

This is the link I am using https://github.com/hawkinsp/ZTopo

Thanks

Re: Compiling Program from Source Code

Posted: Sat Feb 24, 2018 2:43 pm
by FTrevorGowen
greencatshomie wrote:
Sat Feb 24, 2018 5:29 am
Hi all!

I recently got a Raspberry Pi Zero and successfully got it setup, controlling it over USB from my laptop.

I would like to install a program, however the linux version is source code and I have not been able to figure out how to go about installing it.
I unzipped the files to a directory on the pi and tried to use the make command, however it returns an error. Any help would be greatly appreciated!

This is the link I am using https://github.com/hawkinsp/ZTopo

Thanks
The github link points to a project that, AFAICT, hasn't been updated since 2010, two years before the first Pi so it's unlikely (and probably never tested) to work on a Pi.
Trev.

Re: Compiling Program from Source Code

Posted: Sat Feb 24, 2018 2:56 pm
by jahboater
And it looks like it needs "cmake" instead of "make" anyway.

Re: Compiling Program from Source Code

Posted: Sat Feb 24, 2018 5:44 pm
by Heater
If you don't tell us the error message then it's impossible to help. We are not psychic.

Given that the code has not been maintained for 8 years and has quite list of dependencies I can imagine it might be a challenge to build it.

You could raise an issue on it's github repository. If you are lucky the author might like to help you.

Do state exactly what you did and what the error message was.