
Originally Posted by
wizard_hu_
When you unzip that folder into an arbitrary location, it does not become part of the SDK for obvious reasons. However inside the package and/or inside the separate API directories you will find epoc32 folders, which can be directly copied on the epoc32 folder of your SDK. The aim is that the .h files in the plug-in pack have to end up in epoc32\include of the SDK, the .lib files go to epoc32\release\winscw\udeb and epoc32\release\armv5\lib of the SDK. That is the place where the SDK looks for them.
I have copied both "epoc32" and "plugins" folders from the "AIWDialDataConsumerAPI" directory to the SDK directory "C:\S60\devices\S60_3rd_FP2_SDK_v1.1",
Code:
// [[[ begin generated region: do not modify [Generated Constants]
#include <aiwservicehandler.h>
#include <aiwdialdataext.h>
#include <aiwdialdata.h>
// ]]] end generated region [Generated Constants]
now, the "CTestAppContainerView.cpp" can build successfully,
but, when I try to construct a CAiwDialData object:
Code:
/**
* Handle a command for this view (override)
* @param aCommand command id to be handled
*/
void CTestAppContainerView::HandleCommandL( TInt aCommand )
{
// [[[ begin generated region: do not modify [Generated Code]
TBool commandHandled = EFalse;
switch ( aCommand )
{ // code to dispatch to the AknView's menu and CBA commands is generated here
default:
break;
}
if ( !commandHandled )
{
if ( aCommand == EAknSoftkeyExit )
{
CAiwDialData* dialData = CAiwDialData::NewLC();
AppUi()->HandleCommandL( EEikCmdExit );
}
}
// ]]] end generated region [Generated Code]
}
Found errors when executing the "Build all configurations" command,
here is the output:
Code:
***Building project "TestApp" for configuration "Phone Release (GCCE) [S60_3rd_FP2_SDK_v1.1]"
***Printing environment variables modified from default:
PATH=C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\tools;C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\gcc\bin;C:/Symbian/Tools/Carbide.c++ v2.7/jre/bin/client;C:/Symbian/Tools/Carbide.c++ v2.7/jre/bin;C:\Perl\bin\;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Cepstral\bin;C:\Program Files\wfavvid_802;C:\Program Files\wfavvid_802\lib\;C:\Program Files\wfavvid_802\java\bin;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\IDM Computer Solutions\UltraEdit\
PERL5LIB=[undefined]
EPOCROOT=\S60\devices\S60_3rd_FP2_SDK_v1.1\
NO_DEPENDENCIES=-nd
MAKE=make -j 4
Working Directory: C:/Symbian/Carbide/workspace/TestApp/group
***Makefile structures up to date. Skipping 'bldmake bldfiles'
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ export
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
Total Time: 0 sec
***Generating abld makefile.
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ makefile gcce Icons_aif_scalable_dc
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\GCCE.make" MAKEFILEICONS_AIF_SCALABLE_DC VERBOSE=-s
make -j 4 -s -C \Symbian\Carbide\workspace\TestApp\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\TestApp\group PLATFORM=GCCE MAKMAKE
Total Time: 0 sec
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ library gcce
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\GCCE.make" LIBRARY VERBOSE=-s
make -s -C \Symbian\Carbide\workspace\TestApp\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\TestApp\group PLATFORM=GCCE LIB
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\TESTAPP\GCCE\TESTAPP.GCCE" LIBRARY
Total Time: 1 sec
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ resource gcce urel
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
make -s -C \Symbian\Carbide\workspace\TestApp\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\TestApp\group PLATFORM=GCCE CFG=UREL RESOURCE
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\TESTAPP\GCCE\TESTAPP.GCCE" RESOURCEUREL
Total Time: 1 sec
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ target gcce urel
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\GCCE.make" TARGET CFG=UREL VERBOSE=-s
In file included from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/fbs.h:12,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/bitdev.h:9,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/w32std.h:13,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/coeaui.h:11,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/eikappui.h:9,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/aknappui.h:24,
from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/aknviewappui.h:24,
from /Symbian/Carbide/workspace/TestApp/src/testappcontainerview.cpp:10:
/S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/bitmap.h: In member function `TBool CBitwiseBitmap::TSettings::IsDirtyBitmap() const':
/S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/bitmap.h:359: warning: enumeral mismatch in conditional expression: `TTrue' vs `TFalse'
In file included from /S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/eikmenub.h:18,
from /Symbian/Carbide/workspace/TestApp/src/testappcontainerview.cpp:11:
/S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/eikmenup.h: In member function `TBool CEikMenuPaneItem::IsScaleableText(const TDesC&) const':
/S60/devices/S60_3rd_FP2_SDK_v1.1/epoc32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'
/Symbian/Carbide/workspace/TestApp/src/testappcontainerview.cpp: In member function `virtual void CTestAppContainerView::HandleCommandL(TInt)':
/Symbian/Carbide/workspace/TestApp/src/testappcontainerview.cpp:130: warning: unused variable 'dialData'
\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\TESTAPP\GCCE\UREL\TestAppContainerView.o: In function `CTestAppContainerView::HandleCommandL(int)':
testappcontainerview.cpp:(.text+0x2ac): undefined reference to `CAiwDialData::NewLC()'
make[1]: *** [\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\urel\TestApp.exe] Error 1
make: *** [TARGETTESTAPP] Error 2
make -j 4 -s -C \Symbian\Carbide\workspace\TestApp\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\TestApp\group PLATFORM=GCCE CFG=UREL BLD
make -j 4 -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\TESTAPP\GCCE\TESTAPP.GCCE" UREL
testappcontainerview.cpp
Total Time: 3 sec
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ final gcce urel
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\GCCE.make" FINAL CFG=UREL VERBOSE=-s
make -j 4 -s -C \Symbian\Carbide\workspace\TestApp\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\TestApp\group PLATFORM=GCCE CFG=UREL FINAL
Total Time: 3 sec
***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\TestApp\group\ test export
make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Symbian\Carbide\workspace\TestApp\group\EXPORTtest.make" EXPORT VERBOSE=-s
Nothing to do
Total Time: 3 sec
***Errors were detected in build. See the Problems or Console view for details.
Total Time: 3 sec
What is the problem ?