Code Monkey home page Code Monkey logo

copasi-dependencies's Introduction

COPASI: biochemical network simulator

COPASI is a software application for simulation and analysis of biochemical networks and their dynamics. COPASI is a stand-alone program that supports models in the SBML standard and can simulate their behavior using ODEs or Gillespie's stochastic simulation algorithm; arbitrary discrete events can be included in such simulations.

COPASI carries out several analyses of the network and its dynamics and has extensive support for parameter estimation and optimization. COPASI provides means to visualize data in customizable plots, histograms and animations of network diagrams. (list of features).

Follow us on Mastodon.

Download COPASI

Precompiled versions of COPASI are available for all operating systems on the COPASI Homepage.

Building COPASI

COPASI's sources are available from our github repository. These sources are written in standard C++ and will compile on Linux, OS X and Windows.

Dependencies

To start compiling COPASI we recommend to use the copasi-dependencies package.The dependency package compiles all the dependencies necessary for COPASI, they include clapack, cppunit, expat, raptor libSEDML, libsbml, SBW as well as the Qt libraries QWT, QWT3D and the Qt MML widget. Instructions for building the dependencies are described here:

Compiling COPASI

Once the dependencies have been built, COPASI is easily compiled using CMake:

git clone https://github.com/copasi/COPASI
mkdir build_copasi
cd build_copasi
cmake -DBUILD_GUI=OFF -DCMAKE_INSTALL_PREFIX=~/copasi -DCOPASI_DEPENDENCY_DIR=../copasi-dependencies/bin ../COPASI
make
make install 

In the above ../copasi-dependencies/bin is the location of the build folder of the compiled copasi-dependencies. The option BUILD_GUI=OFF builds only the command line version of COPASI (aka CopasiSE). To build the graphical frontend (aka CopasiUI), and having Qt 4 or 5 installed, the option would need to be BUILD_GUI=ON. In that case you'd additionally provide an option SELECT_QT=Qt5 (or SELECT_QT=Qt4) for COPASI to look for the Qt libraries. (To help finding the Qt version you selected, you should specify the Qt5_DIR=<dir> variable to point to the lib/cmake/Qt5 directory of the Qt5 installation. Alternatively for Qt4 you can set the QT_DIR=<dir> variable to point to your Qt4 installation.)

The option CMAKE_INSTALL_PREFIX=~/copasi specifies, that COPASI ought to be installed in the current users home directory in a subfolder copasi. The path ../COPASI is the source directory of COPASI that has been created by the git clone command in the first statement.

There are many more compile options available, options for building the language bindings as well as options to enable some experimental features that are not yet available in the stable builds that are released publicly. To view the complete set of options, start the graphical cmake frontend in the continuing from the above command this would be done with:

cmake-gui ../COPASI

The correct version number

The COPASI version number you will see in your application is generated during the build process. For this to work we install git hooks, so it gets updated automatically, by running:

./gitTools/initTools

once from the COPASI source dir (which will set up the paths to astyle, gawk, dos2unix and wget). This helps us keep commits formatted correctly from different operating systems. Once that is set up, a call to:

 ./gitTools/UpdateCopasiVersion

will update the <copasi/CopasiVersion.h> to match that of the selected branch. That

Linking a C++ program against the COPASI API

To link your own program against the COPASI C++ API you would first build COPASI as described above however, with an additional CMake option -DCOPASI_INSTALL_C_API=ON. Thus the full configure / make / install commands from above would be:

git clone https://github.com/copasi/COPASI
mkdir build_copasi
cd build_copasi
cmake -DCOPASI_INSTALL_C_API=ON -DBUILD_GUI=OFF -DCMAKE_INSTALL_PREFIX=~/copasi -DCOPASI_DEPENDENCY_DIR=../copasi-dependencies/bin ../COPASI
make
make install 

Now additionally to the COPASI SE executable being built, also all COPASI header files and the COPASI (static) library will be installed into the CMAKE_INSTALL_PREFIX (thus in the example above header files will end up in ~/copasi/include and libraries in ~/copasi/lib). We also export a CMAKE configuration that you can import for your own CMAKE projects. That way you only need to add a line like:

find_package(libCOPASISE-static CONFIG REQUIRED)

