DrGeoff / cec_simplest

The simplest example program to show CEC in action
The Unlicense
20 stars 5 forks source link

Build Command #1

Closed EMJB closed 9 years ago

EMJB commented 9 years ago

The command in the "build.sh" file and in the one in the comments at the top of the "cpp" file are different. Only the former works for me on my Pi1 with libcec version 3.0.1. - have yet to try it on my Pi2.

DrGeoff commented 9 years ago

Fixed.

I've harmonized the build commands. I've also fixed a compile issue.

Could you git pull and let me know of any issues?

Thanks, Geoff

EMJB commented 9 years ago

Had a quick look, and:

 (1) "-ldl" still seems to be missing from the version in the .cpp 

comments. Perhaps erroneously, I had attributed my compilation error to this

  (2) "-g4.8" is now missing from both - no idea whether this is 

important, but I think it is needed for compiling libcec itself.

but sorry I may not be in a position to try a new version for a couple of days.

Regards,

EMJB

On 31/07/2015 10:54, DrGeoff wrote:

Fixed.

I've harmonized the build commands. I've also fixed a compile issue.

Could you git pull and let me know of any issues?

Thanks, Geoff

— Reply to this email directly or view it on GitHub https://github.com/DrGeoff/cec_simplest/issues/1#issuecomment-126630117.

EMJB commented 9 years ago

Further to my previous email, have managed to give the build file a quick try with the old cpp file- the "-4.8" appears to be optional, but the "-ldl" to be essential when run on a Pi1, but haven't had a chance t try on a Pi2 yet - have some other problems on that getting in the way.

Regards,

EMJB

On 31/07/2015 10:54, DrGeoff wrote:

Fixed.

I've harmonized the build commands. I've also fixed a compile issue.

Could you git pull and let me know of any issues?

Thanks, Geoff

— Reply to this email directly or view it on GitHub https://github.com/DrGeoff/cec_simplest/issues/1#issuecomment-126630117.

DrGeoff commented 9 years ago

Hi EMJB,

I've pushed a new build.sh that just grabs the example build command out of the cpp file. The two can never be out of sync now. And thanks for noting that one had -ldl and the other didn't. Yes it is necessary and that is also fixed.

Best wishes, Geoff

EMJB commented 9 years ago

Thanks,

EMJB

On 01/08/2015 10:18, DrGeoff wrote:

Hi EMJB,

I've pushed a new build.sh that just grabs the example build command out of the cpp file. The two can never be out of sync now. And thanks for noting that one had -ldl and the other didn't. Yes it is necessary and that is also fixed.

Best wishes, Geoff

— Reply to this email directly or view it on GitHub https://github.com/DrGeoff/cec_simplest/issues/1#issuecomment-126889771.