Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake failure #16

Closed
bsculley opened this issue Jul 15, 2014 · 5 comments
Closed

CMake failure #16

bsculley opened this issue Jul 15, 2014 · 5 comments

Comments

@bsculley
Copy link

This may not be appropriate here, and if it's not I'm sorry. And I don't know where the bolding is coming from...

I'm trying to build uMundo on Windows 7 and encountering the following issue (below) with CMake. This is happening during compiler verification, but after both compilers have run successfully.
I suspect the problem is trivial but I can't figure it out. I've tried everything reasonable.

Is there a solution, or is there any other alternative to using CMake? I can't afford the $4,500 support.

process_begin: CreateProcess(NULL, C:/uMundo/core/dld cr
CMakeFiles/cmTryCompileExec3555255302.dir/objects.a
@CMakeFiles/cmTryCompileExec3555255302.dir/objects1.rsp, ...) failed.

make (e=5): Access is denied.

Thanks,
Bob

@sradomski
Copy link
Member

I have never seen this error message. Did you run CMake from within a Visual Studio developer console? There are detailed build instructions.

@sradomski
Copy link
Member

The bolding comes from you not caring enough to read up on markdown. No offense, but I get the feeling that you really want to use one of the installers with prebuilt binaries in the download section.

@bsculley
Copy link
Author

I am running CMake from the CMake GUI (cmake-gui.exe). I found one other person with the same problem here: http://stackoverflow.com/questions/14201870/cmake-fails-to-compile-simple-test-error-5-access-denied but the answer wasn't helpful.
I did read up on markdown, but I didn't use any (only the enter key). Sorry to have offended you. I am actually a pretty good programmer and have been for a long time. I didn't find your comments very helpful (or friendly).

@sradomski
Copy link
Member

The person in the SO post tries to use MinGW, something we do not support.

If you really need to compile from source, you will have to use MSVC as it comes with Microsoft Visual Studio (2010 / 2012 / 2013) or clang / gcc on Linux or MacOSX.

@sradomski
Copy link
Member

The problem with MinGW is mentioned in the build notes. We did not succeed in compiling ZeroMQ with MinGW and as such could not provide prebuilt binaries as they are downloaded via CMake at configure time. Just use Visual Studio Express Edition to compile (it's free).

  1. As for friendliness: I can't help but to read huge bolded text as screaming.
  2. With regard to CMake: We did evaluate tons of other build systems when we started, CMake's ability to generate projects for your development environment of choice was unique for years and is only recently matched by Google's gyp.
  3. On the matter of helpfulness: You did not exactly provide too many details to go with. I had to google in order to find out that the error message you posted is related to MinGW.

I just installed MinGW on a Windows7 machine here. When I run CMake-GUI.exe (version 3.0.0) for "MinGW Makefiles" the first error I get is:

Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)

Which is perfectly expected as I do not provide prebuilts of pcre for MinGW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants