You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to reboot my machine and either didn't shutdown my docker container correctly or perhaps restarted from the original (vs. resuming). Either way, before doing the "Remote Repositories on Artifactory" section, I ran the catchup script, option 8.
The first 3 Artifactory exercises went fine, but I ran into a snag on the last one ("Exercise: Consume Packages from Artifactory"), and I believe the tutorial may be flawed there. First clue is it has me do a cd build to a directory which doesn't exist (i.e. ~/training/consumer/build). I created the directory, but then it wants me to do a conan install .. -r=artifactory to force it to build from my remote. However, since my remote doesn't have boost/1.72.0, that fails. Note the following shell output from the commands:
conan@824609cf0f97:~/training$ cd consumer
conan@824609cf0f97:~/training/consumer$ cd build
bash: cd: build: No such file or directory
conan@824609cf0f97:~/training/consumer$ conan install .. -r=artifactory
ERROR: Conanfile not found at /home/conan/training/conanfile.py or /home/conan/training/conanfile.txt
conan@824609cf0f97:~/training/consumer$ cd build
bash: cd: build: No such file or directory
conan@824609cf0f97:~/training/consumer$ mkdir build
conan@824609cf0f97:~/training/consumer$ cd build
conan@824609cf0f97:~/training/consumer/build$ conan install .. -r=artifactory
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
boost/1.72.0: Retrieving from server 'artifactory'
boost/1.72.0: Trying with 'artifactory'...
ERROR: boost/1.72.0 was not found in remote 'artifactory'
conan@824609cf0f97:~/training/consumer/build$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (include):
include could not find load file:
/home/conan/training/consumer/build/conanbuildinfo.cmake
CMake Error at CMakeLists.txt:7 (conan_basic_setup):
Unknown CMake command"conan_basic_setup".
-- Configuring incomplete, errors occurred!
See also "/home/conan/training/consumer/build/CMakeFiles/CMakeOutput.log".
conan@824609cf0f97:~/training/consumer/build$ cmake --build
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
<dir>= Project binary directory to be built.
--parallel [<jobs>], -j [<jobs>]
= Build in parallel using the given number of jobs.
If <jobs> is omitted the native build tool's default number is used. The CMAKE_BUILD_PARALLEL_LEVEL environment variable specifies a default parallel level when this option is not given. --target <tgt>..., -t <tgt>... = Build <tgt> instead of default targets. --config <cfg> = For multi-configuration tools, choose <cfg>. --clean-first = Build target 'clean' first, then build. (To clean only, use --target 'clean'.) --verbose, -v = Enable verbose output - if supported - including the build commands to be executed. -- = Pass remaining options to the native tool.conan@824609cf0f97:~/training/consumer/build$
The text was updated successfully, but these errors were encountered:
I had to reboot my machine and either didn't shutdown my docker container correctly or perhaps restarted from the original (vs. resuming). Either way, before doing the "Remote Repositories on Artifactory" section, I ran the catchup script, option 8.
The first 3 Artifactory exercises went fine, but I ran into a snag on the last one ("Exercise: Consume Packages from Artifactory"), and I believe the tutorial may be flawed there. First clue is it has me do a
cd build
to a directory which doesn't exist (i.e.~/training/consumer/build
). I created the directory, but then it wants me to do aconan install .. -r=artifactory
to force it to build from my remote. However, since my remote doesn't haveboost/1.72.0
, that fails. Note the following shell output from the commands:The text was updated successfully, but these errors were encountered: