Compiling Player in Windows Vista x32 with Visual Studio 2008

View: New views
5 Messages — Rating Filter:   Alert me  

Compiling Player in Windows Vista x32 with Visual Studio 2008

by Jorge Santos Simón :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I have tried to compile Player with the following environment:
- Windows Vista x32
- Visual Studio 2008
- Cygwin for linux libraries dependences
- Last version of pthreads for win-32
 - Successful configuring with CMake

I have had thousands of errors, with only 9 successfully compilated projects against 27 failed!.

For example, compilation of playerdrivers generates 1139 errors, always repeating the same issues.

Example errors:

4>..\..\..\server\drivers\shell\gripcmd.cc(148) : error C3861: 'strcasecmp': identifier not found
2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2146: syntax error : missing ')' before identifier 'buflen'
2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2081: 'size_t' : name in formal parameter list illegal
4>D:\ER1\psg\pthreads-win32\include\pthread.h(233) : error C2146: syntax error : missing ';' before identifier '_END_STD_C'
22>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\cstdlib(26) : error C2039: 'free' : is not a member of '`global namespace''
12>c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'

So I guest something is really wrong in my configuration.

Anyone has successfully compiled Player on such environment? Any sugestions?

Thank you very much


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users

Re: Compiling Player in Windows Vista x32 with Visual Studio 2008

by Jeff Donner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you tried cygwin? It's a Unix emulator for Windows. You'd do it
all from the command line, you couldn't use VC++ without a lot of
work.

2009/10/24 Jorge Santos Simón <jsantossimon@...>:

> Hi all,
> I have tried to compile Player with the following environment:
> - Windows Vista x32
> - Visual Studio 2008
> - Cygwin for linux libraries dependences
> - Last version of pthreads for win-32
>  - Successful configuring with CMake
> I have had thousands of errors, with only 9 successfully compilated projects
> against 27 failed!.
> For example, compilation of playerdrivers generates 1139 errors, always
> repeating the same issues.
> Example errors:
> 4>..\..\..\server\drivers\shell\gripcmd.cc(148) : error C3861: 'strcasecmp':
> identifier not found
> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2146:
> syntax error : missing ')' before identifier 'buflen'
> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2081:
> 'size_t' : name in formal parameter list illegal
> 4>D:\ER1\psg\pthreads-win32\include\pthread.h(233) : error C2146: syntax
> error : missing ';' before identifier '_END_STD_C'
> 22>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\cstdlib(26) :
> error C2039: 'free' : is not a member of '`global namespace''
> 12>c:\program files\microsoft visual studio
> 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax
> error : '__w64 unsigned int' should be preceded by ';'
> So I guest something is really wrong in my configuration.
> Anyone has successfully compiled Player on such environment? Any sugestions?
> Thank you very much
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users

Re: Compiling Player in Windows Vista x32 with Visual Studio 2008

by Jeff Donner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oops, missed what you wrote, sorry.

On Sat, Oct 24, 2009 at 4:26 PM, Jeff Donner <jeffrey.donner@...> wrote:

> Have you tried cygwin? It's a Unix emulator for Windows. You'd do it
> all from the command line, you couldn't use VC++ without a lot of
> work.
>
> 2009/10/24 Jorge Santos Simón <jsantossimon@...>:
>> Hi all,
>> I have tried to compile Player with the following environment:
>> - Windows Vista x32
>> - Visual Studio 2008
>> - Cygwin for linux libraries dependences
>> - Last version of pthreads for win-32
>>  - Successful configuring with CMake
>> I have had thousands of errors, with only 9 successfully compilated projects
>> against 27 failed!.
>> For example, compilation of playerdrivers generates 1139 errors, always
>> repeating the same issues.
>> Example errors:
>> 4>..\..\..\server\drivers\shell\gripcmd.cc(148) : error C3861: 'strcasecmp':
>> identifier not found
>> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2146:
>> syntax error : missing ')' before identifier 'buflen'
>> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error C2081:
>> 'size_t' : name in formal parameter list illegal
>> 4>D:\ER1\psg\pthreads-win32\include\pthread.h(233) : error C2146: syntax
>> error : missing ';' before identifier '_END_STD_C'
>> 22>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\cstdlib(26) :
>> error C2039: 'free' : is not a member of '`global namespace''
>> 12>c:\program files\microsoft visual studio
>> 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144: syntax
>> error : '__w64 unsigned int' should be preceded by ';'
>> So I guest something is really wrong in my configuration.
>> Anyone has successfully compiled Player on such environment? Any sugestions?
>> Thank you very much
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Playerstage-users mailing list
>> Playerstage-users@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>
>>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users

Re: Compiling Player in Windows Vista x32 with Visual Studio 2008

by Paul Osmialowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Sat, 24 Oct 2009, Jorge Santos Simón wrote:

> Hi all,
>
> I have tried to compile Player with the following environment:
> - Windows Vista x32
> - Visual Studio 2008
> - Cygwin for linux libraries dependences
> - Last version of pthreads for win-32
> - Successful configuring with CMake
>
> I have had thousands of errors, with only 9 successfully compilated projects
> against 27 failed!.
>
> For example, compilation of playerdrivers generates 1139 errors, always
> repeating the same issues.
>
> Example errors:
>
> 4>..\..\..\server\drivers\shell\gripcmd.cc(148) : error C3861: 'strcasecmp':
> identifier not found
Well, gripcmd.cc is definitely one of my drivers. It is not very complex
so it should work on Win32 fine, except that windows headers does not
provide strcasecmp() function. It is easy to fix anyway, see readlog.cc
file how it can be done. I guess it's going to be fixed sooner or later
for next stable Windows build.

Paul
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users

Re: Compiling Player in Windows Vista x32 with Visual Studio 2008

by Geoff Biggs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure how happy Visual Studio will be with Cygwin included in the
mix. If you want to compile Player on Windows, you should start with the
simplest configuration and work your way up, compiling only what you
actually need.

Geoff

Jorge Santos Simón wrote:

> Hi all,
>
> I have tried to compile Player with the following environment:
> - Windows Vista x32
> - Visual Studio 2008
> - Cygwin for linux libraries dependences
> - Last version of pthreads for win-32
>  - Successful configuring with CMake
>
> I have had thousands of errors, with only 9 successfully compilated
> projects against 27 failed!.
>
> For example, compilation of playerdrivers generates 1139 errors, always
> repeating the same issues.
>
> Example errors:
>
> 4>..\..\..\server\drivers\shell\gripcmd.cc(148) : error C3861:
> 'strcasecmp': identifier not found
> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error
> C2146: syntax error : missing ')' before identifier 'buflen'
> 2>D:\ER1\psg\player\libplayerinterface/functiontable.h(77) : error
> C2081: 'size_t' : name in formal parameter list illegal
> 4>D:\ER1\psg\pthreads-win32\include\pthread.h(233) : error C2146: syntax
> error : missing ';' before identifier '_END_STD_C'
> 22>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\cstdlib(26) :
> error C2039: 'free' : is not a member of '`global namespace''
> 12>c:\program files\microsoft visual studio
> 9.0\vc\include\codeanalysis\sourceannotations.h(19) : error C2144:
> syntax error : '__w64 unsigned int' should be preceded by ';'
>
> So I guest something is really wrong in my configuration.
>
> Anyone has successfully compiled Player on such environment? Any sugestions?
>
> Thank you very much


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users