Coder Social home page Coder Social logo

Comments (8)

jdh9862 avatar jdh9862 commented on June 23, 2024 1

-- 5ac16e71c903c33f9331c81d8910728d7112d0d0 /Users/jameshindal/FRUT/prefix/FRUT/cmake/Reprojucer.cmake

from frut.

McMartin avatar McMartin commented on June 23, 2024

@jdh9862 thanks for using FRUT!

Basic support for JUCE 7 was added in #724, which was merged 19 days ago. Which commit of FRUT are you using?

from frut.

jdh9862 avatar jdh9862 commented on June 23, 2024

I am at the head of main. I see the commit you are referring to, but I am still experiencing this issue. I have tried deleting CMakeLists.txt and cmake-build-debug to try to get a clean build, but the error is persisting.

from frut.

McMartin avatar McMartin commented on June 23, 2024

@jdh9862 Could you please add these two lines to your CMakeLists.txt file (after the line that contains include(Reprojucer)):

file(SHA1 "${Reprojucer.cmake_DIR}/Reprojucer.cmake" reprojucer_hash)
message(STATUS "${reprojucer_hash}  ${Reprojucer.cmake_DIR}/Reprojucer.cmake")

and tell me what gets printed when you configure your project?
Thanks!

from frut.

jdh9862 avatar jdh9862 commented on June 23, 2024

-- Reprojucer.cmake's hash is: 5ac16e71c903c33f9331c81d8910728d7112d0d0

from frut.

McMartin avatar McMartin commented on June 23, 2024

@jdh9862 I'm sorry, I edited my previous comment and changed the second line to add. Could you please edit your CMakeLists.txt to match and give me the output?

from frut.

McMartin avatar McMartin commented on June 23, 2024

@jdh9862 FRUT/prefix/FRUT/cmake/Reprojucer.cmake was copied from FRUT/cmake/Reprojucer.cmake when you ran cmake --build . --target install inside of FRUT/build. The files under FRUT/prefix don't get updated by checking out a different commit.

You either need to:

  • update all the files that are located under FRUT/prefix by running:

    cd FRUT/build
    cmake --build . --target install
    
  • use FRUT/cmake/Reprojucer.cmake in your CMakeLists.txt by changing the line that appends to CMAKE_MODULE_PATH:

    -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../FRUT/prefix/FRUT/cmake")
    +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../FRUT/cmake")
     include(Reprojucer)

from frut.

jdh9862 avatar jdh9862 commented on June 23, 2024

That fixed everything, thank you :)

from frut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.