<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>C/C++ Native SDK</title>
    <description>C/C++ Native SDK</description>
    <pubDate>Sat, 25 May 2013 21:40:23 +0000</pubDate>
    <lastBuildDate>Sat, 25 May 2013 21:40:23 +0000</lastBuildDate>
    <generator>RapidBerry - Community Forums</generator>
    <link>http://rapidberry.net/forums/forums/c-c-native-sdk.19/</link>
    <atom:link rel="self" type="application/rss+xml" href="http://rapidberry.net/forums/forums/c-c-native-sdk.19/index.rss"/>
    <item>
      <title>Got An Issue With Running Your Cascades Release Build?</title>
      <description><![CDATA[<span style="color: #333333"><span style="font-family: 'Arial'">If you have been developing your Cascades app for a while, got everything working great and you’re ready to just export the release build, double check that it works, and… oh, no, it’s broken.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b>“DON'T PANIC!!!”</b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">I am going to walk you through the all the steps you need to get this working, so buckle up and sit tight, because the clock is ticking.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b><b>Step one:</b></b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Add Q_DECEL_EXPORT in front of your main method, so it looks like this:</span></span><br />
<span style="color: #333333"><span style="font-family: 'Consolas'"><span style="font-size: 12px">Q_DECL_EXPORT <b>int</b> <b>main</b>(<b>int</b> argc, <b>char</b> **argv)</span></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b>Step two:</b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Nope, that’s it.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">RIM added that requirement in the Gold SDK and added it to the template then, so if your project was created afterwards it’s already taken care of.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">If you are still having problems, make sure you aren’t writing to the assets directory, as it’s read-only on release builds. If you want to change something there, copy it to the data folder first.</span></span><br />
<span style="color: #333333"><span style="font-family: 'Arial'">Anyway, the Q_DECEL_EXPORT change was part of <a href="http://devblog.blackberry.com/2012/12/cascades-project-zygote/" target="_blank" class="externalLink" rel="nofollow"><span style="color: #0055b4"><span style="font-family: 'inherit'">Project Zygote</span></span></a>, so if you are running into this error you might want to go all the way through the process and get a big start time decrease for your app.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Again, apps built with the Gold SDK have already had this done for them.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><a href="http://devblog.blackberry.com/2013/01/cascades-release-build-fix/" target="_blank" class="externalLink" rel="nofollow">Via</a></span></span>]]></description>
      <pubDate>Wed, 23 Jan 2013 03:58:02 +0000</pubDate>
      <link>http://rapidberry.net/forums/threads/got-an-issue-with-running-your-cascades-release-build.1875/</link>
      <guid>http://rapidberry.net/forums/threads/got-an-issue-with-running-your-cascades-release-build.1875/</guid>
      <author>Rapid John</author>
      <dc:creator>Rapid John</dc:creator>
    </item>
    <item>
      <title>Got An Issue With Running Your Cascades Release Build?</title>
      <description><![CDATA[<span style="color: #333333"><span style="font-family: 'Arial'">If you have been developing your Cascades app for a while, got everything working great and you’re ready to just export the release build, double check that it works, and… oh, no, it’s broken.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b>“DON'T PANIC!!!”</b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">I am going to walk you through the all the steps you need to get this working, so buckle up and sit tight, because the clock is ticking.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b><b>Step one:</b></b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Add Q_DECEL_EXPORT in front of your main method, so it looks like this:</span></span><br />
<span style="color: #333333"><span style="font-family: 'Consolas'"><span style="font-size: 12px">Q_DECL_EXPORT <b>int</b> <b>main</b>(<b>int</b> argc, <b>char</b> **argv)</span></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><b>Step two:</b></span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Nope, that’s it.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">RIM added that requirement in the Gold SDK and added it to the template then, so if your project was created afterwards it’s already taken care of.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">If you are still having problems, make sure you aren’t writing to the assets directory, as it’s read-only on release builds. If you want to change something there, copy it to the data folder first.</span></span><br />
<span style="color: #333333"><span style="font-family: 'Arial'">Anyway, the Q_DECEL_EXPORT change was part of <a href="http://devblog.blackberry.com/2012/12/cascades-project-zygote/" target="_blank" class="externalLink" rel="nofollow"><span style="color: #0055b4"><span style="font-family: 'inherit'">Project Zygote</span></span></a>, so if you are running into this error you might want to go all the way through the process and get a big start time decrease for your app.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'">Again, apps built with the Gold SDK have already had this done for them.</span></span><br />
 <br />
<span style="color: #333333"><span style="font-family: 'Arial'"><a href="http://devblog.blackberry.com/2013/01/cascades-release-build-fix/" target="_blank" class="externalLink" rel="nofollow">Via</a></span></span>]]></description>
      <pubDate>Wed, 23 Jan 2013 03:58:02 +0000</pubDate>
      <link>http://rapidberry.net/forums/threads/got-an-issue-with-running-your-cascades-release-build.1875/</link>
      <guid>http://rapidberry.net/forums/threads/got-an-issue-with-running-your-cascades-release-build.1875/</guid>
      <author>Rapid John</author>
      <dc:creator>Rapid John</dc:creator>
    </item>
  </channel>
</rss>
