Skip to main content

Error Compiling CLDC on WINCE

3 replies [Last post]
chandanvn
Offline
Joined: 2008-05-17
Points: 0

Hi all,
While compiling CLDC on WinCE I am getting this error.

Generating _build_pch_visCPP.obj ...
cl : Command line error D8038 : invalid argument '../generated -ID:/phoneME_feat
ure/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/shar
e/compiler -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phon
eme_feature/cldc/src/vm/share/debugger -ID:/phoneME_feature/phoneme_feature-mr2-
rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/share/handles -ID:/phoneME_f
eature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/s
hare/memory -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/pho
neme_feature/cldc/src/vm/share/interpreter -ID:/phoneME_feature/phoneme_feature-
mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/share/isolate -ID:/phone
ME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/
vm/share/natives -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-200
7/phoneme_feature/cldc/src/vm/share/reflection -ID:/phoneME_feature/phoneme_feat
ure-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/share/runtime -ID:/p
honeME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/
src/vm/share/utilities -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_m
ay-2007/phoneme_feature/cldc/src/vm/share/ROM -ID:/phoneME_feature/phoneme_featu
re-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/share/verifier -ID:/p
honeME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/
src/vm/share/float -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2
007/phoneme_feature/cldc/src/vm/os/utilities -ID:/phoneME_feature/phoneme_featur
e-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/share/memoryprofiler -
ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/
cldc/src/vm/os/wince -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may
-2007/phoneme_feature/cldc/src/midp -ID:/phoneME_feature/phoneme_feature-mr2-rel
-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/cpu/arm -ID:/phoneME_feature/ph
oneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/cpu/c -ID:
/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cld
c/src/vm/cpu/i386 -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-20
07/phoneme_feature/cldc/src/vm/cpu/sh -ID:/phoneME_feature/phoneme_feature-mr2-r
el-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/cpu/thumb -ID:/phoneME_featur
e/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/vm/cpu/th
umb2 -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_fe
ature/cldc/src/anilib/share -ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23
-08_may-2007/phoneme_feature/cldc/src/anilib/wince -ID:/phoneME_feature/phoneme_
feature-mr2-rel-src-b23-08_may-2007/phoneme_feature/cldc/src/tools/ads_extender
-ID:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature
/output/pcsl/wince_arm/inc -DARM'
make[1]: *** [_build_pch_visCPP.obj] Error 2
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/output/cldc/wince_arm/target/debug'
make: *** [_debug] Error 2
make: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_m
ay-2007/phoneme_feature/cldc/build/wince_arm'

Please let me know if anyone has any idea.
It would be of great help.

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
geelpheels
Offline
Joined: 2006-05-05
Points: 0

I met the same error. Perhaps it is due to the cl cannot take so many options at the same time. Because when I cut off some /I options it runs through. I hope to find some way that can make cl take any amount of /I options. If you know please tell me.Thanks.

geelpheels
Offline
Joined: 2006-05-05
Points: 0

I met the same error. Perhaps it is due to the cl cannot take so many options at the same time. Because when I cut off some /I options it runs through. I hope to find some way that can make cl take any amount of /I options. If you know please tell me.Thanks.

davyp
Offline
Joined: 2007-01-03
Points: 0

I do not know if it is related, but I also had an annoying issue with long path names. I put the
sources into a folder c:\phoneme_feature and have the build output put in c:\out. I see that the
path to the sources is already quite long:
D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/phoneme_feature

Also, be careful with dos versus unix/cygwin path names (i.e. backward and forward slashes).
One last advice: use a more recent version of phoneme feature, because this one is already
quite old!

Davy