Robot AI Lab

  • 홈
  • 태그
  • 방명록

Languages 3

CMakeLists.txt for third-party-library

main.cpp #include #include #include int main(int argc, char *argv[]) { std::cout

Languages/C++ 2022.05.24

CMakeLists.txt

CMakeLists.txt : # Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the project name project (hello_headers) # Create a sources variable with a link to all cpp files to compile set(SOURCES src/Hello.cpp src/main.cpp ) # Add an executable with the above sources add_executable(hello_headers ${SOURCES}) #..

Languages/C++ 2022.05.24

Makefile

Build : gcc -c main.c // -c (compile) gcc -c -o target.o main.c ~$ main.o ~$ target.o gcc -o target main.o // -o (output) ~$ target.exe option : gcc -v -I/usr/local/include -DDEBUG -Wall -W -O2 -L/usr/local/lib -o like like.c -lm Make rules : target: dependencies ... commands ... Example : ~$ gcc -c main.c ~$ gcc -c a.c ~$ gcc -c b.c ~$ gcc -o target main.o a.o b.o Example by makefile : a.o : a...

Languages/C 2022.05.23
이전
1
다음
더보기
프로필사진

Robot AI Lab

Coding kits based on Robot Operating System (ROS)

  • 분류 전체보기 (31)
    • ROS (24)
      • ROS2Foxy (16)
      • microROS (0)
      • ROS2FoxyUbuntu20.04RPi4B (8)
    • Ubuntu (1)
      • Ubuntu20.04 (0)
      • Ubuntu20.04WSL2 (1)
      • Ubuntu20.04RPi4B (0)
    • AI (0)
    • RaspberryPi (0)
      • RPi4B (0)
      • RPi3B (0)
      • Pico (0)
      • PicoW (0)
    • ESP (0)
      • ESP32 (0)
      • ESP32CAM (0)
    • Arduino (0)
      • ArduinoUno (0)
      • ArduinoNano33BLESense (0)
      • ArduinoNano (0)
    • Languages (3)
      • Python (0)
      • C++ (2)
      • C (1)
      • JavaScript (0)
      • MicroPython (0)
    • Tools (1)
      • Git (0)
      • VisualStudioCode (0)
      • MySQL (0)
      • AppInventor (0)
      • ETC (1)
    • IOT (2)
      • Lidar (2)

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • ros.org

티스토리툴바