文件配置完成,但无法导入头文件
来源:7-12 为什么指针的值(内存的地址)也是整数?为什么还有 32 位和

L_Carnegie
2022-12-19
以下为win10环境下的配置:
E:\C_ProgramSpace\Chapter16\cmake-build-debug-mingw>conan install … --profile=mingw64
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.exception=seh
compiler.libcxx=libstdc++11
compiler.threads=posix
compiler.version=9.2
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
CC=C:\msys64\mingw64\bin\gcc.exe
CONAN_BASH_PATH=C:\msys64\usr\bin\bash.exe
CONAN_CMAKE_GENERATOR=MinGW Makefiles
CXX=C:\msys64\mingw64\bin\g++.exe
MSYS_BIN=C:\msys64\usr\bin
MSYS_ROOT=C:\msys64\bin
PATH=[C:\msys64\usr\bin,C:\msys64\mingw64\bin]
conanfile.txt: Installing package
Requirements
libcurl/7.72.0 from ‘conan-center’ - Cache
openssl/1.1.1k from ‘conan-center’ - Cache
sqlite3/3.32.3 from ‘conan-center’ - Cache
tinycthreadpool/1.0@bennyhuo/testing from ‘bennyhuo’ - Cache
zlib/1.2.11 from ‘conan-center’ - Cache
Packages
libcurl/7.72.0:932f51ccaac6bb440624e6af0aa115a376e193c9 - Cache
openssl/1.1.1k:5456363911fa9c4fc36a7b1442d669518846be58 - Cache
sqlite3/3.32.3:7ba57ed1edb720f025282bb0bd8a3279630ea1ef - Cache
tinycthreadpool/1.0@bennyhuo/testing:147d672775fc5bd8acd7e497354687268e99411b - Cache
zlib/1.2.11:5456363911fa9c4fc36a7b1442d669518846be58 - Cache
Installing (downloading, building) binaries…
openssl/1.1.1k: Already installed!
sqlite3/3.32.3: Already installed!
sqlite3/3.32.3: Appending PATH env var with : C:\Users\Mr.Lu.conan\data\sqlite3\3.32.3__\package\7ba57ed1edb720f025282bb0bd8a3279630ea1ef\bin
tinycthreadpool/1.0@bennyhuo/testing: Already installed!
zlib/1.2.11: Already installed!
libcurl/7.72.0: Already installed!
conanfile.txt: Generator cmake created conanbuildinfo.cmake
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Aggregating env generators
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
E:\C_ProgramSpace\Chapter16\cmake-build-debug-mingw>conan remote list
conan-center: https://conan.bintray.com [Verify SSL: True]
bennyhuo: https://bennyhuo01.jfrog.io/artifactory/api/conan/bennyhuo-conan-local [Verify SSL: True]
显示文件已全部安装,但还是显示 ‘tinycthread.h’ not found
2回答
-
bennyhuo
2022-12-20
把 显示 ‘tinycthread.h’ not found 的 的工程截个图给我,包括编译的错误信息。看安装信息,应该是没有什么问题的,估计是工程本身还有些问题。
00 -
bennyhuo
2022-12-20
conan install … --profile=mingw64
多了个点?
00
相似问题