Installing BCM2835 in Netbeans running on IBM PC Win 10

136 views
Skip to first unread message

Icaros Savvides

unread,
Jul 30, 2018, 1:30:58 PM7/30/18
to bcm2835
I have installed netbeans along with cygwin on Windows 10 to write c programs for RPI and it compiles a sample C program fine.

I have downloaded bcm2835.h fine but I also need -lbcm2835.

Two questions really

1) Where can I download -lbcm2835 from as it's not at the same location as the bcm2835.h file?

2) Where do I put these two files once I have them?

Regards

Richard Murphy

unread,
Jul 30, 2018, 1:57:32 PM7/30/18
to bcm...@googlegroups.com
You will need to compile the bcm2835 library as well. You can get it here:  http://www.airspayce.com/mikem/bcm2835/bcm2835-1.56.tar.gz
No need to really do this since you do not have a GPIO interface on Windows 10 and I do not believe cygwin emulates one. All of the stuff in the bcm2825 library is specific to the ARM architecture. 

Richard


--
You received this message because you are subscribed to the Google Groups "bcm2835" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcm2835+u...@googlegroups.com.
To post to this group, send email to bcm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcm2835/2ea338e1-bdb7-4d77-b726-22fd87644dec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Arjan van Vught

unread,
Jul 30, 2018, 2:09:35 PM7/30/18
to bcm...@googlegroups.com


Op 30 jul. 2018, om 19:30 heeft 'Icaros Savvides' via bcm2835 <bcm...@googlegroups.com> het volgende geschreven:

I have installed netbeans along with cygwin on Windows 10 to write c programs for RPI and it compiles a sample C program fine.

In order to compile Raspbian / BCM2835 baremetal programs on an Intel platform, you would need to install an ARM toolchain.

You can also build your own ARM toolchain in Cygwin.

- Arjan

Icaros Savvides

unread,
Aug 4, 2018, 11:51:44 AM8/4/18
to bcm...@googlegroups.com
Thanks Richard but, as I said, I want to write code for RPi not for windows 10, I'm not looking to emulate or anything like that so I should be able to write and compile for RPi in netbeans on any platform.

On 30 July 2018 at 18:57, Richard Murphy <rm27...@gmail.com> wrote:
You will need to compile the bcm2835 library as well. You can get it here:  http://www.airspayce.com/mikem/bcm2835/bcm2835-1.56.tar.gz
No need to really do this since you do not have a GPIO interface on Windows 10 and I do not believe cygwin emulates one. All of the stuff in the bcm2825 library is specific to the ARM architecture. 

Richard

On Mon, Jul 30, 2018 at 12:31 PM 'Icaros Savvides' via bcm2835 <bcm...@googlegroups.com> wrote:
I have installed netbeans along with cygwin on Windows 10 to write c programs for RPI and it compiles a sample C program fine.

I have downloaded bcm2835.h fine but I also need -lbcm2835.

Two questions really

1) Where can I download -lbcm2835 from as it's not at the same location as the bcm2835.h file?

2) Where do I put these two files once I have them?

Regards

--
You received this message because you are subscribed to the Google Groups "bcm2835" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcm2835+unsubscribe@googlegroups.com.

To post to this group, send email to bcm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bcm2835/2ea338e1-bdb7-4d77-b726-22fd87644dec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

--
You received this message because you are subscribed to the Google Groups "bcm2835" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bcm2835+unsubscribe@googlegroups.com.

To post to this group, send email to bcm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages