[i386-WinCE] gles20.pas : Error: Incompatible type for arg no. 2: Got "Pchar", expecte d "PWideChar"
Original Reporter info from Mantis: takeda99
-
Reporter name: Takeda Matsuki
Original Reporter info from Mantis: takeda99
- Reporter name: Takeda Matsuki
Description:
Try to build i386-WinCE was failed.
Here the chunk of report :
......
[ 62%] Skipped package libsee which has been disabled for target i386-wince
[ 63%] Skipped package libvlc which has been disabled for target i386-wince
[ 64%] Skipped package libxml2 which has been disabled for target i386-wince
[ 65%] Skipped package lua which has been disabled for target i386-wince
[ 66%] Skipped package mad which has been disabled for target i386-wince
[ 66%] Skipped package modplug which has been disabled for target i386-wince
[ 67%] Skipped package ncurses which has been disabled for target i386-wince
[ 68%] Skipped package newt which has been disabled for target i386-wince
Start compiling package numlib for target i386-wince.
Compiling numlib\BuildUnit_numlib.pp
Compiling .\numlib\src\dsl.pas
Compiling .\numlib\src\typ.pas
Compiling .\numlib\src\omv.pas
Compiling .\numlib\src\mdt.pas
Compiling .\numlib\src\det.pas
Compiling .\numlib\src\eigh1.pas
Compiling .\numlib\src\eigh2.pas
Compiling .\numlib\src\eig.pas
Compiling .\numlib\src\int.pas
Compiling .\numlib\src\inv.pas
Compiling .\numlib\src\iom.pas
Compiling .\numlib\src\sle.pas
Compiling .\numlib\src\spe.pas
Compiling .\numlib\src\ipf.pas
Compiling .\numlib\src\numlib.pas
Compiling .\numlib\src\ode.pas
Compiling .\numlib\src\roo.pas
Compiling .\numlib\src\spl.pas
[ 69%] Compiled package numlib
[ 70%] Skipped package nvapi which has been disabled for target i386-wince
[ 71%] Skipped package objcrtl which has been disabled for target i386-wince
Start compiling package oggvorbis for target i386-wince.
Compiling oggvorbis\BuildUnit_oggvorbis.pp
Compiling .\oggvorbis\src\ogg.pas
Compiling .\oggvorbis\src\vorbis.pas
[ 72%] Compiled package oggvorbis
[ 72%] Skipped package openal which has been disabled for target i386-wince
[ 73%] Skipped package opencl which has been disabled for target i386-wince
Start compiling package opengles for target i386-wince.
Compiling opengles\BuildUnit_opengles.pp
Compiling .\opengles\src\gles20.pas
The installer encountered the following error:
External command "d:/freepascal271/compiler/ppcross386.exe -Twince -FUopengles\u
nits\i386-wince\ -Fud:\freepascal271\rtl\units\i386-wince\ -Fuopengles\src -Twin
ce -XPi386-wince- -Xr -Ur -Xs -O2 -n -Fud:/freepascal271/rtl/units/i386-wince -d
i386 -dRELEASE -viq opengles\BuildUnit_opengles.pp" failed with exit code 1. Con
sole output:
Target OS: WinCE for i386
Compiling opengles\BuildUnit_opengles.pp
Compiling .\opengles\src\gles20.pas
gles20.pas(1368,44) Error: Incompatible type for arg no. 2: Got "Pchar", expecte
d "PWideChar"
gles20.pas(1468,30) Error: Incompatible type for arg no. 1: Got "Pchar", expecte
d "PWideChar"
gles20.pas(1690,33) Error: Incompatible type for arg no. 1: Got "Pchar", expecte
d "PWideChar"
gles20.pas(1875,4) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [all] Error 1
make[2]: Leaving directory d:/freepascal271/packages'<br/> make[1]: *** [packages_all] Error 2<br/> make[1]: Leaving directory
d:/freepascal271'
make: *** [build-stamp.i386-wince] Error 2
d:\freepascal271>
Additional information:
- I use Windows 7 Ultimate x64 SP1 with latest update.
- FPC 2.6.0 as starter
- Make v3.82
- Using normal procedure/step to built it.
Mantis conversion info:
- Mantis ID: 24242
- OS: Windows 7 Ultimate x64 SP1
- OS Build: 6.1
- Build: 24183
- Platform: i386-WinCE
- Version: 2.7.1
- Fixed in version: 2.6.4
- Fixed in revision: 25927 (#c2c73a8a)