<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Error making .sis file due to losing .lib files. - Comments</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files</link>
 <description>Comments for &quot;Error making .sis file due to losing .lib files.&quot;</description>
 <language>en</language>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42146</link>
 <description>&lt;p&gt;This problem occurs because you cannot have static data in a Symbian DLL, thus global variables must be declared const and must not call a constructor. An .app file is a type of .dll in Symbian.&lt;/p&gt;</description>
 <pubDate>Tue, 09 Oct 2007 11:31:44 +0200</pubDate>
 <dc:creator>Werries</dc:creator>
 <guid isPermaLink="false">comment 42146 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42140</link>
 <description>&lt;p&gt;I have added the libraries which are needed by ARMI, It seems that it needs some more libraries yet; but now I get a new error:&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;ERROR: Dll &#039;DBMS[101F5466].APP&#039; has uninitialised data.&lt;/span&gt;&lt;br /&gt;
What can cause such an error?&lt;/p&gt;

&lt;p&gt;Viewing the console output may be useful:&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-style:italic&quot;&gt;&#039;Building target: C:/Symbian/7.0s/Series60_v21_CW/epoc32/release/ARMI/UREL/DBMS.app&#039;&lt;br /&gt;
&#039;Invoking: Petran&#039;&lt;br /&gt;
petran.exe -nocall -uid1 0x10000079 -uid2 0x100039ce -uid3 0x101f5466 &quot;C:\Symbian\7.0s\Series60_v21_CW\epoc32\release\ARMI\UREL\DBMS.sym&quot; &quot;C:/Symbian/7.0s/Series60_v21_CW/epoc32/release/ARMI/UREL/DBMS.app&quot;&lt;/p&gt;

&lt;p&gt;ERROR: Dll &#039;DBMS[101F5466].APP&#039; has uninitialised data.&lt;br /&gt;
PETRAN - PE file preprocessor V01.00 (Build 187)&lt;br /&gt;
Copyright (c) 1996-2001 Symbian Ltd.&lt;/p&gt;

&lt;p&gt;make: *** [C:/Symbian/7.0s/Series60_v21_CW/epoc32/release/ARMI/UREL/DBMS.app] Error -2&lt;br /&gt;
&#039;Building file: sis/DBMS_S60_2nd_ed.pkg&#039;&lt;br /&gt;
&#039;Invoking: MakeSis (Installation File Generator)&#039;&lt;br /&gt;
makesis.exe &quot;sis/DBMS_S60_2nd_ed.pkg&quot; C:/Symbian/Carbide/workspace/new_DBMS/sis/DBMS_S60_2nd_ed.sis&lt;br /&gt;
Processing sis/DBMS_S60_2nd_ed.pkg...&lt;br /&gt;
sis/DBMS_S60_2nd_ed.pkg(17) : error: file not found&lt;br /&gt;
make: *** [C:/Symbian/Carbide/workspace/new_DBMS/sis/DBMS_S60_2nd_ed.sis] Error 1&lt;br /&gt;
make: Target `all&#039; not remade because of errors.&lt;br /&gt;
Build complete for project new_DBMS&lt;/span&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 09 Oct 2007 09:23:03 +0200</pubDate>
 <dc:creator>Rostam</dc:creator>
 <guid isPermaLink="false">comment 42140 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42110</link>
 <description>&lt;p&gt;Dear Werries,&lt;br /&gt;
Your comment really helped me, Thanks a lot.&lt;br /&gt;
Regards.&lt;/p&gt;</description>
 <pubDate>Mon, 08 Oct 2007 12:59:50 +0200</pubDate>
 <dc:creator>Rostam</dc:creator>
 <guid isPermaLink="false">comment 42110 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42109</link>
 <description>&lt;p&gt;From your question I gather that you are using Carbide v.1 or v.1.1. In future please supply answers to questions.&lt;/p&gt;

&lt;p&gt;1. In &quot;C/C++ projects&quot; right click on your project folder.&lt;br /&gt;
2. Click &quot;Properties&quot; on context menu.&lt;br /&gt;
3. In left pane click C/C++ Build.&lt;br /&gt;
4. In &quot;Active Configuration&quot;,  &quot;Configuration&quot; select ARMI or phone build&lt;br /&gt;
5. In &quot;Configuration Settings&quot;, &quot;Tool Settings&quot; left pane select Linker-&gt;Libraries&lt;br /&gt;
6. On right Libraries add the library you want, but with .dso extention instead of .lib&lt;/p&gt;

&lt;p&gt;I would suggest that you upgrade to Carbide.c++ v1.2. I find it much better, than previous versions.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 08 Oct 2007 12:55:32 +0200</pubDate>
 <dc:creator>Werries</dc:creator>
 <guid isPermaLink="false">comment 42109 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42106</link>
 <description>&lt;p&gt;Thanks a lot, It seems that my problem is resolved.&lt;/p&gt;</description>
 <pubDate>Mon, 08 Oct 2007 12:43:43 +0200</pubDate>
 <dc:creator>Rostam</dc:creator>
 <guid isPermaLink="false">comment 42106 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comment-42102</link>
 <description>&lt;p&gt;What tools are you using to compile? In Carbide.c++ v.1 &amp;v.1.1 you had to add the .lib files for each build type, WINCW and ARMI. For Carbide.c++ v1.2 and the command line you only need to add it to the .mmp file.&lt;/p&gt;</description>
 <pubDate>Mon, 08 Oct 2007 11:56:17 +0200</pubDate>
 <dc:creator>Werries</dc:creator>
 <guid isPermaLink="false">comment 42102 at http://www.newlc.com</guid>
</item>
<item>
 <title>Error making .sis file due to losing .lib files.</title>
 <link>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
I have a program in which I use some methods like DrawTextExtended for which we should use related libraries such as “gdi.lib”. My program work fine in Emulator but I can not make sis file for ARMI. I can resolve this by commenting the line of code in which I used DrawTextExtended.&lt;br /&gt;
Regards.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/error-making-sis-file-due-losing-lib-files#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Sat, 06 Oct 2007 11:54:15 +0200</pubDate>
 <dc:creator>Rostam</dc:creator>
 <guid isPermaLink="false">19201 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
