Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile pifm_sstv.c #1

Open
matthewpatt opened this issue Apr 10, 2015 · 2 comments
Open

unable to compile pifm_sstv.c #1

matthewpatt opened this issue Apr 10, 2015 · 2 comments

Comments

@matthewpatt
Copy link

Hi,

I'm new to Raspberry Pi. I was wondering if you could help me out and tell me what I need to do to get pifm_sstv to compile. I am getting error messages when I try the following command

gcc pifm_sstv.c -o pifm_sstv -lm -lmagic -lgd

Can you tell me which libraries I need to use to compile pifm_sstv?

I receive the following error message several times:

Unknown type or name class

Thanks,
Matt

@AgriVision
Copy link
Owner

please have a look at: http://www.agri-vision.nl/CMS/index.php?option=com_content&view=article&id=54:pisstv&catid=71:projects&Itemid=101

You have to install libgd2-xpm-dev and libmagic-dev:

pi@rpicamera ~/sstv $ sudo apt-get install libgd2-xpm-dev 
pi@rpicamera ~/sstv $ sudo apt-get install libmagic-dev 
pi@rpicamera ~/sstv $ gcc -lm -lgd -lmagic -o pisstv pisstv.c

@matthewpatt
Copy link
Author

Thanks for the reply. I actually figured it out not long after I messaged you. The problem ended up being that I was trying to use the gcc compiler when I should have used g++.

Matt

Sent from Outlook 365 Mobile App

Sent from Outlookhttp://taps.io/outlookmobile 365 Mobile App

On Fri, Apr 17, 2015 at 7:27 AM -0700, "AgriVision" <[email protected]mailto:[email protected]> wrote:

please have a look at: http://www.agri-vision.nl/CMS/index.php?option=com_content&view=article&id=54:pisstv&catid=71:projects&Itemid=101

You have to install libgd2-xpm-dev and libmagic-dev:

pi@rpicamera ~/sstv $ sudo apt-get install libgd2-xpm-dev
pi@rpicamera ~/sstv $ sudo apt-get install libmagic-dev
pi@rpicamera ~/sstv $ gcc -lm -lgd -lmagic -o pisstv pisstv.c

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-93996630.

Click http://www.turner-industries.com/PageDisplay.asp?p1=23778 herehttp://www.turner-industries.com to learn more about Turner Industries.

Privileged and/or confidential information may be contained in this message. If you are not the addressee (or authorized to deliver this message to the addressee), please destroy this message and notify the sender by reply email. Opinions, conclusions and other information in this message that do not relate to official business of Turner Industries Group, L.L.C. or its subsidiaries (collectively "Turner") shall be understood as neither given nor endorsed by Turner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants