[vlc-devel] Re: [vlc] Re: Pocket PC Install - No Go with vlc-wince-xscale-200505180454.zip
James MacLean
macleajb at ednet.ns.ca
Thu May 26 01:14:10 CEST 2005
James MacLean wrote:
> Gildas Bazin wrote:
>
>> On Tuesday 17 May 2005 22:13, James MacLean wrote:
>>
>>
>>> Gildas Bazin wrote:
>>>
>>>
>>>
>>>> On Tuesday 17 May 2005 16:21, James MacLean wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> In the mean time, just for fun :). I downloaded the cross-compile
>>>>> tools
>>>>> from http://download.videolan.org/pub/testing/wince/ and proved that
>>>>
>>>>
>>>>
>>>>> building it myself still gives the same error :).
>>>>>
>>>>> JES
>>>>>
>>>>>
>>>>>
>>>>
>>>> Ah, so you should be able to do 1 or 2 tests to trace the problem :)
>>>>
>>>>
>>>>
>>>>
>>>
>>> Anything I can do to help :).
>>>
>>>
>>>
>>>> Could you create a small test application (test.c):
>>>> int MessageBoxW( void *, char *, char *, unsigned int );
>>>> int WinMain( void *hInstance, void *hPrevInstance, char *lpCmdLine,
>>>> int nCmdShow )
>>>> {
>>>> MessageBoxW(0, L"hello", L"hello", 0);
>>>> return 0;
>>>> }
>>>>
>>>> You should be able to compile it with:
>>>> "PATH=/usr/local/wince/cross-tools/bin:$PATH arm-wince-pe-gcc
>>>> test.c -o test.exe -e WinMainCRTStartup"
>>>>
>>>> Can you try to run the resulting application ?
>>>>
>>>>
>>>>
>>>>
>>>
>>> Runs fine. I appear to now know how to make a small program for the
>>> Pocket PC ;) Thanks.
>>>
>>>
>>>
>>>> Could you also try to run the same application compiled with:
>>>> "PATH=/usr/local/wince/cross-tools/bin:$PATH arm-wince-pe-gcc
>>>> test.c -o test.exe -e WinMainCRTStartup
>>>
>>> -Wl,--major-subsystem-version=4,--minor-subsystem-version=20,--major-image-version=0"
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>
>>> Doesn't run. Give the same error as vlc.exe :(.
>>>
>>>
>>
>>
>> Hmmm, I was actually expecting to see the opposite. That's really
>> strange cause VLC is built using the 1st set of options.
>>
>> Could you maybe put some MessageBox() debug statements along
>> src/vlc.c to see how far the code gets executed (if it does get
>> executed) ?
>>
>> --
>> Gildas
>>
>>
>>
> Just tried it with the same results ;(. Let me know of there is
> anything else I can do,
> JES
>
Just trying with the latest svn trunk. Took some hacking to get it to
compile, especially that it seemed to want links from
/usr/local/wince/cross../{lib/include} to /usr/local/wince/{lib,include}.
So I ripped apart vlc.c until my axim would at least load vlc.exe. I
found that if I cleared out everything in main() (except the return
statement), it loaded.
If I only added back in the fprintf(), it did not load.
If I only added back in the VLC_Create(), it did not load.
Not sure this helps much. Where should I head to from here to help look
further into this?
JES
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3684 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050525/48d6647d/attachment.bin>
More information about the vlc-devel
mailing list