본문 바로가기

Tools for Dev69

boost test Error Message -------------------------------------------------------------------------------------- uknownlocation(0): fatal error in "테스트케이스이름" : Unknown Type - 원인 : 현재 테스트 케이스를 수행하다가 프로세스가 비정상적으로 종료된 경우. - 해결 : 디버깅 해서 비정상적인 종료의 원인을 해결한다. 2008. 9. 12.
boost Serialization 1. 절대 using namespace를 사용하지 말것. boost serialization 에서는 기존의 std container 의 serialization 을 지원해주는 부분이 있기 때문에 충돌이 발생하여 serialization 이 원할히 돌아가지 않는다. 대신 모든 type 마다 앞에 namespace:: 를 붙여준다. 예를 들어 std namespace 안의 vector 로 변수 test 를 생성하고자 하는경우 using namespace std; vector test; ---> std::vector test; 2008. 9. 4.
boost 를 이용한 프로그램 컴파일 후 실행하는 중 "error while loading shared libraries: " 를 만난 경우.. Error Message -------------------------------------------------------------------------------------------- ./실행파일명: error while loading shared libraries: 라이브러리 명: cannot open shared object file: No such file or directory Why this error occurs -------------------------------------------------------------------------------------------- .so 같은 동적 라이브러리 같은경우 이런 경우 동적 라이브러리 경로가 환경변수로 등록이 되어있어야 실행시 참조.. 2008. 8. 8.
새로운 compile options -Wl,option : Pass option as an option to the linker. If option contains commas, it is split into multiple options at the commas. -g Produce debugging information in the operating system’s native format (stabs, COFF, XCOFF, or DWARF 2). GDB can work with this debugging information. -pthread Add support for multithreading using the POSIX threads library. This option sets flags for both the preproc.. 2008. 7. 24.