Sunday, June 16, 2013

Framework for gcc on a mac

Slightly boring post, but since there's fuck all documentation about how this works, I thought i'd jot down a note to myself about it.
During some scons wrangling, I discovered that its necessary to give gcc the path to the Framework directory using -F. This irritatingly trivial deviation from the usual -I and -L include paths, needs to go in both the g++ compile (-c) and the ld link commands (g++ that makes an so from .o's).
Remember that - it goes in *both*.
e.g.
-F/System/Library/Frameworks

Yes this is boring, but took me far too long to figure this now-trivial thing out!

Thursday, April 11, 2013

Diagram of the day #8

Is it me or are those sperm?

( from http://www.scratchapixel.com/lessons/3d-advanced-lessons/volume-rendering/volume-rendering-for-artists/ )

Thursday, January 17, 2013

Raspberry Pi

Though i'd jot down some notes about setting up our kid's Raspberry Pi. Its been a bit of a slog due to waiting for cables, adapters, and whatnot to arrive. Still need to get a usb hub to make it able to connect to wifi

Here's the HDMI to VGA converter I needed to purchase to connect it to our old-ish DELL flat monitor that lay discarded for years in a corner and was very nearly given away due to under-use.


http://www.amazon.co.uk/gp/product/B0088K7QUQ/ref=oh_details_o06_s00_i00
/boot/config.txt had to have one of the following (can't remember which now)

disable_overscan=0
hdmi_drive=2
config_hdmi_boost=4

or

# Settings for Flatron VGA monitor
# 1024 * 768
# Force HDMI signal even if monitor not detected
hdmi_drive=2
hdmi_group=2
hdmi_mode=16
hdmi_force_hotplug=1
disable_overscan=0

which took several turns of switching between our HDMI tv and the monitor to get it working !!