Windows - Compile Guide and Support
#11
(11-18-2009, 05:38 PM)ionsmurf Wrote: The simplest way to built with vs2010 beta2, is to convert the 2008 solution file again (and all projects with it).

It seems that my question on MSDN forums had effect by M$. Once I asked in the age of VS2010 beta1, for errors on compilation failed with VS2008 solution file automatically converted to VS2010.
http://social.msdn.microsoft.com/Forums/...34dceb8648

That indicates you may also post your questions on MSDN forums for help.
http://social.msdn.microsoft.com/Forums/...se/threads
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply

Sponsored links

#12
(11-23-2009, 05:25 PM)pcsx2fan Wrote: http://social.msdn.microsoft.com/Forums/...34dceb8648

Quote:1>PreBuildEvent:
1> The system cannot find the path specified.

Well when you convert it with vs2010 beta2, you still get this error.

In your post you can see the problem, the path is wrong.

Quote:C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command ""R:\PCSX2\plugins\zeropad\Windows\\..\..\..\..\common\vsprops\preBuild.cmd" "R:\PCSX2\plugins\zeropad\Windows\\.."

Its trying to execute R:\common\vsprops\preBuild.cmd, note the missing PCSX2 directory, one level to low.


The reason for the wrong path is the following.

The path to preBuild.cmd is using SvnCommonDir, defined in common\vsprops\plugin_svnroot.props.
SvnCommonDir is defined as "$(SvnRootDir)\common". SvnRootDir is also defined in this file.

ZeroPad (and more plugins) are using ProjectRootDir.vsprops to override the SvnRootDir property. While ProjectRootDir.vsprops is included after plugin_svnroot.props, it does not override the value of SvnRootDir in earlier property definitions where SvnRootDir is used.

In short: overriding the property value of SvnRootDir is only effective for properties that are included/defined afterwards. In vs2008 overriding SvnRootDir also affects all prior use of this property.

This means that in vs2010 SvnCommonDir is still using the old value, in order to fix this initialize SvnCommonDir again by overriding it in ProjectRootDir.vsprops (after the override of SvnRootDir) so it will use the overridden SvnRootDir property value.
Reply
#13
Okay... maybe someone can help me as I'm sure there is an infinitely easy solution but one I can't find or figure out for squat.

Using VS2010 beta 2, but there is no option to setup VC++ project directories... Of course without which I can't compile GSDx. I had zero problems having everything up and running in VS2008, but the option to add VC++ folders seems to have just vanished in this version which is confounding to say the least.
[Image: 2748844.png]
Reply
#14
(11-29-2009, 10:02 PM)Koji Wrote: Using VS2010 beta 2, but there is no option to setup VC++ project directories...

see the follow posts
http://blogs.msdn.com/vsproject/archive/...heets.aspx
http://blogs.msdn.com/vsproject/archive/...ories.aspx

Go to View -> Other Windows -> Property Manger
When you want to set the directories globally you can set the directories in Microsoft.Cpp.Win32.user.
Reply
#15
Thank you very much, I feel silly for asking. Now I just have to hammer out a few compile errors and I'll be good.
[Image: 2748844.png]
Reply
#16
I'm getting this error when I even try to open the vs2010 version of the project:

The imported project "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCProjectDefaults\masm.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
www.twitch.tv/krazytrumpeter05
Want to stream your games? Let me know and I can help you get set up with Open Broadcaster Software.
Reply
#17
I tryied to compile PCSX2 with VC2010 beta2 converting de pcsx2_suite_2008. And in "AppRes.cpp" there are includes that there isn't in PCSX2 project:

#include "Resources/BackgroundLogo.h"

#include "Resources/ConfigIcon_Cpu.h"
#include "Resources/ConfigIcon_Video.h"
#include "Resources/ConfigIcon_Speedhacks.h"
#include "Resources/ConfigIcon_Gamefixes.h"
#include "Resources/ConfigIcon_Paths.h"
#include "Resources/ConfigIcon_Plugins.h"

#include "Resources/AppIcon16.h"
#include "Resources/AppIcon32.h"
#include "Resources/AppIcon64.h"

What is it?
My pc: Core 2 Duo E7200 2,53ghz (overclocked to 3,0ghz)
/ 4GB DDR2 667 / Geforce 8600gt 512mb

[Image: assinaturaforummi1.jpg]
Reply
#18
I got errors on bulding too!

