所以我试图在youtube上基于本教程配置一个文件非常简单:
https://www.youtube.com/watch?v=gYmgbqGfv-8
我在Windows 10中使用CMake GUI,我有一个运行的Visual Studio 2015,它已经能够构建c ++项目(我已经使用了一段时间)
我使用"Visual Studio 15 2017"
我为两个输入创建了一个名为hellocmake和hellocmake/build的文件夹:
但是,当我尝试配置时,它说
CMakeLists.txt的CMake错误:1(项目):
找不到CMAKE_C_COMPILER.
CMakeLists.txt的CMake错误:1(项目):
找不到CMAKE_CXX_COMPILER.
错误日志指定它找不到两个编译器文件:编译C编译器标识源文件"CMakeCCompilerId.c"失败.编译器:
构建标志:Id标志:
The output was:
The system cannot find the file specified
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler:
Build flags:
Id flags:
The output was:
The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)
我尝试下载"CMakeCXXCompilerId.cpp"和"CMakeCXXCompilerId.c"文件,并尝试在同一文件夹中手动添加它们,但它没有解决它
我试图查找其他几个有类似情况的来源,但我似乎无法理解它们.我的旧电脑不存在这个问题所以我认为它与Visual Studio有关?
谢谢你们,任何帮助将不胜感激
我目前正在尝试为我的后端程序(Spring Boot)设置 https 。我的第一步是使用 AWS Fargate 部署我的后端程序,它在http中提供公共 IP 。
然后,我仅使用 http为 AWS Fargate 设置了 AWS 应用程序负载均衡器。这个过程很成功,我可以通过 LB 调用我的 BE 程序,域如下所示:(这里的数字和 lb 名称不是真实的)
test-lb-123456.ap-southeast-1.elb.amazonaws.com
Run Code Online (Sandbox Code Playgroud)
然后我想向LB添加一个https监听器,所以我点击了“添加监听器”和“请求新的ACM证书”,如下图所示
然后,当提示要求提供域名时,我添加上面提到的确切域名。
但这个请求总是失败并报错
Additional verification required to request certificates for one or more domain names in this request
Run Code Online (Sandbox Code Playgroud)
我的问题是,我这样做正确吗?当提示要求新证书时,我是否应该添加上面的“test-lb...”域?如果没有,那么我应该使用什么域名?
谢谢
编辑:显然图像可能无法正确显示,因为我是一个低信誉的用户,希望图像在审核后能够显示。参考
https amazon-web-services aws-application-load-balancer aws-acm-certificate