We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、编译前已设置了LD_LIBRARY_PATH变量
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/xaas-central/base/aksk/myaksk/gosdk:/xaas-central/base/aksk/myaksk/gosdk/lib
2、用goc编译时输出的日志,提示找不到头文件,common.h就在/xaas-central/base/aksk/myaksk/gosdk/include下
[done] √ re-vendor the project done [info] go build cmd is: [go build -installsuffix cgo -ldflags "-s -X "main.BuildTime='2023-10-23T08:15:00+0000'" -X "main.GoVersion='go version go1.19.5 linux/amd64'" " -o /xaas-central/apps/ucenter/ucenter -tags "doc cn" -trimpath], in path [/tmp/gocbuild2fad61b9efc0] # myapp.org/base/aksk/myaksk/gosdk mygo.cpp:352:10: fatal error: common.h: No such file or directory 352 | #include "common.h" | ^~~~~~~~~~~~~~~
3、将goc build换成go build,是可以通过编译的,貌似是goc-v2的问题?感谢解答
The text was updated successfully, but these errors were encountered:
goc自身的问题已排除
Sorry, something went wrong.
No branches or pull requests
1、编译前已设置了LD_LIBRARY_PATH变量
2、用goc编译时输出的日志,提示找不到头文件,common.h就在/xaas-central/base/aksk/myaksk/gosdk/include下
3、将goc build换成go build,是可以通过编译的,貌似是goc-v2的问题?感谢解答
The text was updated successfully, but these errors were encountered: