GithubHelp home page GithubHelp logo

CMakeLists.txt ? about koivisto HOT 8 CLOSED

luecx avatar luecx commented on June 10, 2024
CMakeLists.txt ?

from koivisto.

Comments (8)

Luecx avatar Luecx commented on June 10, 2024 1

officially we also do not support cmake or take care of that. its mostly just for develpoment purpose. I am infact the only one that uses cmake. If you are able to use the makefile, we strongly recommend that :)

from koivisto.

altarchess avatar altarchess commented on June 10, 2024

When using cmake you need to manually download the network and put it in the correct folder.

from koivisto.

tissatussa avatar tissatussa commented on June 10, 2024

mmm .. i guess you're wrong, try it. I did git clone https://github.com/Luecx/Koivisto.git --recursive and i have a file called default.net in /networks, just as the code says, but then ../networks/default.net is NOT found .. i think the relative path is wrong ($ROOT is defined as "../").

from koivisto.

Luecx avatar Luecx commented on June 10, 2024

uhh i see
you are actually correct. this is my bad

from koivisto.

Luecx avatar Luecx commented on June 10, 2024

the quick solution would be to manually move the network file to the correct folder. i usually use clion and clion automatically moves the cmakelists.txt into a folder so it does work for me. :) sorry for that.

from koivisto.

tissatussa avatar tissatussa commented on June 10, 2024

i'm glad it helped you solve this issue .. please correct this, i will then again git clone the package and compile .. Btw. the CMakeLists method is not mentioned in your readme, we could use the provided makefile, but it's confusing.

from koivisto.

Luecx avatar Luecx commented on June 10, 2024

Can I close this issue?

from koivisto.

tissatussa avatar tissatussa commented on June 10, 2024

... its mostly just for develpoment purpose ...

then you should remove the CMakeLists.txt from the package, to avoid confusion for users. Only keep 1 Makefile and point to that in the README. I thought cmake is rather common and should give a custom Makefile, which is best (?). But also a good default Makefile can contain customisation, eg. regarding the optimal CPU architecture of the user.

... I am infact the only one that uses cmake ...

no, you're not :-)

Can I close this issue?

Yes, for me it's clear now.

from koivisto.

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.