Skip to content

Change Details : Compiling S60Webkit with Carbide C++ v1.2.



I had mentioned that I was able to compile S60 WebKit using Carbide.C++ v1.2. To get it to compile I had to change the build.bat script to include the correct Carbide C++ path as well as include the proper lib. Carbide C++ v1.2 has the concerned libs in separate path from Carbide C++ v1.0 so we would need to rectify the script to point to the correct path.
So the changes are to include these two line after $cbdhome variable.

my $cbdv1path = "plugins\\com.nokia.carbide.cpp.support_1.0.0";
my $cbdv1_2path = "x86Build";

Also the following two lines present in build.bat


$ENV{'MWLibraries'}     =
"$cbdhome\\plugins\\com.nokia.carbide.cpp.support_1.0.0\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;$cbdhome\\plugins\\com.nokia.carbide.cpp.support_1.0.0\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;$cbdhome\\plugins\\com.nokia.carbide.cpp.support_1.0.0\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;$cbdhome\\plugins\\com.nokia.carbide.cpp.support_1.0.0\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;$cbdhome\\plugins\\com.nokia.carbide.cpp.support_1.0.0\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs";
$ENV{'MWSym2LibraryFiles'} =
'gdi32.lib;user32.lib;kernel32.lib;MSL_All_MSE.lib;MSL_All_MSE_Symbian.lib;MSL_All_x86.lib;MSL_All_x86_Symbian.lib';

would need to be changed to the following:

$ENV{'MWLibraries'}     =
"$cbdhome\\$cbdv1_2path\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;$cbdhome\\$cbdv1_2path\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;$cbdhome\\$cbdv1_2path\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;$cbdhome\\$cbdv1_2path\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;$cbdhome\\$cbdv1_2path\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs";
$ENV{'MWSym2LibraryFiles'} =
'gdi32.lib;user32.lib;kernel32.lib;MSL_All_MSE.lib;MSL_All_MSE_Symbian.lib;MSL_All_x86.lib;MSL_All_x86_Symbian.lib;MSL_All_MSE_Symbian_D.lib';

With these changes in the build.bat, the S60 Webkit can now be compiled with Carbide C++ v1.2 as well. Also make sure that the S60 Webkit revision is 21772, as that is the latest code version that compiles without any issues.