- 0
[solved!] GMutex.h Compile Fatal (Cata r12330, Win7 64bit, VS2010U)
-
Recently Browsing 0 members
- No registered users viewing this page.
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
Question
suommynona
Hello reporting a compilation failure:
Win7 64bit
MaNGOS Master (WoW Cataclysm)
r12330
trying to compile following this guide: https://github.com/mangos/server/blob/master/README
Visual Studio 2010 Ultimate Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework Version 4.0.30319 SP1Rel
mangosdVC100.sln
Release
Win32
Build -> Clean Solution
Build -> Build Solution
54 of these:
1 of this:
trying x64:
Release
x64
Build -> Clean Solution
Build -> Build Solution
Same errors as with Win32.
Research:
GMutex.h, as an external dependency, has an included header file by the name of unistd.h which I seem to be missing.
Searching the forums, I stumbled only upon this:
http://getmangos.eu/bb/topic/586/solved-make-compile-error/
At first this topic seemed unrelated to my problem (ubuntu/linux/mac), then suddenly a wild GMutex appears:
which was a problem fix suggested by shlainn:
Puzzling that a fix to one problem causes mishaps for someone else. But that's about all the intel I have.
I might need a dev's help on this. Please help.
Is there a problem with GMutex.h in my code? Should I just remove the include line?
Am I building the solution badly? Should having a 64bit Win7 OS make an x64 Release work better than a Win32 one?
Do I have a wrong version of Visual Studio? What version do you recommend that would compile the code successfully?
Am I supposed to run CMake first anyways, even though the README suggests to go straight for the .sln files in the win/ directory, since I'm running Windows?
Thank you for any help.
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.