to the CMakeLists.txt file of your project. And later link your project against libCOPASISE-static. This will then automatically link against all the libraries that the COPASISE library was linked against. In order for CMake to find the configuration you would either have to include the lib/cmake folder of your install prefix into your projects CMAKE_PREFIX_PATH variable or specify an option libCOPASISE-static_DIR with the folder of the config file when configuring your project. For the prefix specified above this would be:

-DlibCOPASISE-static_DIR=~/copasi/lib/cmake

The gist of a complete example CMakeList.txt is also available.

Feedback

To submit feedback, or bug reports, please use the COPASI Tracker, or our mailing list.

License

The packages available on this page are provided under the Artistic License 2.0, which is an OSI approved license. This license allows non-commercial and commercial use free of charge.

Git maintenance

Release branches:

  • Naming: Version-$major.$minor

Start release branch

To create a new release branch check out the starting branch which is normally develop:

git checkout develop
git flow release start <name>
git push origin

Finish release branch

To finish a release:

git checkout release/<name>
git flow release finish <name>
git push

Tagging snapshots

In order to tag the latest commit in the current branch as a snapshot execute:

gitTools/UpdateCopasiVersion --registerBuild

The above command will automatically select the next tag of the format: Build-N and push the tag to the upstream repository.

Building API documentation

To build the API documentation doxygen can be used. here the command line for generating the documentation after a git checkout:

PROJECT_NUMBER=4.40.278 doxygen -x COPASI.doxyfile > Doxyfile && doxygen

This will fix the version number of the generated files to the one specified in the environment variable and generate a local Doxygen file with which it runs doxygen. The resulting documentation is placed in ./doc/html.

To update it on the copasi.github.io project you'd run from the copasi.github.io folder:

