Go to advanced search

by pwinwood
Tue Feb 19, 2013 9:07 pm
Forum: General discussion
Topic: Building Raspberry PI projects with Visual Studio
Replies: 8
Views: 7131

Re: Building Raspberry PI projects with Visual Studio

Personally I would take a look at BVRDE which runs on Windows and allows editing, compiling and debugging on the pi over SSH etc http://bvrde.sourceforge.net/.
It provides a similar experience to Visual Studio and is free.
by pwinwood
Mon Feb 18, 2013 7:27 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3745

Re: Agar - opensource GUI libs - (trying to build)

Now, I've got it working almost perfectly but I do not know how to get back to console afterwards. It seems like the sdl framebuffer freezes when I try to finish the program. Something like #include ... #include <SDL.h> static void windowClose(AG_Event *event) { AG_Window *win((AG_Window*)AG_PTR(1)...
by pwinwood
Fri Feb 08, 2013 1:21 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3745

Re: Agar - opensource GUI libs - (trying to build)

My bad. Once again I forgot to mention a (perhaps) relevant detail. I get that error when I do make depend all I'll try sudo it, just in case... EDIT: of course sudo don't do the miracle. Same :S Ah sorry, I misunderstood. The prerequistes for building Agar are documented here http://libagar.org/do...
by pwinwood
Fri Feb 08, 2013 1:16 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3745

Re: Agar - opensource GUI libs - (trying to build)

You could try SDL 1.2 with dispmanx backend . Agreed, but for two reasons: 1) For me SDL (1.2 at least) does not support international keyboards properly without X (no pounds sterling sign '£') in the UK - it is primarily targeted at games I think. 2) I am implementing closer integration with dispm...
by pwinwood
Thu Feb 07, 2013 8:00 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3745

Re: Agar - opensource GUI libs - (trying to build)

I don't know much about mysql but I AFAIK this should be fixed by adding `mysql_config --cflags --libs` is on the gcc command line when compiling and linking.
by pwinwood
Wed Feb 06, 2013 7:51 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3745

Re: Agar - opensource GUI libs - (trying to build)

If I get Agar from their subversion repository svn checkout http://dev.hypertriton.com/agar/trunk agar-trunk then (from memory) cd agar-trunk ./configure make depend all sudo make install sudo ldconfig (/usr/local/lib needs be on the ld path) cd tests ./configure make depend all ./agar-test -d sdlfb...
by pwinwood
Mon Jan 28, 2013 1:45 pm
Forum: General discussion
Topic: Signalex USB hub possibly containing malware?!
Replies: 29
Views: 7564

Re: Signalex USB hub possibly containing malware?!

If you check with lsusb with the hub connected does it list a HID device as well as the hub?? Yes it reports a keyboard HID device as well as a hub. Works well enough as a full speed (but not high speed) USB 2.0 device. I have made mine powered - there are tracks to the edge for a power supply and ...
by pwinwood
Thu Dec 20, 2012 10:15 pm
Forum: Java
Topic: a quick performance comparison of java on raspbian
Replies: 39
Views: 41584

Re: a quick performance comparison of java on raspbian

I know this thread is mostly about java but I thought I would test out LuaJIT 2.0 which supports armhf. This is the Lua code print(2) for i = 3, 10000 do local prime = true for j = 2, i-1 do local k = math.floor(i / j) local l = k * j if l == i then prime = false end end if prime then print(i) end e...
by pwinwood
Thu Oct 04, 2012 10:47 am
Forum: Networking and servers
Topic: Dropbox-like filecloud
Replies: 25
Views: 22187

Re: Dropbox-like filecloud

FWIW, I use Box.com with WebDav to do this. It syncs with all my devices including the Pi.
by pwinwood
Tue Aug 28, 2012 11:27 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 73029

Re: Example program to draw random shapes using the C compil

I had this too. I had recently updated to the latest build (Friday Aug 24). I found that the executable bit for the .so files in /opt/vc/lib was not set. To fix this cd /opt/vc/lib sudo chmod +x *.so sudo ldconfig and all was well again. Sorry, don't agree. The shared objects in /opt/vc/lib have ne...
by pwinwood
Mon Aug 27, 2012 2:56 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 73029

Re: Example program to draw random shapes using the C compil

I had this too. I had recently updated to the latest build (Friday Aug 24). I found that the executable bit for the .so files in /opt/vc/lib was not set. To fix this

cd /opt/vc/lib
sudo chmod +x *.so
sudo ldconfig

and all was well again.
by pwinwood
Wed Aug 22, 2012 10:39 am
Forum: C/C++
Topic: Debugging on a Pi
Replies: 18
Views: 26959

Re: Debugging on a Pi

There are no problems with using DDD or GDB on the Pi :D
by pwinwood
Mon Aug 20, 2012 7:33 pm
Forum: Raspberry Pi OS
Topic: Hexxeh r3, mmc0: Controller never released inhibit bit(s)
Replies: 5
Views: 4759

