Class 1: colcon build: ignoring unknown package 'autoware_auto_autoware_my_first_pkg'

Hello,

After creating/writing the first test file 'autoware_my_first_pkg' correctly, I am unable to create / build the package, and hence cannot run it.

Am I missing something simple?

Thanks!

avtester@ade:~/AutowareAuto (master % u=)$ colcon build --packages-select autoware_auto_autoware_my_first_pkg
[0.440s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'autoware_auto_autoware_my_first_pkg' in --packages-select
                     
Summary: 0 packages finished [0.33s]
avtester@ade:~/AutowareAuto (master % u=)$ 
avtester@ade:~/AutowareAuto (master % u=)$ ls -lR install/
install/:
total 64
-rw-r--r-- 1 avtester avtester     0 Jun  4 17:27 COLCON_IGNORE
-rw-r--r-- 1 avtester avtester  3331 Jun  4 17:59 local_setup.bash
-rw-r--r-- 1 avtester avtester  2008 Jun  4 17:59 local_setup.ps1
-rw-r--r-- 1 avtester avtester  3730 Jun  4 17:59 local_setup.sh
-rw-r--r-- 1 avtester avtester 13537 Jun  4 17:59 _local_setup_util_ps1.py
-rw-r--r-- 1 avtester avtester 13621 Jun  4 17:59 _local_setup_util_sh.py
-rw-r--r-- 1 avtester avtester  3726 Jun  4 17:59 local_setup.zsh
-rw-r--r-- 1 avtester avtester  1347 Jun  4 17:59 setup.bash
-rw-r--r-- 1 avtester avtester  1248 Jun  4 17:59 setup.ps1
-rw-r--r-- 1 avtester avtester  2126 Jun  4 17:59 setup.sh
-rw-r--r-- 1 avtester avtester  1333 Jun  4 17:59 setup.zsh
avtester@ade:~/AutowareAuto (master % u=)$ 
avtester@ade:~/AutowareAuto (master % u=)$ ls -lR build/
build/:
total 4
drwxr-xr-x 2 avtester avtester 4096 Jun  4 17:54 autoware_my_first_pkg
-rw-r--r-- 1 avtester avtester    0 Jun  4 17:27 COLCON_IGNORE

build/autoware_my_first_pkg:
total 4
-rw-r--r-- 1 avtester avtester 2 Jun  4 17:54 colcon_build.rc
avtester@ade:~/AutowareAuto (master % u=)$ 

avtester@ade:~/AutowareAuto (master % u=)$ ls -lR src/autoware_my_first_pkg/src/autoware_my_first_pkg_node.cpp 
-rw-r--r-- 1 avtester avtester 1264 Jun  4 17:41 src/autoware_my_first_pkg/src/autoware_my_first_pkg_node.cpp
avtester@ade:~/AutowareAuto (master % u=)$ 
avtester@ade:~/AutowareAuto (master % u=)$ 
avtester@ade:~/AutowareAuto (master % u=)$ cat src/autoware_my_first_pkg/src/autoware_my_first_pkg_node.cpp 
// Copyright 2020 The Autoware Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "autoware_my_first_pkg/autoware_my_first_pkg_node.hpp"

//lint -e537 NOLINT  // cpplint vs pclint
#include <string>

namespace autoware
{
namespace autoware_my_first_pkg
{

AutowareMyFirstPkgNode::AutowareMyFirstPkgNode(const rclcpp::NodeOptions & options)
:  Node("hello_wolrd", options),
  verbose(true)
{
}

int32_t AutowareMyFirstPkgNode::print_hello() const
{
  std::cerr << "--------------------------" << std::endl;
  std::cerr << "Hello from AUTOWARE.AUTO!!" << std::endl;
  std::cerr << "--------------------------" << std::endl;
  return autoware_my_first_pkg::print_hello();
}

}  // namespace autoware_my_first_pkg
}  // namespace autoware
avtester@ade:~/AutowareAuto (master % u=)$ 
Edited by Atul Acharya