Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
first code won't run
#5
Thanks Patrick

ok i got it, with the new later distro, you have to include the pthread library as well, it wasn't needed with the older Jessie version of Raspbian but the new libs do insist on it.

If you just add pthread your code builds and runs just fine I didn't add that in my little warning on the download page, I will change that tonight when I can edit the website.

Thanks for finding this, its annoying that updates to the OS cause these kinds of niggles but that's why the site is here to keep things up to date. I'll add pthread to the list of files needed. And this post will let people know of this error
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Messages In This Thread
first code won't run - by pahendriks - 03-14-2018, 10:32 PM
RE: first code won't run - by Brian Beuken - 03-14-2018, 10:53 PM
RE: first code won't run - by Brian Beuken - 03-14-2018, 11:36 PM
RE: first code won't run - by pahendriks - 03-15-2018, 07:39 AM
RE: first code won't run - by Brian Beuken - 03-15-2018, 08:40 AM
RE: first code won't run - by pahendriks - 03-15-2018, 03:15 PM
RE: first code won't run - by Brian Beuken - 03-15-2018, 08:44 AM
RE: first code won't run - by Brian Beuken - 03-15-2018, 03:28 PM
RE: first code won't run - by pahendriks - 03-15-2018, 03:35 PM
RE: first code won't run - by Brian Beuken - 03-15-2018, 03:49 PM
RE: first code won't run - by sephris - 04-08-2018, 11:38 PM
RE: first code won't run - by Brian Beuken - 04-09-2018, 12:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)