Giter VIP home page Giter VIP logo

harm's People

Contributors

cpearce avatar

Stargazers

 avatar

Watchers

 avatar  avatar

harm's Issues

/root/Cpp/HARM/googletest does not contain a CMakeLists.txt file.

I follow your instruction:

1. The error logs as below:

CMake Error at CMakeLists.txt:9 (add_subdirectory):
The source directory

/root/Cpp/HARM/googletest

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!

2. copy the CMakeLists.txt file into googletest and rerun cmake ..- error as :

CMake Error at googletest/CMakeLists.txt:9 (add_subdirectory):
add_subdirectory given source "googletest" which is not an existing
directory.

CMake Error at CMakeLists.txt:11 (add_library):
add_library cannot create target "harm_main" because another target with
the same name already exists. The existing target is a static library
created in source directory "/root/Cpp/HARM/googletest". See documentation
for policy CMP0002 for more details.

report errors when make [thanks!]

My Executing Processes:

  1. git clone https://github.com/cpearce/HARM.git
  2. cd HARM
  3. git submodule init
  4. git submodule update

[root@container-cpp ~/Cpp/HARM]# git submodule update
Cloning into 'googletest'...
Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:google/googletest.git' into submodule path 'googletest' failed

I think this is because of cloning in SSH way, so, I change to use Http link.

  1. git clone https://github.com/google/googletest.git
  2. cd build
  3. cmake ..

The cmake .. result looks good with minor "-- Looking for pthread_create - not found"

[root@container-cpp ~ /Cpp/HARM/build]# make
Scanning dependencies of target harm_main
[2% ] Building CXX object CMakeFiles/harm_main.dir/src/Apriori.cpp.o
[4% ] Building CXX object CMakeFiles/harm_main.dir/src/ConnectionTable.cpp.o
[6% ] Building CXX object CMakeFiles/harm_main.dir/src/CoocurrenceGraph.cpp.o
[9% ] Building CXX object CMakeFiles/harm_main.dir/src/DataStreamMining.cpp.o
[11%] Building CXX object CMakeFiles/harm_main.dir/src/FPNode.cpp.o
[13%] Building CXX object CMakeFiles/harm_main.dir/src/FPTree.cpp.o
In file included from /root/Cpp/HARM/src/InvertedDataSetIndex.h:24:0,
from /root/Cpp/HARM/src/FPTree.h:19,
from /root/Cpp/HARM/src/FPTree.cpp:15:
/root/Cpp/HARM/src/Options.h: In constructor 'Options::Options(double, eRunModeType, unsigned int, unsigned int, double, double, double, double, int)':
/root/Cpp/HARM/src/Options.h:66:30: error: 'numeric_limits' is not a member of 'std'
min_discriminativeness(std::numeric_limits::quiet_NaN()),
^~~
/root/Cpp/HARM/src/Options.h:66:50: error: expected primary-expression before 'double'
min_discriminativeness(std::numeric_limits::quiet_NaN()),
^~~~~~
....

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.