"category": "your.category", 这是什么意思
时间: 2023-07-19 13:48:05 浏览: 44
"category": "your.category" 中的 your.category 是指应用程序所属的分类。在 macOS 应用程序中,当你在 Launchpad 或者应用程序文件夹中打开应用程序时,会按照应用程序的分类进行分组展示。比如,Productivity、Games、Entertainment 等等。因此,为了让你的应用程序更好的被用户找到,你需要指定它所属的分类。
相关问题
编译报错如下:CMakeFiles/t3_node.dir/src/main.cpp.o: In function `boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': main.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x12): undefined reference to `CONF_modules_unload' CMakeFiles/t3_node.dir/src/main.cpp.o: In function `boost::asio::error::detail::ssl_category::message[abi:cxx11](int) const': main.cpp:(.text._ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei[_ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei]+0x2c): undefined reference to `ERR_reason_error_string' main.cpp:(.text._ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei[_ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei]+0x48): undefined reference to `ERR_lib_error_string' main.cpp:(.text._ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei[_ZNK5boost4asio5error6detail12ssl_category7messageB5cxx11Ei]+0x59): undefined reference to `ERR_func_error_string' collect2: error: ld returned 1 exit status t3/CMakeFiles/t3_node.dir/build.make:318: recipe for target '/smartview/devel/lib/t3/t3_node' failed make[2]: *** [/smartview/devel/lib/t3/t3_node] Error 1 CMakeFiles/Makefile2:3555: recipe for target 't3/CMakeFiles/t3_node.dir/all' failed make[1]: *** [t3/CMakeFiles/t3_node.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 96%] Built target play_node [100%] Built target smartview_handler Makefile:145: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j20 -l20" failed
这个错误提示表明在链接时找不到OpenSSL库。你可以尝试在CMakeLists.txt文件中添加链接OpenSSL库的代码,如下所示:
```
find_package(OpenSSL REQUIRED)
target_link_libraries(your_project_name OpenSSL::SSL OpenSSL::Crypto)
```
其中,your_project_name是你的项目名。这个代码片段会在链接你的项目时添加OpenSSL库。如果仍然无法解决问题,你可以检查一下OpenSSL库是否正确安装并且库的路径是否正确添加到系统路径中。
SELECT count( b.category ) FROM ods_bill_foo d AS a LEFT JOIN manual_food_category AS b ON a.foodName = b.foodName WHERE ( b.category = '主食' OR b.category = '烧烤' OR b.category = '小菜' OR b.category = '小吃' OR b.category = '饮品' OR b.category = '卤味' ) AND a.reportdate BETWEEN '2023-04-01' AND '2023-04-02' HAVING count( b.category ) = 1 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS a LEFT JOIN manual_food_category AS b ON a.foodName = b.foodName WHERE ( ' at line 4 时间: 0.028s
根据你提供的 SQL 语句,我发现有一个小问题。在查询语句中,表别名 `d` 并没有在查询中被使用到,因此可以省略此表别名,例如:
```
SELECT COUNT(b.category)
FROM ods_bill_foo AS a
LEFT JOIN manual_food_category AS b ON a.foodName = b.foodName
WHERE (b.category = '主食' OR b.category = '烧烤' OR b.category = '小菜' OR b.category = '小吃' OR b.category = '饮品' OR b.category = '卤味')
AND a.reportdate BETWEEN '2023-04-01' AND '2023-04-02'
HAVING COUNT(b.category) = 1
```
希望能够解决问题。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)