You Are Here:

Community: Developer Discussion Boards

#1 Old 在sisar中新建工程,报错!why - 2003-05-11, 05:35

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
An unrecoverable error has occurred:
com.symbian.sdk.util.assertion.AssertionException:Assertion failed.
Reply With Quote

#2 Old 2003-05-12, 03:55

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
It seems that you do not have a correct Java environment setup on your PC. If you can give us more details, then they will be more helpful for us to help you.

By the way, in order to deloy your application, you may also use the following command:

makesis xxx.pkg

where "xxx.pkg" is the package file. By using the command, you can create a SIS file for installation. Regarding how to make a .pkg file, please refer to SDK help.

Hope this helps!

Liuxg
Forum Nokia
Last edited by liuxg : 2003-05-13 at 03:01.
Reply With Quote

#3 Old 琢磨了一天,还是安装不上 - 2003-05-12, 12:59

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
我试图编译sdk中提供的例程helloworld。制作好helloworld.sis上传
到手机后,安装没有问题。但是找不到helloworld应用程序图标。
不知道为什么??
Reply With Quote

#4 Old 解决了,呵呵 - 2003-05-12, 16:26

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
需要先执行
abld build thumb urel
然后再makesis
Reply With Quote

#5 Old 2003-05-13, 03:00

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

On target system, you must have "ARMI" or "thumb" build. Use the following commands:

bldmake bldfiles
abld build armi urel or abld build thumb urel

Then,
makesis xxx.pkg

You can refer to the .pkg file in the SDK example code to create your own .pkg file.

You must bear one thing in mind. That is, if your .app file does not have the SAME name as the folder name in the target, then, you will not see the icon for the your application!!!!!

Hope this helps! If you still have the problem, please post your .pkg and .mmp file here. In this case, I can see more clearly.

Liuxg
Forum Nokia
Last edited by liuxg : 2003-05-13 at 03:45.
Reply With Quote

#6 Old 请继续回答:) - 2003-05-13, 04:48

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
我现在也出现了下面的问题
http://discussion.forum.nokia.com/fo...t=%2Apetran%2A

我想问一下,你说的global variables 包不包括全局的函数说明
例如
test1.cpp
extern "C" void vid_exports()
{
}


test2.c
{
vid_exports();
}
Reply With Quote

#7 Old 2003-05-13, 07:27

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

Attached please find a sample code, teaching you how to call a function defined in a .c file. I think it should be very straightforward.

By the way, since now you have a different question, could you start a new post with new title next time? In this case, everybody can look for the corresponding information of interests easily .

Liuxg

Forum Nokia
Attached Files
File Type: zip guiapp.zip (12.7 KB, 394 views)
Last edited by liuxg : 2003-05-13 at 08:52.
Reply With Quote

#8 Old ok ,i see - 2003-05-13, 11:34

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
其实我也犹豫了一下到底发不发新贴子
后来觉得好象是一系列的问题,就接着发了。
Reply With Quote

#9 Old 不能在vc下编译运行呀 - 2003-05-13, 12:35

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
rebuilder all GUIAPP 报错C:\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP\Guiapp.h(39): Could not find the file eikfsel.h.
C:\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP\Guiapp.h(43): Could not find the file eikfbrow.h.
--------------------Configuration: GUIAPP - Win32 Uni Debug--------------------
Building resources from Guiapp.rss
perl -S epocrc.pl -I "..\..\..\..\..\..\..\..\..\..\..\..\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP" -I- -I "..\..\..\..\..\..\..\..\..\..\..\..\Symbian\6.1\Series60\EPOC32\INCLUDE\LIBC" -I "..\..\..\..\..\..\..\..\..\..\..\..\Symbian\6.1\Series60\EPO
C32\INCLUDE" -DLANGUAGE_SC -u "..\..\..\..\..\..\..\..\..\..\..\..\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP\GUIAPP.RSS" -o"\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UDEB\Z\SYSTEM\APPS\GUIAPP\GUIAPP.rSC" -h"..\..\..\..\..\..\..\..\..\..\..\..\SYMBIAN\6
.1\SERIES60\SERIES60EX\GUIAPP\GUIAPP.rs~" -t"\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP\GUIAPP\WINS\UDEB"
已复制 1 个文件。
..\..\..\..\..\..\..\..\..\..\..\..\SYMBIAN\6.1\SERIES60\SERIES60EX\GUIAPP\GUIAPP.RSS(96) : Link name not found
* RCOMP failed - deleting output files
NMAKE : fatal error U1077: 'perl' : return code '0x1'
Stop.
Error executing c:\winnt\system32\cmd.exe.

GUIAPP.APP - 1 error(s), 0 warning(s)
Reply With Quote

#10 Old 2003-05-14, 03:35

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

You are right. The code was for 9210 communicator. The purpose of the code was not to give you a compilable sample code. Instead, I wanted to give you an example, demonstrating how to call the functions defined in .c file.

Please study the code. I think it is perfectly OK even the code cannot be successfully compiled.

Hopefully, it has everything you want!

Liuxg
Forum Nokia
Reply With Quote

#11 Old 2003-05-15, 04:40

Join Date: Mar 2003
Posts: 128
kangtk
Offline
Regular Contributor
用sisar出错也许是因为你没有将操作
系统的区域改到英文区域。
因为你目前的操作系统的区域是中文的。
所以你不妨将操作系统的区域改到
英文区域,试试看。应该会有用的。
Reply With Quote

#12 Old thanks - 2003-05-15, 09:14

Join Date: Apr 2003
Posts: 181
Location: china
zsj2003
Offline
Regular Contributor
依据你说的,搞定了。
Reply With Quote

#13 Old 是指更改“时区”吗? - 2003-08-15, 09:35

Join Date: Aug 2003
Posts: 10
ivivian
Offline
Registered User
是指更改“时区”吗?
Reply With Quote

#14 Old 2003-08-15, 10:41

Join Date: Mar 2003
Posts: 128
kangtk
Offline
Regular Contributor
控制面板->区域选项
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia