Comments (4)
JFrog canceled the bintray service. Since SystemC and CCI are available on conan-center we abandoned the packages. Using the conan center package it is highly advisable to update conan to at least version 1.34 or newer. Moreover you should run a
conan profile --detect --force default
to migrate the setting.
Actually we use those packages eg. at TGC-VP. In the HIFIVE1 VP you see how we used to use the conan center packages when using conanfile.txt
from conan-recipes.
I have this:
$ conan --version
Conan version 1.40.3
$ conan profile --detect --force default
usage: conan profile [-h] {list,show,new,update,get,remove} ...
conan profile: error: argument subcommand: invalid choice: 'default' (choose from 'list', 'show', 'new', 'update', 'get', 'remove')
ERROR: Exiting with code: 2
I tried this, but it seems binary packages are not found.
$ conan install ../.. -s compiler=gcc -s compiler.version=4.8 -s compiler.cppstd=11 -s compiler.libcxx=libstdc++
conanfile.txt: Installing package
Requirements
systemc/2.3.3 from 'conancenter' - Cache
systemc-cci/1.0.0 from 'conancenter' - Cache
Packages
systemc/2.3.3:f623881b8531d3b63e9d423ce2deb2ee83c2cc98 - Missing
systemc-cci/1.0.0:cce498901f2ccfab8ed2fe11d806a9560ba8111a - Missing
Installing (downloading, building) binaries...
ERROR: Missing binary: systemc/2.3.3:f623881b8531d3b63e9d423ce2deb2ee83c2cc98
ERROR: Missing binary: systemc-cci/1.0.0:cce498901f2ccfab8ed2fe11d806a9560ba8111a
systemc/2.3.3: WARN: Can't find a 'systemc/2.3.3' package for the specified settings, options and dependencies:
- Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.cppstd=11, compiler.libcxx=libstdc++, compiler.version=4.8, os=Linux
- Options: disable_async_updates=False, disable_copyright_msg=False, disable_virtual_bind=False, enable_assertions=True, enable_immediate_self_notifications=False, enable_pthreads=False, fPIC=True, shared=False
- Dependencies:
- Requirements:
- Package ID: f623881b8531d3b63e9d423ce2deb2ee83c2cc98
ERROR: Missing prebuilt package for 'systemc/2.3.3', 'systemc-cci/1.0.0'
Try to build from sources with '--build=systemc --build=systemc-cci'
Use 'conan search <reference> --table table.html'
Or read 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
I could get around this issue with this:
$ conan install ../.. -s compiler=gcc -s compiler.version=4.8 -s compiler.cppstd=11 -s compiler.libcxx=libstdc++ --build=systemc --build=systemc-cci
Although, I am not sure how to fix the CMAKEFILE to add these options.
from conan-recipes.
My bad, the command should read
conan profile new --detect --force default
(I missed to mention the new subcommand)
The question i show you use it in your CMakeLists.txt. You may use it from here: https://github.com/conan-io/cmake-conan where all settings become part of CMakeLists.txt
Or you update your profile (or re-create it) and just include the conanbuildinfo.cmake
from conan-recipes.
Thanks, but one more problem:
$ cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON ../..
...
ERROR: systemc-cci/1.0.0: Invalid configuration: Current cppstd (gnu98) is lower than the required C++ standard (11).
CMake Error at scc/cmake/Conan.cmake:64 (message):
conan install command failed.
Call Stack (most recent call first):
CMakeLists.txt:38 (setup_conan)
This seems to be systemc-cci/1.0.0 related.
from conan-recipes.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan-recipes.