硬质合金 C++ 中的构建问题2.0

发布于 2024-08-06 11:16:54 字数 828 浏览 2 评论 0原文

我正在构建我的应用程序,当我尝试在模拟器上运行它时,我收到此错误。

Creation Time   Description Resource    Path    Location    Type
1254339868582   BLDMAKE ERROR: Directory "\S60\devices\Nokia_N97_SDK_v1.0\epoc32\" does not exist   ZeFirst     Unknown C/C++ Problem

该文件夹确实存在并且具有必要的权限。

控制台有以下一组警告消息

warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms
warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6T2.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms
warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV7A.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms

I'm building my application and when I try to run it on the emulator, I get this error.

Creation Time   Description Resource    Path    Location    Type
1254339868582   BLDMAKE ERROR: Directory "\S60\devices\Nokia_N97_SDK_v1.0\epoc32\" does not exist   ZeFirst     Unknown C/C++ Problem

The folder does exist and does have the necessary rights.

The console has the following set of warning messages

warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms
warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6T2.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms
warning: "C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV7A.bsf" Invalid BSF specification - customization restricted to ARMV5, ABIv2 and valid BSF platforms

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

悲凉≈ 2024-08-13 11:16:55

您的计算机上还安装了哪些其他开发工具?

例如,您的路径环境变量是否有可能顺序错误,并且您没有使用正确版本的编译器?

请随意发布您的路径,它只能提供更多信息。

What other development tools do you have installed on your computer?

Is there a chance your path environment variable is in the wrong order and you're not using the correct version of the compiler, for example?

Feel free to post your path, it can only provide more information.

猫七 2024-08-13 11:16:55

我不确定这是否有效,但请尝试以下操作:

将驱动器替换为 C:\S60\devices\Nokia_N97_SDK_v1.0\

Start, Run...
subst x: C:\S60\devices\Nokia_N97_SDK_v1.0\

然后在carbide 中,将您的 SDK 设置为指向此替换位置。

Window, Preferences, Carbide C++, SDK .. 
Change the paths to use "x:\"  rather than C:\...

删除 Carbide 中所有导入的项目

Select project, right-click, delete.
(Do NOT click the tick box that is displayed).

重新导入您的项目

File, Import, x:\.....\bld.inf

I'm not sure if this will work, but try this:

Subst a drive to C:\S60\devices\Nokia_N97_SDK_v1.0\

Start, Run...
subst x: C:\S60\devices\Nokia_N97_SDK_v1.0\

Then in carbide, set your SDK to point to this subst location.

Window, Preferences, Carbide C++, SDK .. 
Change the paths to use "x:\"  rather than C:\...

Delete any imported projects in Carbide

Select project, right-click, delete.
(Do NOT click the tick box that is displayed).

Re-import your project

File, Import, x:\.....\bld.inf
落日海湾 2024-08-13 11:16:55

我曾经遇到过类似的问题。

如果您之前能够构建并启动模拟器,那么对我来说唯一有效的解决方案就是重新安装 SDK。

I have faced a similar problem once.

If you have been able to build and launch the eumlator on earlier occasions, then the only solution that worked for me was to re-install the SDK.

诗笺 2024-08-13 11:16:55

Techeretic,

请确保您的工作区位于 Symbian SDK 安装的同一驱动程序分区 (C:) 中。如果不尝试改变它。

有时我通过更改 .pkg 文件的内容以使用相对路径来解决该问题。例如:

;Files to install
;You should change the source paths to match that of your environment
;<source> <destination>
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\MyApp.exe"     -"!:\sys\bin\MyApp.exe"
"$(EPOCROOT)Epoc32\data\z\resource\apps\MyApp.r01"      -"!:\resource\apps\MyApp.r01"
"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\MyApp_reg.r01"  -"!:\private\10003a3f\import\apps\MyApp_reg.r01"
"$(EPOCROOT)epoc32\data\z\resource\apps\MyApp_aif.mif" -"!:\resource\apps\MyApp_aif.mif"
"$(EPOCROOT)epoc32\data\z\resource\apps\MyApp.mbm" -"!:\resource\apps\MyApp.mbm"

希望有帮助。

Techeretic,

make sure that your workspace is located in the same driver partition (C:) of your Symbian SDK installation. If don't try changing it.

Sometimes I solved that problem by changing .pkg file's content to use a relative path. For example:

;Files to install
;You should change the source paths to match that of your environment
;<source> <destination>
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\MyApp.exe"     -"!:\sys\bin\MyApp.exe"
"$(EPOCROOT)Epoc32\data\z\resource\apps\MyApp.r01"      -"!:\resource\apps\MyApp.r01"
"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\MyApp_reg.r01"  -"!:\private\10003a3f\import\apps\MyApp_reg.r01"
"$(EPOCROOT)epoc32\data\z\resource\apps\MyApp_aif.mif" -"!:\resource\apps\MyApp_aif.mif"
"$(EPOCROOT)epoc32\data\z\resource\apps\MyApp.mbm" -"!:\resource\apps\MyApp.mbm"

Hope it helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文