Compiling with cegcc : ar: wince_rc.o: No such file or direc

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
junkie_crew
Blank Cone
Blank Cone
Posts: 35
Joined: 31 Jul 2007 15:28

Compiling with cegcc : ar: wince_rc.o: No such file or direc

Postby junkie_crew » 09 Oct 2007 13:20

Hi,

Still trying to compile vlc-0.8.6c for WinCE with cegcc, I am facing this error :
: -DUNDER_CE -D__MINGW32__ -I. -I. -i wince_rc.rc -o wince_rc.o
rm -f libwince.a
ar cru libwince.a libwince_a-wince.o libwince_a-interface.o libwince_a-dialogs.o libwince_a-menus.o libwince_a-open.o libwince_a-playlist.o libwince_a-fileinfo.o libwince_a-iteminfo.o libwince_a-messages.o libwince_a-preferences.o libwince_a-preferences_widgets.o libwince_a-subtitles.o libwince_a-timer.o libwince_a-video.o wince_rc.o
ar: wince_rc.o: No such file or directory
I do not know what "ar cru" means, and what the wince_rc.o file is for...

What is it done during this step ?

Thanks !

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling with cegcc : ar: wince_rc.o: No such file or direc

Postby Jean-Baptiste Kempf » 09 Oct 2007 19:10

Maybe it should be cegcc-something-ar that should be run,
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

junkie_crew
Blank Cone
Blank Cone
Posts: 35
Joined: 31 Jul 2007 15:28

Re: Compiling with cegcc : ar: wince_rc.o: No such file or direc

Postby junkie_crew » 10 Oct 2007 10:47

Yep, I found what was needed :

The wince_rc.rc file is a ressource file, and the command supposed to deal with that kind of file is windres. So I changed my environment settings as following :
setenv CFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -D_UNICODE -I/opt/cegcc/arm-wince-cegcc/include"
setenv CXXFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -D_UNICODE -D__cplusplus -I/opt/cegcc/arm-wince-cegcc/include -I/opt/cegcc/include/c++/4.1.0/"
setenv LD_LIBRARY_PATH /opt/cegcc/arm-wince-cegcc/lib:$LD_LIBRARY_PATH
setenv PATH /opt/cegcc/bin:$PATH
setenv PATH /opt/cegcc/arm-wince-cegcc/bin:$PATH
setenv LDFLAGS "-L/opt/cegcc/arm-wince-cegcc"
setenv "$LDFLAGS -L/opt/cegcc/arm-wince-cegcc"
setenv CC "gcc -mcpu=xscale"
setenv WINDRES "arm-wince-cegcc-windres"


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests