Senin, 18 Maret 2019

How do I use cmake?





















0






























I have been trying to build openal-soft-1.15.1 with cmake. so I go to the build directory and then run cmake .. but when I do make it says build failed. Can anyone help? Thanks. Here is the error:



    CMakeFiles/openal.dir/build.make:662: recipe for target 'CMakeFiles/openal.dir/Alc/mixer_neon.o' failed

make[2]: *** [CMakeFiles/openal.dir/Alc/mixer_neon.o] Error 1

CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/openal.dir/all' failed

make[1]: *** [CMakeFiles/openal.dir/all] Error 2

Makefile:129: recipe for target 'all' failed

make: *** [all] Error 2



cmake:



CMake Warning (dev) at cmake/CheckCCompilerFlag.cmake:16 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_W_EXTRA" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:157 (CHECK_C_COMPILER_FLAG)

This warning is for project developers. Use -Wno-dev to suppress it.



CMake Warning (dev) at cmake/CheckSharedFunctionExists.cmake:37 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_LIBWINMM" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:420 (CHECK_SHARED_FUNCTION_EXISTS)

This warning is for project developers. Use -Wno-dev to suppress it.



-- Checking for modules 'libavcodec>=53.61.100;libavformat>=53.32.100;libavutil>=51.35.100'

-- No package 'libavcodec' found

-- No package 'libavformat' found

-- No package 'libavutil' found

--

-- Building OpenAL with support for the following backends:

-- ALSA, OSS, WaveFile, Null

--

-- Building with support for CPU extensions:

-- Default, Neon

--

-- Installing sample configuration

--

-- Building utility programs

--

-- Configuring done

-- Generating done

-- Build files have been written to: /home/evan/Downloads/java/openal-soft-1.15.1/build

















share|improve this question

















































  • Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



    – j-money

    1 hour ago























  • ok give me one second



    – RadicalRhino353

    48 mins ago























  • @Melebius are you still here?



    – RadicalRhino353

    42 mins ago























  • @RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



    – Melebius

    39 mins ago























  • i thought i did did i not?



    – RadicalRhino353

    38 mins ago






























0






























I have been trying to build openal-soft-1.15.1 with cmake. so I go to the build directory and then run cmake .. but when I do make it says build failed. Can anyone help? Thanks. Here is the error:



    CMakeFiles/openal.dir/build.make:662: recipe for target 'CMakeFiles/openal.dir/Alc/mixer_neon.o' failed

make[2]: *** [CMakeFiles/openal.dir/Alc/mixer_neon.o] Error 1

CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/openal.dir/all' failed

make[1]: *** [CMakeFiles/openal.dir/all] Error 2

Makefile:129: recipe for target 'all' failed

make: *** [all] Error 2



cmake:



CMake Warning (dev) at cmake/CheckCCompilerFlag.cmake:16 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_W_EXTRA" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:157 (CHECK_C_COMPILER_FLAG)

This warning is for project developers. Use -Wno-dev to suppress it.



CMake Warning (dev) at cmake/CheckSharedFunctionExists.cmake:37 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_LIBWINMM" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:420 (CHECK_SHARED_FUNCTION_EXISTS)

This warning is for project developers. Use -Wno-dev to suppress it.



-- Checking for modules 'libavcodec>=53.61.100;libavformat>=53.32.100;libavutil>=51.35.100'

-- No package 'libavcodec' found

-- No package 'libavformat' found

-- No package 'libavutil' found

--

-- Building OpenAL with support for the following backends:

-- ALSA, OSS, WaveFile, Null

--

-- Building with support for CPU extensions:

-- Default, Neon

--

-- Installing sample configuration

--

-- Building utility programs

--

-- Configuring done

-- Generating done

-- Build files have been written to: /home/evan/Downloads/java/openal-soft-1.15.1/build

















share|improve this question

















































  • Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



    – j-money

    1 hour ago























  • ok give me one second



    – RadicalRhino353

    48 mins ago























  • @Melebius are you still here?



    – RadicalRhino353

    42 mins ago























  • @RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



    – Melebius

    39 mins ago























  • i thought i did did i not?



    – RadicalRhino353

    38 mins ago


























0






















0














0












I have been trying to build openal-soft-1.15.1 with cmake. so I go to the build directory and then run cmake .. but when I do make it says build failed. Can anyone help? Thanks. Here is the error:



    CMakeFiles/openal.dir/build.make:662: recipe for target 'CMakeFiles/openal.dir/Alc/mixer_neon.o' failed

make[2]: *** [CMakeFiles/openal.dir/Alc/mixer_neon.o] Error 1

CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/openal.dir/all' failed

make[1]: *** [CMakeFiles/openal.dir/all] Error 2

Makefile:129: recipe for target 'all' failed

make: *** [all] Error 2



cmake:



CMake Warning (dev) at cmake/CheckCCompilerFlag.cmake:16 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_W_EXTRA" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:157 (CHECK_C_COMPILER_FLAG)

This warning is for project developers. Use -Wno-dev to suppress it.



CMake Warning (dev) at cmake/CheckSharedFunctionExists.cmake:37 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_LIBWINMM" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:420 (CHECK_SHARED_FUNCTION_EXISTS)

This warning is for project developers. Use -Wno-dev to suppress it.



-- Checking for modules 'libavcodec>=53.61.100;libavformat>=53.32.100;libavutil>=51.35.100'

-- No package 'libavcodec' found

-- No package 'libavformat' found

-- No package 'libavutil' found

--

-- Building OpenAL with support for the following backends:

-- ALSA, OSS, WaveFile, Null

--

-- Building with support for CPU extensions:

-- Default, Neon

--

-- Installing sample configuration

--

