So I decided to try to set up NetGore on another computer. XP Home SP3.
When trying to run the project 'NetGore', it tells me that there were build errors. They're all related to:
"The type or namespace name 'Graphics' does not exist in the namespace 'NetGore.SFML' (are you missing an assembly reference?)"
When I choose to run the last successful build (which I don't think was built by me), the big NetGore window opens up, but freezes. When I switch back to VS, I get errors in various places (changes every time, it seems) about:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
The InstallationValidator ran with no issues.
I've searched the site, but didn't find much useful information. Any advice?
EDIT: NetGore v0.3.1.
NetGore.sln.
Well the strange thing is that there is no "NetGore.SFML" namespaces, just "NetGore.*" and "SFML.*".
Did you change any of the code?
Nope, fresh copy.
EDIT:
Downloaded a fresh copy, and get new errors. I'll try to get them here. Project DemoGame successfully built, DemoGame.Client is where it stopped...
EDIT2:
Third time around, everything builds. When trying to run anything in debug mode from the IDE, I get:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
In SFML.Graphics.Context
//////////////////////////////////////////////////////////// public Context() { myThis = sfContext_Create(); // This line is highlighted. }
The "corrupt memory" thing is likely just an issue with SFML not supporting your system or something. How old is this machine? And does it have the latest drivers for the video card?
The build issue I still don't understand. Even if your system doesn't support SFML, it shouldn't produce any errors. So the fact that it is failing might be the indication of a larger issue. Mind posting the full output of the build when you do a "rebuild solution"?
It's not very old, just a few years.
There are no errors or warnings when I try to rebuild the solution. I can start the server just fine, but the client doesn't want to work. However, this last time I tried starting the client, I got several new message boxes with really long errors on them.
This might be similar:
http://www.sfml-dev.org/forum/viewtopic.php?p=7066&sid=2cae0dd2aed7a989f...
But what version of SFML does NetGore use?
Although, after starting the editor and hearing the computer make loads of unpleasant noises, perhaps I'll just put NetGore on this PC.
You might be right about that one being too old for SFML.
If you post the error messages you get, I can check it out. A text version of them should be shown in the Output window in Visual Studio.
I used to run NetGore on XP SP3 home ed with no probs.
But like Spodi said post the error message and if there is an underlying bug it can be sorted.
Sorry, I have no idea. SEHException is an external exception I believe. I have seen a few mentions of disabling "Application.EnableVisualStyles()" from the code - could give that a try. Other than that, no idea other than that SFML probably isn't working well with your system.
It's definitely an error with SFML on your system. owing particularly to the fact you get a different error each time. Try it in a virtualalised environment on the same machine? (If you can?)
Did you open the solution file (NetGore.sln) or a project file (.csproj)?