Re: Hexxeh r3, mmc0: Controller never released inhibit bit(s

I got this error after adding this options to /boot/cmdline.txt : sdhci-bcm2708.missing_status=0 sdhci-bcm2708.sync_after_dma=0 If it is added, remove it. There are two options there: sdhci-bcm2708.missing_status=0 and sdhci-bcm2708.sync_after_dma=0 One of my sd cards runs well if I remove the seco...
by pwinwood
Mon Aug 20, 2012 6:38 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 302086

Re: USB - the Elephant in our Room

I run with '/' on a usb hard disk drive and leave /boot on the sdcard.
I encounter no problems with this and I do not have to unmount and mount anything to do an rpi-update.
by pwinwood
Mon Aug 20, 2012 5:50 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 302086

Re: USB - the Elephant in our Room

umount /boot and mount /dev/mmcblk0p1 /boot. Now in /boot there is first partition from SD card, not from pendrive.
What is the advantage of moving /boot? It is never accessed once the system is loaded. I would leave it on the sdcard and just move the one partition.
by pwinwood
Mon Aug 20, 2012 5:31 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 302086

Re: USB - the Elephant in our Room

I never had any success using my Toshiba/Creative Labs 7 port hub which has Ethernet and Audio until I updated to the new kernel and added dwc_otg.microframe_schedule=1 sdhci-bcm2708.sync_after_dma=0 sdhci-bcm2708.missing_status=0 to cmdline.txt. Now after an initial test, everything is working fine...
by pwinwood
Fri Aug 17, 2012 7:24 am
Forum: General programming discussion
Topic: Wrting programs on the Pi, for the Pi?
Replies: 1
Views: 967

Re: Wrting programs on the Pi, for the Pi?

I'm wondering, are you able to write code and programs on the raspberry Pi, and then use them on the device, or do you have to do all the coding and programming on a normal pc, then connect the SD card and transfer it all over? Only, I'd love to be able to create all the programming on the device i...
by pwinwood
Wed Aug 15, 2012 7:24 am
Forum: OpenGLES
Topic: Optimizing OpenGL initialization
Replies: 2
Views: 1402

Re: Optimizing OpenGL initialization

If I recall correctly - I don't have the source in front of me to check - the code does some OpenGL ES initialization which is not necessary. It can all be done using OpenVG, but then again as the graphics processor is running OpenVG and OpenGL ES it probably does not harm at all.
by pwinwood
Mon Aug 13, 2012 4:40 pm
Forum: Troubleshooting
Topic: 4.6v. problem
Replies: 6
Views: 1259

Re: 4.6v. problem

The open circuit output voltage of the hub is 4.94 volts, whether it's measured at the psu, port or at the end of the 'Y' cable. I suggest that you measure the loaded output voltage of the hub. My USB hub came with a power supply that measured 5.5 volts open circuit that fell to 4.5 v with a load d...
by pwinwood
Wed Aug 08, 2012 7:33 am
Forum: Graphics programming
Topic: GTK+ Toolkit?
Replies: 23
Views: 15132

Re: GTK+ Toolkit?

I would also suggest avoiding wx. I've been using it and have just found it to be convoluted and counter-intuitive, and while it is cross-platform I've found some annoying discrepancies which appeared when porting from windows. I disagree strongly with this observation. I am the original author of ...
by pwinwood
Sat Aug 04, 2012 7:17 pm
Forum: Raspberry Pi OS
Topic: A kernel image with ax25 packet radio modules
Replies: 7
Views: 5247

Re: A kernel image with ax25 packet radio modules

Thanks. I will give it a try when I am home. (g8kig).
by pwinwood
Mon Jul 30, 2012 12:45 pm
Forum: General discussion
Topic: working usb hub
Replies: 13
Views: 6054

Re: working usb hub

That's listed on the wiki as having some issues, such as preventing ethernet from working, leading to the wrong time being displayed. Have you experienced this? I think some clarification are required here. There are several issues here: 1) There is a bug with the implementation of the USB driver o...
by pwinwood
Fri Jul 27, 2012 6:21 pm
Forum: Troubleshooting
Topic: "failed to add service - already in use?" error
Replies: 15
Views: 26093

Re: "failed to add service - already in use?" error

I reflashed the sdcard, installed and ran the rpi-update and the same error occurred again running hello_triangle.
by pwinwood
Fri Jul 27, 2012 4:47 pm
Forum: Troubleshooting
Topic: "failed to add service - already in use?" error
Replies: 15
Views: 26093

Re: "failed to add service - already in use?" error

It happens to me too using 128/128 and 192/64.

uname -a

Linux raspberrypi 3.1.9+ #202 PREMPT Wed Jul 25 22:11:06 BST 2012 armv6l GNU/Linux.

I will try reflashing the sdcard.
by pwinwood
Wed Jul 25, 2012 7:37 am
Forum: General discussion
Topic: Text Editor with decent syntax highlighting
Replies: 20
Views: 21750

Re: Text Editor with decent syntax highlighting

If you are using Notepad++ on Windows then you may be comfortable with the Scite which also uses the Scintilla editing component and is light weight, cross platform and has colour syntax highlighters and folding algorithm for many languages - but you will need to be running 'X'. Scintilla is package...

Go to advanced search