Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

编译问题 #4782

Open
123zsm opened this issue Jan 3, 2025 · 3 comments
Open

编译问题 #4782

123zsm opened this issue Jan 3, 2025 · 3 comments
Assignees

Comments

@123zsm
Copy link

123zsm commented Jan 3, 2025

QQ_1735870831912
编译的时候经常会出现虚函数未定义的问题,特别是p2p这个库,如何解决

@JimmyShi22
Copy link
Member

cmake的时候带上这个编译选项可以关闭ut的编译:-DTESTS=Off

@123zsm
Copy link
Author

123zsm commented Jan 6, 2025 via email

@JimmyShi22
Copy link
Member

cmake的时候带上这个命令:

cd build
cmake .. -DTESTS=Off

然后make就行

make

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants