Welcome! » Log In » Create A New Profile

Compiled failed with VC++ 6.0

Posted by Ai 
Ai
Compiled failed with VC++ 6.0
July 16, 2005 12:31PM
Downloaded coolplayer src bld 215. But failed to load it into VC++ 6.0. Always miss vorbislib.dsp. Where can I find it?

Re: Compiled failed with VC++ 6.0
July 16, 2005 06:59PM
you need to use the project files that have the .old extension; the current project files were created with Visual Studio 7.1



i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
Ai
Re: Compiled failed with VC++ 6.0
July 19, 2005 07:37AM
Please forgive my stupid. :-P
Now I am using MinGW gcc to compile it and get my own build. :-)
But how to debug it? MinGW GDB doesn't have GUI, which is hard for me.
Re: Compiled failed with VC++ 6.0
July 20, 2005 03:42PM
no idea; to the best of my knowledge, there's never been a successful compile with MinGW, although several people have tried



i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
Ai
Re: Compiled failed with VC++ 6.0
July 21, 2005 02:00PM
Do you mean the CoolPlayer can be compiled by VC++7.1? Since I cannot install VC++7.1 on my computer for some reason, I changed the Makefile to make it work. Then it can be successfully compiled under MinGW.
My method is very easy:
1. unzip the 215 src build
2. copy the direct X include files to src directory
3. Modify the Makefile under Main direcoty as following:
Line5: -Ic:/DXSDK?Include -------> -IDXSDK/Include
Line6: -Lvorbis/lib/libs -------> -Lvorbis/lib/.libs
-Logg/src/libs -------> -Logg/src/.libs

In fact I am not familiar with VC++. I use MinGW only because it can't be loaded and compiled by VC++6.0. My question is that I want to debug it with VC++. VC++ debuger is easy to use. So, if possible, could you developers make some change to the dsw and dsp file, let it can be loaded into VC++6.0 and compiled successful. I tried some time but failed. :-(
Re: Compiled failed with VC++ 6.0
July 22, 2005 02:32AM
you need to use the project files that have the .old extension



i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
Re: Compiled failed with VC++ 6.0
October 31, 2005 03:26AM
I used the .old extension files.
They are "coolplayer.vcproj.old", "coolplayer.sln.old", and so on.

But it still don't work.

Here's on compile error in 15 errors:

E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\CPI_Player_CoDec_OGG.c(28) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory
CPI_Player_CoDec_WAV.c
Re: Compiled failed with VC++ 6.0
October 31, 2005 03:43AM
OS on my pc is win-xp.

E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\CPI_Player_Engine.c(184) : error C2220: warning treated as error - no object file generated

E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(47) : error C2146: syntax error : missing ')' before identifier 'hMonitor'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(47) : error C2061: syntax error : identifier 'hMonitor'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(47) : error C2059: syntax error : ';'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(47) : error C2059: syntax error : ','
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(47) : error C2059: syntax error : ')'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(48) : error C2143: syntax error : missing ')' before '__stdcall'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(48) : error C2143: syntax error : missing '{' before '__stdcall'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(48) : error C2059: syntax error : ')'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(48) : error C2165: 'left-side modifier' : cannot modify pointers to data
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(51) : error C2061: syntax error : identifier 'pfnGetMonitorInfo'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(51) : error C2059: syntax error : ';'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(52) : error C2061: syntax error : identifier 'pfnMonitorFromWindow'
E:\work\mp3\CoolPlayer215\CoolPlayer215_Src\Main\WindowsOS.h(52) : error C2059: syntax error : ';'
Re: Compiled failed with VC++ 6.0
November 01, 2005 05:28AM
you need to move the current solution & project files elsewhere, and rename the ones with the .old extension to not have the .old part.

that was the only step i recall having to go through to get coolplayer to compile. if you have already done that, then i don't have any more advice.



i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
I m getting this error when i comile my project in vc++ 6.0
error C2143: syntax error : missing ';' before '.'
i m using vector<int> v;
so my syntax of methodes ,declaration is correct .
so please help me


thanx & regards,
Dheeraj.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
 ********   ********   ********   ******    **     ** 
 **     **  **     **  **        **    **   **     ** 
 **     **  **     **  **        **         **     ** 
 ********   **     **  ******    **   ****  **     ** 
 **     **  **     **  **        **    **   **     ** 
 **     **  **     **  **        **    **   **     ** 
 ********   ********   ********   ******     *******  
Message: