huaweicloud / huaweicloud-sdk-c-obs

Apache License 2.0
50 stars 28 forks source link

编译MAC版本错误提示make: *** No rule to make target `build/obj/bucket.do', needed by `build/lib/libeSDKOBS.dylib'. Stop. #61

Open xiongshudeng opened 10 months ago

xiongshudeng commented 10 months ago

环境MAC mini,Apple M1, macos sonoma Version 14.1.2 (23B92), 照着compile_for_macos.txt做,运行到第四步

  1. compile sdk release version 4.1. cd source/eSDK_OBS_API/eSDK_OBS_API_C++ 4.2. sh build_macos.sh huaweicloud-obs-sdk-c-macos 4.3. if success, libeSDKOBS.dylib should be in source/eSDK_OBS_API/eSDK_OBS_API_C++/build/lib/ in current dir, huaweicloud-obs-sdk-c-macos.tgz shoule be in here 执行 sh build_macos.sh huaweicloud-obs-sdk-c-macos时 打印出错误:ranlib libsecurec.a

    cp ../lib/libsecurec.so /usr/local/lib/libsecurec.so

    you may add you custom commands here

    finish libsecurec.dylib build: Cleaning make: ** No rule to make target build/obj/bucket.do', needed bybuild/lib/libeSDKOBS.dylib'. Stop. cp: build/include/: No such file or directory cp: build/lib/*.dylib: No such file or directory a demo a demo/demo_common.c a demo/Makefile a demo/object_test.c a demo/client.pem a demo/demo_common.h a demo/demo.c a include a include/securectype.h a include/securec.h a lib a lib/libxml2.2.dylib a lib/libpcre.1.dylib a lib/libpcreposix.0.dylib a lib/libpcre.dylib a lib/libpcrecpp.0.dylib a lib/libssl.dylib a lib/libeSDKLogAPI.dylib a lib/OBS.ini a lib/libssl.3.dylib a lib/libpcreposix.dylib a lib/libcrypto.3.dylib a lib/client.pem a lib/libxml2.dylib a lib/libcrypto.dylib a lib/libsecurec.dylib a lib/libcurl.dylib a lib/libcurl.4.dylib a lib/libpcrecpp.dylib a readme.txt 请解决

liqiuqiu111 commented 3 months ago

https://support.huaweicloud.com/sdk-c-devg-obs/obs_20_1803.html 常见编译问题参考此链接