Coder Social home page Coder Social logo

andreacasalino / easy-factor-graph Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 3.0 18.37 MB

General purpose C++ library for managing discrete factor graphs

License: GNU General Public License v3.0

C++ 97.25% CMake 1.42% Python 1.33%
bayesian-network cpp training machine-learning artificial-intelligence artificial-intelligence-algorithms bayesian-methods probabilistic-graphical-models probability factor-graph

easy-factor-graph's Issues

Cannot compile samples

Hi,
The build was successful, but when I compile the samples I get the following error.

g++ Sample01-2-Factors.cpp Sample01-2-Factors.cpp:9:10: fatal error: EasyFactorGraph/categoric/GroupRange.h: No such file or directory 9 | #include <EasyFactorGraph/categoric/GroupRange.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
I did set LIB_OPT ON (Line 3 in CMakeList.txt)

Any suggestions? I'm using G++ 10 on ubuntu 18.

Cmake error

Hello,
When I build the library using cmake I get the following error. Any help is highly apprecated.

`-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/MakeLibrary.cmake:20 (install):
install TARGETS given no ARCHIVE DESTINATION for static library target
"EFG".
Call Stack (most recent call first):
src/CMakeLists.txt:3 (MakeLibrary)

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at src/CMakeLists.txt:22 (FetchContent_MakeAvailable):
Unknown CMake command "FetchContent_MakeAvailable".

-- Configuring incomplete, errors occurred!
`

I'm using GCC/G++ 10 and cmake 3.13

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.