Compiling the ClusterIO / ThermostatIO Sample on Ubuntu 64bit Systems
I just wanted to quickly mention two minor changes my colleague Nik came across compiling our ClusterIO sample that is shipped with Storyboard. For the ClusterIO backend to compile properly (this would pertain to the ThermostatIO sample as well, or any backend on this platform) on a Ubuntu 18.04 64bit system you will need to make the following changes ...
# Linux users add this
$(CC) $(CFLAGS) $(SB_INC) -o $@ $^ $(SB_LIB)
The first change is to remove the -m32 flag since we are building a 64bit binary (that option was leftover from when we shipped 32bit runtime libraries for x86 based Linux systems). The second change is to add -ldl to the SB_LIB variable.
There you have it. You should be able to take the above, add your runtime path, and run make all from the command line.