07-02-2011, 10:33 AM
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
07-02-2011, 11:28 AM
(07-02-2011, 10:33 AM)DaMan Wrote: [ -> ]M=modified
You probably changed a compiler option in VS.
for example: which changed of compiler option cause this result?
I only set the dxsdk include in VC++ Directories
except that , I didn't change any other option ...
then how to compiled the plugins without "m" like the others ?
07-03-2011, 12:16 PM
Go to View, property manager, pick any project,release,MS CPP Win32 user, and add your includes/libs from there. These will be added to every project like previous VS VC directories did. SVN revert the sln/vcxprojs back.
07-04-2011, 02:27 AM
thanks for your help. it works.
07-04-2011, 04:31 PM
Attempt building CDVDpeops directly from trunk\plugins\CDVDpeops
I open cdvdPeops_2005.vcproj with VS2010 Professional RTM, and click Finish for automatic conversion. But following errors during compiling:
Same thing happened in VS2008 SP1. I think the key is "error C2143: syntax error : missing ')' before '('".
help me please, thanks in advance.
I open cdvdPeops_2005.vcproj with VS2010 Professional RTM, and click Finish for automatic conversion. But following errors during compiling:
Code:
1>------ Build started: Project: cdvdPeops, Configuration: Release Win32 ------
1>Build started 2011/7/4 下午 10:07:10.
1>InitializeBuildStatus:
1> Creating ".\Release\cdvdPeops.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> cdda.c
1> cdr.c
1> cdvdPeops.c
1> cfg.c
1> generic.c
1> ioctrl.c
...
1> CDVDisodrv.c
1> CheckDiskType.c
1> libiso.c
1>libiso.c(38): error C2143: syntax error : missing ')' before '('
1>libiso.c(38): error C2091: function returns function
1>libiso.c(38): error C2059: syntax error : ')'
1>libiso.c(54): error C2143: syntax error : missing ')' before '('
1>libiso.c(54): error C2091: function returns function
1>libiso.c(54): error C2059: syntax error : ')'
1>libiso.c(54): error C2371: '__attribute__' : redefinition; different basic types
1> libiso.c(38) : see declaration of '__attribute__'
1>libiso.c(96): error C2143: syntax error : missing ')' before '('
1>libiso.c(96): error C2091: function returns function
1>libiso.c(96): error C2059: syntax error : ')'
1>libiso.c(96): error C2371: '__attribute__' : redefinition; different basic types
1> libiso.c(38) : see declaration of '__attribute__'
1>libiso.c(173): warning C4244: 'function' : conversion from 'u64' to 'long', possible loss of data
1>libiso.c(388): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>libiso.c(451): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.95
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Same thing happened in VS2008 SP1. I think the key is "error C2143: syntax error : missing ')' before '('".
help me please, thanks in advance.
07-05-2011, 04:20 PM
I have another ploblem : when I download the sources code from pcsx2.net download aera , (pcsx2 0.98 R4600 source code), not from SVN, when I compile GSDX , build sucessful ,but when i use this plugin in pcsx2 ,it shows in pcsx2 :
Gsdx 0 (MSVC 16.00 , SSE4.1........
seems like it didn't show plugin version correctly.
When I use SVN "export" local copy source code instead of "checkout" , has the same problem, how to fix it ? or how to modify the pludin's version number in pcsx2 ?
Gsdx 0 (MSVC 16.00 , SSE4.1........
seems like it didn't show plugin version correctly.
When I use SVN "export" local copy source code instead of "checkout" , has the same problem, how to fix it ? or how to modify the pludin's version number in pcsx2 ?
07-05-2011, 05:56 PM
@pcsx2fan try :3
Edit: oh and it failed to copy the file still at least when I just tried, but the binary will be waiting in CDVDpeops folder anyway:].
Yet another edit: glad you figured it out, thought it was obvious^_^
@oneofmany umm you already know you get revision number from TortoiseSVN which makes SubVersioN easy soo why to complicate it? Google for Subversion maybe, I dunno myself. O.o
Code:
#define __attribute__(p)
Yet another edit: glad you figured it out, thought it was obvious^_^
@oneofmany umm you already know you get revision number from TortoiseSVN which makes SubVersioN easy soo why to complicate it? Google for Subversion maybe, I dunno myself. O.o
07-06-2011, 10:56 AM
(07-05-2011, 05:56 PM)miseru99 Wrote: [ -> ]@pcsx2fan try :3
Edit: oh and it failed to copy the file still at least when I just tried, but the binary will be waiting in CDVDpeops folder anyway:].Code:#define __attribute__(p)
I'm not sure where to add the code as I'm not a programmer.
But guessing and trying insert the code "#define __attribute__(p)" as a new line right before the line "#define __MSCW32__", correct me if I'm mistaken.
trunk\plugins\CDVDpeops\libiso.c Wrote:#include
#include
#include
#include
#include
#include
//#include
#define __attribute__(p)
#define __MSCW32__
...
And build successfully, the plugin also works .
07-06-2011, 11:45 AM
To add the revision number put SubWCRev somewhere and add it to the executable directories.
pcsx2fan you can add it in the preprocessor tab under C/C++ (putting it in the source itself works too). Looks like __WIN32__ is used instead of _WIN32 so the wrong ifdef gets used on line 51 of libiso.c. Defining __WIN32__ fixed it. Turn of the copy in build events/post build events if you want to get rid of that harmless error. And FYI VS2010 SP1 is out.
pcsx2fan you can add it in the preprocessor tab under C/C++ (putting it in the source itself works too). Looks like __WIN32__ is used instead of _WIN32 so the wrong ifdef gets used on line 51 of libiso.c. Defining __WIN32__ fixed it. Turn of the copy in build events/post build events if you want to get rid of that harmless error. And FYI VS2010 SP1 is out.
07-30-2011, 05:10 PM
back at the code. is there any chance to compile gsdx in standard vs08xprs with its own psdk and dxsdk?
do I really have to use that crappy vs10 just for atl dependencies and that devbugs called SDL?
and yeah I don't wanna waste time fixing not so standard usable things.
do I really have to use that crappy vs10 just for atl dependencies and that devbugs called SDL?
and yeah I don't wanna waste time fixing not so standard usable things.