Quote:11>..\..\src\generic\listctrl.cpp(134): error C2061: syntax error : identifier 'wxListMainWindow'
11>..\..\src\generic\listctrl.cpp(185): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(185): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(185): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(288): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(291): error C2061: syntax error : identifier 'wxListMainWindow'
11>..\..\src\generic\listctrl.cpp(388): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(388): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(388): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(406): error C2061: syntax error : identifier 'wxListMainWindow'
11>..\..\src\generic\listctrl.cpp(445): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(445): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(445): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(448): error C2061: syntax error : identifier 'wxListMainWindow'
11>..\..\src\generic\listctrl.cpp(460): error C2061: syntax error : identifier 'wxListMainWindow'
11>..\..\src\generic\listctrl.cpp(477): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(722): error C2143: syntax error : missing ';' before '*'
11>..\..\src\generic\listctrl.cpp(722): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(723): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11>..\..\src\generic\listctrl.cpp(725): warning C4183: 'GetListCtrl': missing return type; assumed to be a member function returning 'int'
11>..\..\src\generic\listctrl.cpp(724): error C2440: 'static_cast' : cannot convert from 'wxWindow *' to 'const wxGenericListCtrl *'
11> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
11>..\..\src\generic\listctrl.cpp(873): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(873): error C2227: left of '->IsVirtual' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(888): error C2511: 'wxListItemData::wxListItemData(wxListMainWindow *)' : overloaded member function not found in 'wxListItemData'
11> ..\..\src\generic\listctrl.cpp(132) : see declaration of 'wxListItemData'
11>..\..\src\generic\listctrl.cpp(1123): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1123): error C2227: left of '->GetListCtrl' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1123): error C2227: left of '->GetWindowStyleFlag' must point to class/struct/union/generic type
11>..\..\src\generic\listctrl.cpp(1128): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1128): error C2227: left of '->HasFlag' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1133): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1133): error C2227: left of '->IsVirtual' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1137): error C2511: 'wxListLineData::wxListLineData(wxListMainWindow *)' : overloaded member function not found in 'wxListLineData'
11> ..\..\src\generic\listctrl.cpp(250) : see declaration of 'wxListLineData'
11>..\..\src\generic\listctrl.cpp(1191): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1191): error C2227: left of '->GetImageSize' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1229): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1229): error C2227: left of '->GetImageSize' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1323): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1409): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1409): error C2227: left of '->GetParent' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1453): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1453): error C2227: left of '->GetHighlightBrush' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1516): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1516): error C2227: left of '->DrawImage' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1578): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1578): error C2227: left of '->GetColumnWidth' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1585): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1585): error C2227: left of '->GetImageSize' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1586): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1586): error C2227: left of '->DrawImage' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1623): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1623): error C2227: left of '->GetColumn' must point to class/struct/union/generic type
11> type is ''unknown-type''
11>..\..\src\generic\listctrl.cpp(1719): error C2065: 'm_owner' : undeclared identifier
11>..\..\src\generic\listctrl.cpp(1730): error C2511: 'wxListHeaderWindow::wxListHeaderWindow(wxWindow *,wxWindowID,wxListMainWindow *,const wxPoint &,const wxSize &,long,const wxString &)' : overloaded member function not found in 'wxListHeaderWindow'
11> ..\..\src\generic\listctrl.cpp(385) : see declaration of 'wxListHeaderWindow'
11>..\..\src\generic\listctrl.cpp(5960): fatal error C1004: unexpected end-of-file found
My pc: Core 2 Duo E7200 2,53ghz (overclocked to 3,0ghz)
/ 4GB DDR2 667 / Geforce 8600gt 512mb

[Image: assinaturaforummi1.jpg]
Reply
#19
(12-10-2009, 02:28 PM)edu_dudu Wrote: I tryied to compile PCSX2 with VC2010 beta2 converting de pcsx2_suite_2008. And in "AppRes.cpp" there are includes that there isn't in PCSX2 project:
...
What is it?

These are generated by bin2cpp.cmd.

In vs2010 it seems that it does not work unless you explictly specify the output. To fix this in vs2010, for the resources in AppHost\Resources set the Command Line (under Properties -> Custom Build Tool) to:

Code:
"%(RootDir)%(Directory)\bin2cpp.cmd" %(FileName)%(Extension)

And set the "Outputs" to the file that is generated (example: for AppIcon16.png set it to AppIcon16.h)
Reply
#20
When compiling GSdx error
Code:
1>     Creating library D:\SVN\pcsx2\deps\Win32\Release SSE2\GSdx.lib and object D:\SVN\pcsx2\deps\Win32\Release SSE2\GSdx.exp
1>GSdx.exp : warning LNK4070: /OUT:GSdx.dll directive in .EXP differs from output filename 'D:\SVN\pcsx2\bin\plugins\GSdx-SSE2.dll'; ignoring directive
1>GSRasterizer.obj : error LNK2001: unresolved external symbol __imp__sem_init
1>GSRasterizer.obj : error LNK2001: unresolved external symbol __imp__sem_post
1>GSRasterizer.obj : error LNK2001: unresolved external symbol _sem_wait
1>GSRasterizer.obj : error LNK2001: unresolved external symbol __imp__sem_destroy
1>D:\SVN\pcsx2\bin\plugins\GSdx-SSE2.dll : fatal error LNK1120: 4 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
what could be the problem ?
Reply




Users browsing this thread: 2 Guest(s)