Go to advanced search

by Alec
Fri Apr 08, 2016 10:15 am
Forum: C/C++
Topic: New C++14 GPIO library CppGPIO
Replies: 15
Views: 3368

Re: New C++14 GPIO library CppGPIO

Thanks for these details, Joachim. (FWIW, I guessed that Gray codes were likely to be what was being used; thanks for the confirmation.)
by Alec
Thu Mar 17, 2016 5:32 pm
Forum: C/C++
Topic: New C++14 GPIO library CppGPIO
Replies: 15
Views: 3368

Re: New C++14 GPIO library CppGPIO

Hi, Looks interesting to me. I might try this out. But ... Is there some more detailed info on the h/w components used, their wiring etc available somewhere? (e.g. I have noticed a reference to a Hitachi (?) LCD in the source, and a rotary control (optical encoder? or ...) is mentioned. But it is no...
by Alec
Mon Oct 27, 2014 12:00 pm
Forum: C/C++
Topic: wxwidgets3.0
Replies: 5
Views: 1278

Re: wxwidgets3.0

Hi, Basic instructions are as at section 2. in http://www.dialogblocks.com/gettingstarted.htm . (Making the obvious version number change, of course. IIRC these days there may already be build directory available for you, so you could skip the 'mkdir build'.) There may be other things needed on your...
by Alec
Sat Oct 25, 2014 8:50 pm
Forum: C/C++
Topic: wxwidgets3.0
Replies: 5
Views: 1278

Re: wxwidgets3.0

Have you tried downloading wxWidgets source, and building it? This works for me - tho' it does take a long time if building on the Pi itself.
by Alec
Fri Dec 20, 2013 5:01 pm
Forum: C/C++
Topic: C++
Replies: 7
Views: 2531

Re: C++

You might like to look at:
<shameless plug>
http://www.a-train.co.uk/c++_books.html
</shameless plug>

Alec
by Alec
Tue Oct 15, 2013 12:03 pm
Forum: C/C++
Topic: Playing a tone between 750 and 1000 Hz
Replies: 8
Views: 2885

Re: Playing a tone between 750 and 1000 Hz

FWIW, earlier this year I built ROXTone (and also ROXScope) from Jim Lesurf's web page: http://www.audiomisc.co.uk/software/index.html . IIRC I had to make some trivial changes to the build instructions in the code there. But both built and ran fine on a Pi. If this were of interest, I could look up...
by Alec
Fri Jun 14, 2013 7:44 pm
Forum: Pidora / Fedora
Topic: Pidora / Fedora 19
Replies: 6
Views: 2810

Pidora / Fedora 19

Does anyone have any plans for a Schrödinger's Cat version for the Pi? If so, what is the intended timeframe for a release?

TIA

Alec
by Alec
Wed Jun 12, 2013 8:18 pm
Forum: C/C++
Topic: Cross-compilation advice sought
Replies: 6
Views: 2194

Re: Cross-compilation advice sought

OK, thought I'd try distcc. And use a multicore laptop plus the Pi itself for this. However, looking up details on the use of distcc, and thinking about it, it seems that I'd have to set up an appropriate cross-compiler on the laptop. (Ideally I guess for gcc 4.7.2 in this case.) Given this, there s...
by Alec
Fri May 31, 2013 12:14 pm
Forum: C/C++
Topic: Newbie C++ Compiler
Replies: 3
Views: 7052

Re: Newbie C++ Compiler

Depending on how far you expect to go w/ C++, you might like to consider the version to chose: C++98 (and 03), the traditional, legacy version (and the default version w/ gcc); and/or C++11, the latest and greatest (also supported by recent versions of gcc, if you invoke it appropriately). One benef...
by Alec
Sat May 18, 2013 7:36 pm
Forum: C/C++
Topic: error at run-time compiler problem
Replies: 2
Views: 620

Re: error at run-time compiler problem

Are you sure that the value for matrixPtr is correct; and in particular that it is not NULL?

Does a compile w/ -Wformat or -Wall shed any light?
by Alec
Thu May 02, 2013 7:14 am
Forum: Raspbian
Topic: Package request: SFML 2+
Replies: 3
Views: 1234

Re: Package request: SFML 2+

Thanks, but I'm pretty sure that I have already successfully used 1.6. And I still want what what I asked for - namely 2+ as a package for Raspbian.
by Alec
Wed May 01, 2013 7:06 am
Forum: Raspbian
Topic: Package request: SFML 2+
Replies: 3
Views: 1234

Package request: SFML 2+

I'd like to be able to install the latest SFML on Raspbian directly from a repo. Might this be possible in a timescale of weeks or months? (Version 2.0 is current, and would be useful to me; but it might well be that 2.1 or later would be available, and be preferable if/when the distro were updated ...
by Alec
Sun Apr 21, 2013 7:56 pm
Forum: Advanced users
Topic: ALSA - downmix to mono via .asoundrc.
Replies: 11
Views: 18660

Re: ALSA - downmix to mono via .asoundrc.

If the original issue is still a problem, its been suggested to me that a post to uk.comp.os.linux or uk.rec.audio might elicit helpful info.

HTH
by Alec
Mon Feb 25, 2013 1:27 pm
Forum: C/C++
Topic: Clang on Raspberry Pi/Raspbian Linker Error?
Replies: 6
Views: 2662

Re: Clang on Raspberry Pi/Raspbian Linker Error?

Many thanks for this - and for your other work behind it.

Builds silently, and apparently correctly now. (Tho' I'm still unable to use libc++.)

BR,

Alec
by Alec
Sun Feb 24, 2013 9:26 pm
Forum: C/C++
Topic: Clang on Raspberry Pi/Raspbian Linker Error?
Replies: 6
Views: 2662

Re: Clang on Raspberry Pi/Raspbian Linker Error?

FWIW, I've just tried a simple example. with Feb (2013-02-09) Raspbian, newly installed clang and LLVM. An attempted build: $ clang++ -std=c++11 -stdlib=libstdc++ hello.cpp /usr/bin/ld: BFD (GNU Binutils for Debian) 2.22 assertion fail ../../bfd/elf32-arm.c:11477 , but the a.out is there, and runs a...
by Alec
Wed Feb 20, 2013 6:36 pm
Forum: Graphics programming
Topic: wxWidgets installation
Replies: 11
Views: 18602

Re: wxWidgets installation

Sorry, I should have posted back my success in building wxWidgets 2.9.4 on the last version of Raspbian. I followed pretty much the procedure below; and I've started again w/ the current Raspbian (13-02-09). (I say pretty much, because I'm not certain of the libs/version numbers that I used before.)...
by Alec
Wed Feb 20, 2013 9:35 am
Forum: C/C++
Topic: Cross-compilation advice sought
Replies: 6
Views: 2194