-- Building utility programs

--

-- Configuring done

-- Generating done

-- Build files have been written to: /home/evan/Downloads/java/openal-soft-1.15.1/build

















share|improve this question






























I have been trying to build openal-soft-1.15.1 with cmake. so I go to the build directory and then run cmake .. but when I do make it says build failed. Can anyone help? Thanks. Here is the error:



    CMakeFiles/openal.dir/build.make:662: recipe for target 'CMakeFiles/openal.dir/Alc/mixer_neon.o' failed

make[2]: *** [CMakeFiles/openal.dir/Alc/mixer_neon.o] Error 1

CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/openal.dir/all' failed

make[1]: *** [CMakeFiles/openal.dir/all] Error 2

Makefile:129: recipe for target 'all' failed

make: *** [all] Error 2



cmake:



CMake Warning (dev) at cmake/CheckCCompilerFlag.cmake:16 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_W_EXTRA" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:157 (CHECK_C_COMPILER_FLAG)

This warning is for project developers. Use -Wno-dev to suppress it.



CMake Warning (dev) at cmake/CheckSharedFunctionExists.cmake:37 (IF):

Policy CMP0054 is not set: Only interpret if() arguments as variables or

keywords when unquoted. Run "cmake --help-policy CMP0054" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.



Quoted variables like "HAVE_LIBWINMM" will no longer be dereferenced when

the policy is set to NEW. Since the policy is not set the OLD behavior

will be used.

Call Stack (most recent call first):

CMakeLists.txt:420 (CHECK_SHARED_FUNCTION_EXISTS)

This warning is for project developers. Use -Wno-dev to suppress it.



-- Checking for modules 'libavcodec>=53.61.100;libavformat>=53.32.100;libavutil>=51.35.100'

-- No package 'libavcodec' found

-- No package 'libavformat' found

-- No package 'libavutil' found

--

-- Building OpenAL with support for the following backends:

-- ALSA, OSS, WaveFile, Null

--

-- Building with support for CPU extensions:

-- Default, Neon

--

-- Installing sample configuration

--

-- Building utility programs

--

-- Configuring done

-- Generating done

-- Build files have been written to: /home/evan/Downloads/java/openal-soft-1.15.1/build








compiling cmake










share|improve this question



























share|improve this question























share|improve this question





share|improve this question










edited 30 mins ago











RadicalRhino353



























asked 1 hour ago













RadicalRhino353RadicalRhino353



22







22
























  • Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



    – j-money

    1 hour ago























  • ok give me one second



    – RadicalRhino353

    48 mins ago























  • @Melebius are you still here?



    – RadicalRhino353

    42 mins ago























  • @RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



    – Melebius

    39 mins ago























  • i thought i did did i not?



    – RadicalRhino353

    38 mins ago



































  • Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



    – j-money

    1 hour ago























  • ok give me one second



    – RadicalRhino353

    48 mins ago























  • @Melebius are you still here?



    – RadicalRhino353

    42 mins ago























  • @RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



    – Melebius

    39 mins ago























  • i thought i did did i not?



    – RadicalRhino353

    38 mins ago




























Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



– j-money

1 hour ago









Post the Makefile , the exact command you type, and the full output of said command. Until then we can't answer your question



– j-money

1 hour ago





















ok give me one second



– RadicalRhino353

48 mins ago









ok give me one second



– RadicalRhino353

48 mins ago





















@Melebius are you still here?



– RadicalRhino353

42 mins ago









@Melebius are you still here?



– RadicalRhino353

42 mins ago





















@RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



– Melebius

39 mins ago









@RadicalRhino353 Yes but this is not a chat… What do you want? You haven’t posted the output of cmake yet. You should also include a link to the source of the code you are trying to build.



– Melebius

39 mins ago





















i thought i did did i not?



– RadicalRhino353

38 mins ago









i thought i did did i not?



– RadicalRhino353

38 mins ago

















0











active



oldest



votes























Your Answer















StackExchange.ready(function() {

var channelOptions = {

tags: "".split(" "),

id: "89"

};

initTagRenderer("".split(" "), "".split(" "), channelOptions);



StackExchange.using("externalEditor", function() {

// Have to fire editor after snippets, if snippets enabled

if (StackExchange.settings.snippets.snippetsEnabled) {

StackExchange.using("snippets", function() {

createEditor();

});

}

else {

createEditor();

}

});



function createEditor() {

StackExchange.prepareEditor({

heartbeatType: 'answer',

autoActivateHeartbeat: false,

convertImagesToLinks: true,

noModals: true,

showLowRepImageUploadWarning: true,

reputationToPostImages: 10,

bindNavPrevention: true,

postfix: "",

imageUploader: {

brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",

contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",

allowUrls: true

},

onDemand: true,

discardSelector: ".discard-answer"

,immediatelyShowMarkdownHelp:true

});





}

});




























draft saved


draft discarded



































StackExchange.ready(

function () {

StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126632%2fhow-do-i-use-cmake%23new-answer', 'question_page');

}

);



Post as a guest




























Required, but never shown














































0











active



oldest



votes















0











active



oldest



votes

















active



oldest



votes











active



oldest



votes






























draft saved


draft discarded





















































































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





draft saved


draft discarded



















StackExchange.ready(

function () {

StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126632%2fhow-do-i-use-cmake%23new-answer', 'question_page');

}

);



Post as a guest




























Required, but never shown















































































Required, but never shown
























Required, but never shown




















Required, but never shown











Required, but never shown



















































Required, but never shown
























Required, but never shown




















Required, but never shown











Required, but never shown









How do I use cmake? Rating: 4.5 Diposkan Oleh: Admin

0 komentar:

Posting Komentar

Popular Posts