pushd ./static/API_Documentation/
rm -rf ./*
git commit -a -m " - removed old documentation"
cp -R ../../../COPASI/doc/html/* .
git add . 
git commit -a -m " - add documentation for COPASI 4.40.278"
git push

copasi-dependencies's People

Contributors

bdklahn avatar fbergmann avatar jonasfoe avatar lkeegan avatar pmendes avatar shoops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

copasi-dependencies's Issues

Fatal error when compiling with graphica UI - Ubuntu 22.04

Hi,
I am getting the following fatal error while compiling COPASI with graphical UI support. The comand line version compiles without any errors. However, for the purposes of my usage, I would like have access to both the command line and the UI. Please advise.

Thanks,
Daipayan

~/bin/COPASI/copasi/UI/copasiui3window.h:52:11: fatal error: SBW/SBW.h: No such file or directory
   52 | # include <SBW/SBW.h>

nativejit fails to compile on fedora

I found the following compile error:

/usr/bin/c++  -I/io/copasi-dependencies/src/NativeJIT/inc -msse4.2 -std=gnu++11 -Wall -Wextra -Werror -Wold-style-cast -fstrict-aliasing -Wstrict-aliasing -Wno-type-limits -Wno-noexcept-type -fPIC -fPIC -O3 -DNDEBUG -fPIC -msse4.2 -MD -MT src/NativeJIT/CMakeFiles/NativeJIT.dir/ExpressionTree.cpp.o -MF src/NativeJIT/CMakeFiles/NativeJIT.dir/ExpressionTree.cpp.o.d -o src/NativeJIT/CMakeFiles/NativeJIT.dir/ExpressionTree.cpp.o -c /io/copasi-dependencies/src/NativeJIT/src/NativeJIT/ExpressionTree.cpp
In file included from /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTreeDecls.h:26,
                 from /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:29,
                 from /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExecutionPreconditionTest.h:27,
                 from /io/copasi-dependencies/src/NativeJIT/src/NativeJIT/ExpressionTree.cpp:27:
In member function ‘constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) const [with _Tp = unsigned int; long unsigned int _Nm = 17]’,
    inlined from ‘bool NativeJIT::ExpressionTree::FreeList<REGISTER_COUNT, ISFLOAT>::IsPinned(unsigned int) const [with unsigned int REGISTER_COUNT = 17; bool ISFLOAT = false]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:1160:26,
    inlined from ‘bool NativeJIT::ExpressionTree::IsPinned(NativeJIT::Register<SIZE1, ISFLOAT1>) [with unsigned int SIZE = 8; bool ISFLOAT = false]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:246:33,
    inlined from ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = long unsigned int]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:127:9:
/usr/include/c++/13/array:213:24: error: array subscript 17 is above array bounds of ‘std::__array_traits<unsigned int, 17>::_Type’ {aka ‘const unsigned int [17]’} [-Werror=array-bounds=]
  213 |         return _M_elems[__n];
      |                ~~~~~~~~^
/usr/include/c++/13/array: In member function ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = long unsigned int]’:
/usr/include/c++/13/array:109:55: note: while referencing ‘std::array<unsigned int, 17>::_M_elems’
  109 |       typename __array_traits<_Tp, _Nm>::_Type        _M_elems;
      |                                                       ^~~~~~~~
In member function ‘constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) const [with _Tp = unsigned int; long unsigned int _Nm = 17]’,
    inlined from ‘bool NativeJIT::ExpressionTree::FreeList<REGISTER_COUNT, ISFLOAT>::IsPinned(unsigned int) const [with unsigned int REGISTER_COUNT = 17; bool ISFLOAT = false]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:1160:26,
    inlined from ‘bool NativeJIT::ExpressionTree::IsPinned(NativeJIT::Register<SIZE1, ISFLOAT1>) [with unsigned int SIZE = 8; bool ISFLOAT = false]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:246:33,
    inlined from ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = void*]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:127:9:
/usr/include/c++/13/array:213:24: error: array subscript 17 is above array bounds of ‘std::__array_traits<unsigned int, 17>::_Type’ {aka ‘const unsigned int [17]’} [-Werror=array-bounds=]
  213 |         return _M_elems[__n];
      |                ~~~~~~~~^
/usr/include/c++/13/array: In member function ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = void*]’:
/usr/include/c++/13/array:109:55: note: while referencing ‘std::array<unsigned int, 17>::_M_elems’
  109 |       typename __array_traits<_Tp, _Nm>::_Type        _M_elems;
      |                                                       ^~~~~~~~
In member function ‘constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) const [with _Tp = unsigned int; long unsigned int _Nm = 16]’,
    inlined from ‘bool NativeJIT::ExpressionTree::FreeList<REGISTER_COUNT, ISFLOAT>::IsPinned(unsigned int) const [with unsigned int REGISTER_COUNT = 16; bool ISFLOAT = true]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:1160:26,
    inlined from ‘bool NativeJIT::ExpressionTree::IsPinned(NativeJIT::Register<SIZE1, ISFLOAT1>) [with unsigned int SIZE = 8; bool ISFLOAT = true]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:246:33,
    inlined from ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = double]’ at /io/copasi-dependencies/src/NativeJIT/inc/NativeJIT/ExpressionTree.h:127:9:
/usr/include/c++/13/array:213:24: error: array subscript 16 is above array bounds of ‘std::__array_traits<unsigned int, 16>::_Type’ {aka ‘const unsigned int [16]’} [-Werror=array-bounds=]
  213 |         return _M_elems[__n];
      |                ~~~~~~~~^
/usr/include/c++/13/array: In member function ‘NativeJIT::ExpressionTree::Storage<T> NativeJIT::ExpressionTree::Direct(typename Storage<T>::DirectRegister) [with T = double]’:
/usr/include/c++/13/array:109:55: note: while referencing ‘std::array<unsigned int, 16>::_M_elems’
  109 |       typename __array_traits<_Tp, _Nm>::_Type        _M_elems;
      |                                  

/usr/include/NativeJIT/Function.h:192:44: internal compiler error: in cp_parser_template_id, at cp/parser.cc

Hi all.

I'm no longer able to build COPASI with JIT enabled in Fedora 36+ x86_64 where GCC-12.0.1 is the new default compiler; g++ fails with following error:

[  6%] Building CXX object copasi/CMakeFiles/libCOPASISE-core.dir/function/CEvaluationNodeOperator.cpp.o
cd /builddir/build/BUILD/COPASI-Build-251/build/copasi && /usr/bin/g++ -DHAVE_F2C_H -DLINUX -DLinux -I/usr/include/crossguid2 -I/builddir/build/BUILD/COPASI-Build-251 -I/builddir/build/BUILD/COPASI-Build-251/build -I/usr/include/qt5/libmml-qt5 -I/usr/include/qt5/qwt -I/builddir/build/BUILD/COPASI-Build-251/copasi/lapack -I/builddir/build/BUILD/COPASI-Build-251/copasi/CopasiSBW -I/usr/include/flexiblas -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/COPASI-Build-251/.package_note-COPASI-4.34.251-2.fc36.x86_64.ld -msse4.2 -fno-strict-aliasing -fPIC  -I/builddir/build/BUILD/COPASI-Build-251/copasi/lapack -I/builddir/build/BUILD/COPASI-Build-251/copasi/CopasiSBW -I/usr/include/flexiblas -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/COPASI-Build-251/.package_note-COPASI-4.34.251-2.fc36.x86_64.ld -DNDEBUG -std=gnu++17 -MD -MT copasi/CMakeFiles/libCOPASISE-core.dir/function/CEvaluationNodeOperator.cpp.o -MF CMakeFiles/libCOPASISE-core.dir/function/CEvaluationNodeOperator.cpp.o.d -o CMakeFiles/libCOPASISE-core.dir/function/CEvaluationNodeOperator.cpp.o -c /builddir/build/BUILD/COPASI-Build-251/copasi/function/CEvaluationNodeOperator.cpp
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
In file included from /builddir/build/BUILD/COPASI-Build-251/copasi/math/CJitCompiler.h:15,
                 from /builddir/build/BUILD/COPASI-Build-251/copasi/math/CMathContainer.h:35,
                 from /builddir/build/BUILD/COPASI-Build-251/copasi/function/CEvaluationNodeOperator.cpp:35:
/usr/include/NativeJIT/Function.h: In constructor 'NativeJIT::Function<R, P1, P2, P3, P4>::Function(Allocators::IAllocator&, NativeJIT::FunctionBuffer&)':
/usr/include/NativeJIT/Function.h:192:44: internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367
  192 |         m_p1 = &this->template Parameter<P1>(slotAllocator);
      |                                            ^
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccjL346W.out file, please attach this to your bugreport.
make[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:1330: copasi/CMakeFiles/libCOPASISE-core.dir/function/CEvaluationNodeOperator.cpp.o] Error 1

So i'm forced to use the CMake option -DENABLE_JIT:BOOL=OFF to skip this error.

Separated releases

Hello!

Please, can you create a release when new versions of (for example) libCombine or Zipper are ready?

Building crossguid on macOS failes

Hey everyone,

I have set up macOS Mojave with xcode and the output I get when trying to build crossguid via createOSX.sh is:

-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_shared
    ENABLE_UNIVERSAL
    EXTRA_INCLUDE_DIRS


-- Build files have been written to: /Users/jonas/CoRC/development/copasi-source/copasi-dependencies/tmp_darwin_x64/crossguid
Scanning dependencies of target crossguid
[ 20%] Building CXX object CMakeFiles/crossguid.dir/src/guid.cpp.o
/Users/jonas/CoRC/development/copasi-source/copasi-dependencies/src/crossguid/src/guid.cpp:403:7: error: unused function 'swap'
      [-Werror,-Wunused-function]
        void swap(xg::Guid &lhs, xg::Guid &rhs)
             ^
1 error generated.
make[2]: *** [CMakeFiles/crossguid.dir/src/guid.cpp.o] Error 1
make[1]: *** [CMakeFiles/crossguid.dir/all] Error 2
make: *** [all] Error 2
[ 20%] Building CXX object CMakeFiles/crossguid.dir/src/guid.cpp.o
/Users/jonas/CoRC/development/copasi-source/copasi-dependencies/src/crossguid/src/guid.cpp:403:7: error: unused function 'swap'
      [-Werror,-Wunused-function]
        void swap(xg::Guid &lhs, xg::Guid &rhs)
             ^
1 error generated.
make[2]: *** [CMakeFiles/crossguid.dir/src/guid.cpp.o] Error 1
make[1]: *** [CMakeFiles/crossguid.dir/all] Error 2
make: *** [all] Error 2

Your help would be much appreciated.

[NativeJIT] Undefined symbols

Hi all.

I'm using a modified code of NativeJIT for compiling shared libraries for COPASI in Fedora.
It looks compiled fine (build log), its tests are successfully passed; however, libNativeJIT.so library shows various undefined symbol:

$ ldd -r /usr/lib64/libNativeJIT.so.0
        linux-vdso.so.1 (0x00007ffda576c000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f263bd08000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f263bced000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f263bb22000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f263b9dc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f263bf23000)
undefined symbol: _ZN9NativeJIT3ripE    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT12RegisterBase7c_namesE  (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT3rbpE    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT12RegisterBase7c_sizesE  (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT3rspE    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT14FunctionBuffer25EndFunctionBodyGenerationERKNS_21FunctionSpecificationE        (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT16X64CodeGenerator11CodePrinter10PrintBytesEjj   (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT10CodeBuffer13AllocateLabelEv    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT16X64CodeGenerator11CodePrinterC1ERS0_   (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZNK9NativeJIT16X64CodeGenerator28IsDiagnosticsStreamAvailableEv      (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT14FunctionBuffer27BeginFunctionBodyGenerationEv  (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT12LogThrowImplEPKcS1_jS1_S1_z    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT20IosMiniStateRestorerD1Ev       (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT10CodeBuffer6Emit32Ej    (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT20IosMiniStateRestorerC1ERSt9basic_iosIcSt11char_traitsIcEE      (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZNK9NativeJIT16X64CodeGenerator20GetDiagnosticsStreamEv      (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT5LabelC1Ev       (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT16X64CodeGenerator10OpCodeNameENS_6OpCodeE       (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT10CodeBuffer5Emit8Eh     (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZNK9NativeJIT14FunctionBuffer13GetEntryPointEv       (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT16X64CodeGenerator11CodePrinter14GetPointerNameEj        (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZNK9NativeJIT10CodeBuffer15CurrentPositionEv (/usr/lib64/libNativeJIT.so.0)
undefined symbol: _ZN9NativeJIT21FunctionSpecificationC1ERN10Allocators10IAllocatorEijjjNS0_16BaseRegisterTypeEPSo      (/usr/lib64/libNativeJIT.so.0)

Is that correct for you?

Compiling on Ubuntu 16.04 needs more libraries

Hello, I found out that libqtwebkit-dev and libraptor1-dev are needed to compile the dependencies, at least since Ubuntu 16.04 (which is the latest LTS).
Maybe it would be worth to add a different section or update the current one?

EDIT: I now see that raptor should have been built along, so the only one to be added is webkit.

where can I find the crossguid version used ?

I am trying to package copasi for www.nixos.org. I've made good progress but I stumble on a libcrossguid error

note: keeping build directory '/tmp/nix-build-copasi-4.30.drv-0'
error: builder for '/nix/store/l8cj1n44s68ixhzhwl3xb6ax1vclpdh4-copasi-4.30.drv' failed with exit code 2;
       last 10 log lines:
       >                  from /build/source/copasi/CopasiDataModel/CDataModel.h:18,
       >                  from /build/source/copasi/CopasiDataModel/CDataModel.cpp:16:
       > /nix/store/jfbc3pmpgrjg14j4p3l40jfqn174947i-libcrossguid-2019-05-29/include/crossguid/guid.hpp:55:32: error: expected ')' before 'fromString'
       >    55 |  explicit Guid(std::string_view fromString);
       >       |               ~                ^~~~~~~~~~~
       >       |                                )
       > make[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:134: copasi/CMakeFiles/libCOPASISE-core.dir/MIRIAM/CCreator.cpp.o] Error 1
       > make[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:82: copasi/CMakeFiles/libCOPASISE-core.dir/CopasiDataModel/CDataModel.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:162: copasi/CMakeFiles/libCOPASISE-core.dir/all] Error 2
       > make: *** [Makefile:182: all] Error 2
       For full logs, run 'nix log /nix/store/l8cj1n44s68ixhzhwl3xb6ax1vclpdh4-copasi-4.30.drv'.

using crossguid ca1bf4b810e2d188d04cb6286f957008ee1b7681 (from May 2019). I tried to look in this repo what version was used but had a hard time finding it.

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.