Skip to content
Browse files

Included header necessary for building TCO with GNU Runtime and modified

project to link against the png and xml2 libraries.
  • Loading branch information...
1 parent 8e3de7e commit e2b4e9a318bffaef45059ac307ab44c6c1a30262 Artem Simonov committed Feb 28, 2012
Showing with 15 additions and 0 deletions.
  1. +14 −0 .cproject
  2. +1 −0 src/control.cpp
View
14 .cproject
@@ -43,6 +43,10 @@
<option id="com.qnx.qcc.option.linker.shared.434297882" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
<option id="com.qnx.qcc.option.linker.debug.1800312714" name="Debug (-g)" superClass="com.qnx.qcc.option.linker.debug" value="true" valueType="boolean"/>
<option id="com.qnx.qcc.option.linker.langcpp.779671963" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
+ <option id="com.qnx.qcc.option.linker.libraries.239177378" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="png"/>
+ <listOptionValue builtIn="false" value="xml2"/>
+ </option>
<inputType id="com.qnx.qcc.inputType.linker.679603425" superClass="com.qnx.qcc.inputType.linker">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
@@ -82,6 +86,7 @@
<folderInfo id="com.qnx.qcc.configuration.sharedLib.debug.2076896560." name="/" resourcePath="">
<toolChain id="com.qnx.qcc.toolChain.sharedLib.debug.100389711" name="QNX QCC" superClass="com.qnx.qcc.toolChain">
<option id="com.qnx.qcc.option.cpu.1003638767" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.runtime.1587616283" name="Runtime:" superClass="com.qnx.qcc.option.runtime" value="com.qnx.qcc.option.gen.runtime.c." valueType="enumerated"/>
<targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.729978270" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
<builder buildPath="${workspace_loc:/emulate/Device-Debug}" enableCleanBuild="false" id="com.qnx.nto.105450155" keepEnvironmentInBuildfile="false" name="CDT Internal Builder" superClass="com.qnx.nto"/>
<tool id="com.qnx.qcc.tool.compiler.152078035" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
@@ -102,6 +107,10 @@
<option id="com.qnx.qcc.option.linker.shared.690509646" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
<option id="com.qnx.qcc.option.linker.debug.1582818133" name="Debug (-g)" superClass="com.qnx.qcc.option.linker.debug" value="true" valueType="boolean"/>
<option id="com.qnx.qcc.option.linker.langcpp.785994996" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
+ <option id="com.qnx.qcc.option.linker.libraries.254574506" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="png"/>
+ <listOptionValue builtIn="false" value="xml2"/>
+ </option>
<inputType id="com.qnx.qcc.inputType.linker.1645365536" superClass="com.qnx.qcc.inputType.linker">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
@@ -141,6 +150,7 @@
<folderInfo id="com.qnx.qcc.configuration.sharedLib.release.640306231." name="/" resourcePath="">
<toolChain id="com.qnx.qcc.toolChain.sharedLib.release.440172744" name="QNX QCC" superClass="com.qnx.qcc.toolChain">
<option id="com.qnx.qcc.option.cpu.939060001" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.runtime.543181255" name="Runtime:" superClass="com.qnx.qcc.option.runtime" value="com.qnx.qcc.option.gen.runtime.c." valueType="enumerated"/>
<targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1550397590" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
<builder buildPath="${workspace_loc:/emulate/Device-Release}" id="com.qnx.nto.372047250" keepEnvironmentInBuildfile="false" name="CDT Internal Builder" superClass="com.qnx.nto"/>
<tool id="com.qnx.qcc.tool.compiler.1139800814" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
@@ -159,6 +169,10 @@
<tool id="com.qnx.qcc.tool.linker.99291934" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
<option id="com.qnx.qcc.option.linker.shared.1073731133" name="Shared (-shared)" superClass="com.qnx.qcc.option.linker.shared" value="true" valueType="boolean"/>
<option id="com.qnx.qcc.option.linker.langcpp.1927357483" name="C++ (-lang-c++)" superClass="com.qnx.qcc.option.linker.langcpp" value="true" valueType="boolean"/>
+ <option id="com.qnx.qcc.option.linker.libraries.1642497179" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="png"/>
+ <listOptionValue builtIn="false" value="xml2"/>
+ </option>
<inputType id="com.qnx.qcc.inputType.linker.693531888" superClass="com.qnx.qcc.inputType.linker">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
View
1 src/control.cpp
@@ -19,6 +19,7 @@
#include "label.h"
#include "pngreader.h"
#include <math.h>
+#include <stdlib.h>
#include <screen/screen.h>

0 comments on commit e2b4e9a

Please sign in to comment.
Something went wrong with that request. Please try again.