Giter Site home page Giter Site logo

Comments (6)

TianZerL avatar TianZerL commented on May 24, 2024

You need install Qt5 first and add it to environment variable, see wiki

from anime4kcpp.

arupakafreemail avatar arupakafreemail commented on May 24, 2024

Hi TianZerL,

Thank you so much for your prompt reply.

I believe I've installed Qt5 already by verifying with the command brew info qt as illustrated in the following image:
Screen Shot 2020-09-14 at 5 34 33 PM

I've also added it to environment variable as illustrated in the following image:
Screen Shot 2020-09-14 at 5 34 53 PM

However, as I run the line cmake -DCMAKE_C_COMPILER="/usr/local/opt/llvm/bin/clang" -DCMAKE_CXX_COMPILER="/usr/local/opt/llvm/bin/clang++" . it still gives me the same error as below:
Screen Shot 2020-09-14 at 5 35 04 PM

Did I install the Qt5 wrongly or missed any steps? Thanks in advance!

from anime4kcpp.

TianZerL avatar TianZerL commented on May 24, 2024

Try

cmake -DCMAKE_C_COMPILER="/usr/local/opt/llvm/bin/clang" -DCMAKE_CXX_COMPILER="/usr/local/opt/llvm/bin/clang++" -DQt5_DIR="/usr/local/opt/qt/lib/cmake/Qt5" ..

You may need to reboot your mac to ensure that the environment variables are in effect. In Linux we can run source ~/.profile to do it, but I am not sure it in macos.
And I think in macos, ~/.profile should be ~/.zshrc or ~/.bashrc which depends on your terminal, please check it out.

from anime4kcpp.

arupakafreemail avatar arupakafreemail commented on May 24, 2024

Hi TianZerL,

Thanks again for your prompt reply.

I've just gave it a try with your line of code cmake -DCMAKE_C_COMPILER="/usr/local/opt/llvm/bin/clang" -DCMAKE_CXX_COMPILER="/usr/local/opt/llvm/bin/clang++" -DQt5_DIR="/usr/local/opt/qt/lib/cmake/Qt5" and it successfully compiled without error! (Thanks!!!)
Screen Shot 2020-09-14 at 5 59 26 PM

I've then ran make and believe that Anime4KCPP_GUI has been successfully installed (?):
Screen Shot 2020-09-14 at 5 56 41 PM

If it is in fact successfully installed, I wonder how am I supposed to open the GUI...... sorry for such a stupid question, I'm a complete newbie to this lol.

Thanks in advance!

from anime4kcpp.

TianZerL avatar TianZerL commented on May 24, 2024

Your GUI executable file is in the bin folder in your CMake build folder, just double click it to open it.

from anime4kcpp.

arupakafreemail avatar arupakafreemail commented on May 24, 2024

I MADE IT TianZerL!!!!!
Screen Shot 2020-09-14 at 6 19 31 PM

Thank you so much for your help and for your time!!!!! Wish you and Anime4KCPP all the best!!! hahaa

Please have a good day!!!

Regards,
Arupaka

from anime4kcpp.

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.