Skip to content
New issue

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

linux C++加载行为树报错 [ 编译成功,运行报错 ] #132

Open
YANSHUIHUASHENG opened this issue Mar 22, 2021 · 1 comment
Open

Comments

@YANSHUIHUASHENG
Copy link

编译成功,运行报错如下,请问各位大神这个问题如何解决?
Behaviac: /home/yan/workspace/behaviac3.6.39/src/common/workspace.cpp:205: static behaviac::Workspace* behaviac::Workspace::GetInstance(const char*): Assertion `0' failed.

@abc19899
Copy link

编译和链接的debug/release版本要一致.
比如, behaviac库是使用debug编译的, 那么游戏代码也要使用debug编译,链接
否则 behaviac使用release编译, 则游戏代码也是用release

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

No branches or pull requests

2 participants