Cmake errors of installing ccons -


After executing cmake cmakeLists.txt , which gives no error, Returns the following error:

 : / usr / local / src / llvm-3.1.src / tools / ccons $ sudo create [7%] Building CSF object CMakeFiles / ccons.dir / ccons. Cpp.o /usr/local/src/llvm-3.1.src/tools/ccons/ccons.cpp:1x: Error: Bad Value (x86_64) -march = to make swi tch [2]: *** [CMakeFiles / Ccons.dir / ccons.cpp.o] making error 1 [1]: *** [CMakeFiles / ccons.dir / all] Make Error 2: *** [All] Error 2   

Is there any way to solve it is?

First of all, why are you building software using sudo Are you He is asking for trouble when you are installing, then you should only need sudo (i.e., install sudo ).

For whatever reason, your compiler flag -march = x86_64 , which thinks it is invalid. To see if I'm trying to compile with the blanket, do the following:

  1. Run edit .
  2. t> Code> Allows you to see additional cache variables to switch to advanced mode.
  3. Search for variables starting with CMAKE_CXX_FLAGS . Different for different build types, but in one of these it might be flagged as -march = x64_64 .

    Good luck.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -