PDA

View Full Version : EQemu.sln


Naugrin
08-03-2013, 04:59 AM
According to the new server guide:

Build the executables using Visual Studio

In Windows explorer, navigate to C:\EQ\Source\Build and double-click on EQEmu.sln (if you don't see the .sln suffix, it is the file named EQEmu that has a Type of 'Microsoft Visual Studio Solution'.

Microsoft Visual Studio Express 2012 should open up. On the right hand side of the window you should see the 'solution explorer' with an entry called ALL_BUILD.

Right-click on ALL_BUILD and select Build.

This will take a while. When it is finished you should see a message saying:

========== Build: 9 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Everything worked fine for me until after i complied. In the build file i have no sln file but i do have an EQemu file that can be opened with Microsoft Visual Studios Solution.

Once i open it, it starts to load VS10 Express (windows XP) but i get an error (microsoft VC express has encountered a problem and needs to close. we are sorry for the inconvenience) has a box that can be clicked to restart microsoft VC express, when i have that clicked and press don't send it will actually open VS10 but there is no ALL_BUILT listed under solution and it cannot be loaded either.

Please help.

Naugrin
08-03-2013, 05:58 AM
Going to try uninstalling VS10 and try VS8 and see if that makes a difference
.

demonstar55
08-03-2013, 11:26 AM
VS08 is not a supported version (it lacks some C++ features we use)

Try repairing the VS10 install?

wolfwalkereci
08-03-2013, 11:55 AM
Repair or uninstall it cleanly and do it again.

lerxst2112
08-03-2013, 05:32 PM
It sounds like you have file extensions turned off, so you can't see the .sln extension, but the file type listed in the detail view would be Microsoft Visual Studio Solution.

If you change compilers you need to run cmake again and generate the solution files for that new compiler. They are not backward compatible.

Naugrin
08-03-2013, 06:30 PM
Well thanks for the tip, i for some reason had file extensions hidden. i can see the sln file now but i still get an error when i try to open anything with VS10. Does anyone know where i can get the latest and best VS for xp?

lerxst2112
08-03-2013, 06:54 PM
Are you sure you're generating a 2010 solution with cmake? Open the solution file in notepad. At the top it should say something like:
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010

What does yours say?

Naugrin
08-03-2013, 07:43 PM
yeah when i open the sln file with notepad it says:

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010

Everytime i try to load the sln file with VS2010 express i get errors saying the problem needs to close, i choose end and it restarts VS but nothing loads with it.

im guessing the problem has something to do with my VS2010 express.

lerxst2112
08-04-2013, 12:36 AM
Make sure you have all applicable service packs installed. If that doesn't help it would seem like there's an issue with your installation. I'd remove everything and install it again.