본문 바로가기

분류 전체보기86

정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 그리고 정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1그리고정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 그리고정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 그리고 정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 그리고 정1보2처3리4기5사6필7기8사9필8사7기6리5처4보3정2끝1 2024. 11. 5.
스마트 포인터 shared_ptr 사용 시 make_shared와 new 차이 shared_ptr monster01(new Monster("dragon", 0.05f, 0.07f);shared_ptr monster02 = make_shared("dragon2", 0.08f, 0.04f); 첫번째는 new 연산자를 사용해 Monster객체를 heap에 할당하고 이를 shared_ptr가 관리하도록 한다* 문제점1) 메모리 누수 가능성 : ₩new Monster("dragon", 0.05f, 0.07f)₩에서 예외 발생 시 Monster 객체 할당 전에 shared_ptr가 생성되지 않을 수 있다. -> 예외가 발생해도 메모리 누수가 없음* 문제점2) 비효율성 : 'Monster' 객체와 'shared_ptr'의 관리 블록이 별도로 할당됨 두번째는 make_shared 함수를 사용해 .. 2024. 5. 17.
rosbridge libroscpp.so 없음 -> ros1 source, ros2 source 그다음 rosbridge /opt/ros/galactic/lib/ros1_bridge/dynamic_bridge: error while loading shared libraries: libroscpp.so: cannot open shared object file: No such file or directory https://github.com/ros2/ros1_bridge/issues/205 ros1_bridge dynamic_bridge missing libroscpp.so · Issue #205 · ros2/ros1_bridge Bug report Required Info: Operating System: Ubuntu 18.04 running docker ROS2 nightly Installation type: docker .. 2022. 10. 6.
git 이전 commit으로 되돌아가기 + 워킹 디렉토리를 그 시점으로! https://gmlwjd9405.github.io/2018/05/25/git-add-cancle.html [Git] git add 취소하기, git commit 취소하기, git push 취소하기 - Heee's Development Blog Step by step goes a long way. gmlwjd9405.github.io https://ninano1109.tistory.com/3 Git push 취소 방법 (feat. '쫄보의삽질' 블로그 탄생 배경) 아래는 저의 생생한 경험담을 바탕으로 작성한 것 입니다. Github 관리 폴더의 이름을 실수로 변경하고 삭제해버렸다. 작업 후 commit 하려고 아무리 찾아봐도 폴더가 보이지 않았다. 나의 피땀눈물 ninano1109.tistory.com .. 2022. 9. 26.
[make] make: nothing to be done for 'all' https://changun516.tistory.com/50 [make] make: nothing to be done for 'all' 오류 l 오류 잡기 이미 실행파일 있는 경우 문제가 발생 되는 듯 합니다. * 에러 메시지 발생 make: Nothing to be done for 'all'. 1) make clean 입력 make clean 2) 재컴파일 make changun516.tistory.com make 했던거 취소하고 다시 고고 make clean make 2022. 9. 26.
로컬에서 도커 컨테이너 안으로 파일 보낼 때 https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB0383441 %kb_name - %short_descr - Knowledge Portal Some tasks might require copying files from a local machine into a container or from a container to the local machine. This article describes how to perform these operations. Consider the option defined below depending on your needs: To copy a file from th support.sitecore.com .. 2022. 9. 25.