Ошибка сборки в карбиде с ++ - PullRequest
0 голосов
/ 16 декабря 2011

Я создаю простой проект hello world в carbide.c ++ и обнаружил эти ошибки при попытке создать проект

Я использую Sybmian ^ 3 SDK и Carbide.C ++. Вот консольный вывод

***Building project "hello" for configuration "Emulator Debug (WINSCW) [symbian]"

***Printing environment variables modified from default:
PATH=C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Tools\Command_Line_Tools;C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\t  ools;C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\gcc\bin;C:/Symbian/Tools/Carbide.c++    v2.7/jre/bin/client;C:/Symbian/Tools/Carbide.c++ v2.7/jre/bin;C:\Perl\site\bin;C:\Perl\bin;C:\Perl\bin;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CodeSourcery\Sourcery G++ Lite\bin;\epoc32\tools\sbs\bin;C:\Program Files\CodeSourcery\Sourcery G++ Lite\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Perl\bin;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\Symbian\tools
=::=::\
MWCSYM2INCLUDES=C:\Symbian\Tools\Carbide.c++  v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
MWSYM2LIBRARIES=C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs
 MWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;
MWCINCLUDES=C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Symbian\Tools\Carbide.c++ v2.7\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
EPOCROOT=\Nokia\devices\Nokia_Symbian3_SDK_v1.0\
NO_DEPENDENCIES=-nd
MAKE=make -j 4

Working Directory: C:/Symbian/Carbide/workspace/hello/group


  ***Invoking bldmake command
perl.exe -S bldmake.pl bldfiles winscw  
The process tried to write to a nonexistent pipe.
   defined(%hash) is deprecated at C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\tools\/E32Plat.pm line 401.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\tools\/E32Plat.pm line 451.
(Maybe you should just omit the defined()?)
    defined(%hash) is deprecated at  C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\tools\/E32Plat.pm line 591.
(Maybe you should just omit the defined()?)

"\Symbian\Carbide\workspace\hello\group\BLD.INF" FATAL ERROR(S):
\Symbian\Carbide\workspace\hello\group\BLD.INF(26) :         \Symbian\Carbide\workspace\hello\group\ICONS_SCALABLE_DC.MK does not exist

=== BLDMAKE Command failed with error code 1 ===
***Stopping. Check the Problems view or Console output for errors.

***Errors were detected in build. See the Problems or Console view for details.

Total Time: 0 sec

Ответы [ 2 ]

0 голосов
/ 19 декабря 2013

Это верно, как упомянул DaveRlZ.

Ясное описание и решение показано здесь

http://developer.nokia.com/Community/Discussion/showthread.php/217613-ICONS_SCALABLE_DC-MK

работал для меня

0 голосов
/ 23 декабря 2011

Эта ссылка выглядит аналогично, предполагая, что сообщение в вашем выводе:

"\Symbian\Carbide\workspace\hello\group\BLD.INF" FATAL ERROR(S): \Symbian\Carbide\workspace\hello\group\BLD.INF(26) :         \Symbian\Carbide\workspace\hello\group\ICONS_SCALABLE_DC.MK does not exist

связано с тем, что искомый файл имеетбыл неправильно назван.Ищите Icons_aif_scalable_dc.mk и переименуйте его соответственно.

...