0
글 머리 기호를 기존 프로젝트에 연결하려고 시도했습니다. 소스와 예제 프로그램을 컴파일하고 설치할 수 있었지만 기본 빈 파일을 컴파일 할 수는 없습니다.글 머리 기호 기본 프로젝트 오류 : 'btTypedConstraint :: serialize (void *, btSerializer *) const'에 대한 정의되지 않은 참조
#include "btBulletDynamicsCommon.h"
#include <stdio.h>
int main()
{
return 0;
}
에러 :
가g++ -std=c++11 -o run test.cpp -I /usr/local/include/bullet/ /usr/local/lib/libBullet3Dynamics.a /usr/local/lib/libBulletCollision.a /usr/local/lib/libLinearMath.a
/tmp/ccvDsyTQ.o:(.rodata._ZTV17btTypedConstraint[_ZTV17btTypedConstraint]+0x60): undefined reference to `btTypedConstraint::serialize(void*, btSerializer*) const'
collect2: error: ld returned 1 exit status
Compilation failed.
아마도 일부 라이브러리에 연결해야합니까? –