Jump to content

[Solved] [Rel20] build errors - mangos zero


alabastardeuce

Recommended Posts

Posted

// Been a while since I've posted; I had to take a step back and work on some other code related things: but my 'dogged' determination has brought me back for more!

When building Rel 20 of Mangos zero on Windows 7 with the "buildeverything_VC100.sln" w/ VC2010 I get these errors:

-- C:\Users\xyz\freshrel20\dep\recastnavigation\Detour\win\VC100\Detour.vcxproj : error : Project "C:\Users\xyz\freshrel20\dep\recastnavigation\Detour\win\VC100\Detour.vcxproj" could not be found.

-- C:\Users\xyz\freshrel20\dep\recastnavigation\Recast\win\VC100\Recast.vcxproj : error : Project "C:\Users\xyz\freshrel20\dep\recastnavigation\Recast\win\VC100\Recast.vcxproj" could not be found.

-- C:\Users\xyz\freshrel20\dep\libmpq\win\VC100\libmpq.vcxproj : error : Project "C:\Users\xyz\freshrel20\dep\libmpq\win\VC100\libmpq.vcxproj" could not be found.

When I look in the physical directory itself (C:\Users\xyz\freshrel20\dep\...) I don't find any files: despite the github page relating how specific versions of these files are included with each release-

I tried copying the dependencies from a previous mangos-zero release into (.../freshrel20/dep) to no avail; and have a few other things I might try (like actually learning cmake/ how .sln dep/header reference conventions work) - but I figured I'd ask here first before all the fun that will be :D

Posted

How did you pull the source? As of rel20 we have switched over to submodules, thus you need to use the following clone command

Git clone https://github.com/mangoszero/server -b Rel20 --recursive

Edit: forum butchered my link :)

Posted

Awesome; The '--recursive' suffix got me the proper files and past that, However I get a new build error:

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

(this output is in its own VC pop-up window; not in 'output')

--unable to start program

--'C:/users/xyx/win/VC100/./game_win32_Debug/game.lib'.

--The specified file is an unrecognized or unsupported binary format.

same output for debug,release,debug_nopch

// I know Rel 20 is in beta but I don't have any potential workarounds for this yet :x

Posted

This is because the default start project is "game". If you want to start it from VS, select "Mangosd" as default start project and it will go (if config files are ok).

You may need to update "Startup directory" while debugging as well because .ini files are not in ${ProjectDir} by default but in ${TargetDir}.

Posted

thread close pls;

@Talendrys

TY but I I had caused this myself: I was trying to debug before actually building (...In my defense would be given a warning message asking if I wanted to 'build' the projects that hadn't gone thru with the last debug attempt) -- In reality; the project needed to be built by right clicking the project and using build from there (which works with both mangosd and game as start project for me) - something about trying to piecemeal build like this was causing me errors even after switching to mangosd as start project (tho the errors were different after switching to mangosd ><)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use