Archived
This forum has been archived. Please start a new discussion on GitHub.
error:patch mcpp2.7 in ice 3.3.0 third-parties under windowsxp sp2
first of all ,I unzip the ThirdParty-Sources-3.3.0.zip
>cd mcpp-2.7
>patch -p0 < ../mcpp/mcpp-2.7.patch
the result show below:
patching file ./noconfig/bc59.dif
patching file ./noconfig/vc6.dif
patch: **** missing line number at line 139: ---
Could anyone offer help please? I use the patch 2.5.9 for windows.
>cd mcpp-2.7
>patch -p0 < ../mcpp/mcpp-2.7.patch
the result show below:
patching file ./noconfig/bc59.dif
patching file ./noconfig/vc6.dif
patch: **** missing line number at line 139: ---
Could anyone offer help please? I use the patch 2.5.9 for windows.
0
Comments
-
I am not sure why the patch is failing for you. However, if you want you can just use mcpp 2.7.1 which was released shortly after Ice 3.3.0 was released. This version already contains the changes required for Ice and does not require patching. You can download it here.0
-
Thanks a lot! following is the solution!
I downloaded the mcpp2.71 compile like this:
cd mcpp-2.7.1
cd src
patch -c < ../noconfig/vc2003.dif
copy ..\noconfig\visualc.mak Makefile
then make the C:\Ice-3.3.0-ThirdParty-VC71 and it's subdir :include,bin,lib
replace the $(VCINSTALLDIR) with C:\Ice-3.3.0-ThirdParty-VC71 in makefile
nmake COMPILER=MSC MCPP_LIB=1 mcpplib
nmake COMPILER=MSC MCPP_LIB=1 DEBUG=1 mcpplib
nmake COMPILER=MSC MCPP_LIB=1 mcpplib_install
well done! All files under the C:\Ice-3.3.0-ThirdParty-VC710 -
sorry the command should be:
nmake clean
nmake COMPILER=MSC MCPP_LIB=1 mcpplib
nmake COMPILER=MSC MCPP_LIB=1 mcpplib_install
nmake clean
nmake COMPILER=MSC MCPP_LIB=1 DEBUG=1 mcpplib
nmake COMPILER=MSC MCPP_LIB=1 DEBUG=1 mcpplib_install0