Re: Cross-compilation advice sought

Thanks for this. Are these guides directly applicable to use w/ Raspbian?
by Alec
Wed Feb 20, 2013 9:32 am
Forum: C/C++
Topic: Speeding up build time w/ gcc / g++
Replies: 10
Views: 4017

Re: Speeding up build time w/ gcc / g++

Thanks all for the helpful replies to date.

BR,
by Alec
Tue Feb 19, 2013 3:48 pm
Forum: General discussion
Topic: Raspbian Wheezy
Replies: 4
Views: 1016

Re: Raspbian Wheezy

Hi,

Well, I guess the canonical page to look at is:

http://www.raspberrypi.org/downloads

, and follow the relevant links from there ... , particularly

http://elinux.org/RPi_Easy_SD_Card_Setup

HTH, or

have you already looked at these?

BR,
by Alec
Sun Feb 17, 2013 9:05 pm
Forum: C/C++
Topic: Cross-compilation advice sought
Replies: 6
Views: 2194

Cross-compilation advice sought

Hi, Over the months, I've seen several routes for cross-compilation to the Raspberry Pi. (e.g. a couple of recent ones: http://www.kitware.com/blog/home/post/426 , and http://elinux.org/RPi_Kernel_Compilation , for Kernal Compilation.) Can anyone provide recommended source(s) for a set of good, simp...
by Alec
Sun Feb 17, 2013 8:51 pm
Forum: C/C++
Topic: Speeding up build time w/ gcc / g++
Replies: 10
Views: 4017

Speeding up build time w/ gcc / g++

Hi, I'm looking for - preferably proven - ways to speed up the build time for programs when using gcc / g++. The context is the building of fairly large libs or apps. My environment is Raspbian, on a 256 Mb model B board. Some things that have occurred to me include: - using a higher class of SD car...
by Alec
Wed Jul 11, 2012 12:52 pm
Forum: Debian
Topic: 3.5 GB rootfs is full?
Replies: 15
Views: 4544

Re: 3.5 GB rootfs is full?

Might this be related to an absence of garbage collection on the SD card? (A la TRIM, as per: http://en.wikipedia.org/wiki/TRIM )
by Alec
Wed Jun 27, 2012 9:48 am
Forum: Graphics programming
Topic: wxWidgets installation
Replies: 11
Views: 18602

Re: wxWidgets installation

Hmm, I expect to want to explore this later myself. Perhaps later/other OS pi distros will come w/ the requrired headers, and libraries compiled for the platform. As for the startx question, could the answer be that that that the xinit program that the startx script invokes is built without needing ...

Go to advanced search