No changes after rebuilding source code

Hello,
I am trying to change the code of the gstCamera.cpp in order to use custom exposure compensation according to this thread. However after running make and sudo make install in the build directory, I don’t see any changes. I tried running the imagenet.py program from ~/jetson-inference/build/aarch64/bin, from ~/usr/local/bin and from ~/jetson-inference/python/examples.
I build the project from source as mentioned in the instructions.
I also made other changes to the pipeline by adding intervideo as described in this post, however they also don’t get added.
Is there anything I missed, in the rebuild steps?
Here is my output from make and sudo make install:

ai-vision@aivision-desktop:~/jetson-inference/build$ make
[ 42%] Built target jetson-utils
[ 57%] Built target jetson-inference
[ 59%] Built target imagenet
[ 60%] Built target imagenet-console
[ 62%] Built target imagenet-camera
[ 63%] Built target depthnet
[ 64%] Built target detectnet-camera
[ 66%] Built target detectnet
[ 68%] Built target detectnet-console
[ 69%] Built target posenet
[ 70%] Built target segnet-camera
[ 72%] Built target segnet
[ 74%] Built target segnet-console
[ 75%] Automatic MOC for target camera-capture
[ 75%] Built target camera-capture_autogen
[ 80%] Built target camera-capture
[ 82%] Built target camera-viewer
[ 84%] Built target video-viewer
[ 86%] Built target gl-display-test
[ 93%] Built target jetson-utils-python-36
[100%] Built target jetson-inference-python-36
ai-vision@aivision-desktop:~/jetson-inference/build$ sudo make install
[sudo] password for ai-vision:
[ 42%] Built target jetson-utils
[ 57%] Built target jetson-inference
[ 59%] Built target imagenet
[ 60%] Built target imagenet-console
[ 62%] Built target imagenet-camera
[ 63%] Built target depthnet
[ 64%] Built target detectnet-camera
[ 66%] Built target detectnet
[ 68%] Built target detectnet-console
[ 69%] Built target posenet
[ 70%] Built target segnet-camera
[ 72%] Built target segnet
[ 74%] Built target segnet-console
[ 75%] Automatic MOC for target camera-capture
[ 75%] Built target camera-capture_autogen
[ 80%] Built target camera-capture
[ 82%] Built target camera-viewer
[ 84%] Built target video-viewer
[ 86%] Built target gl-display-test
[ 93%] Built target jetson-utils-python-36
[100%] Built target jetson-inference-python-36
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/include/jetson-inference/depthNet.h
-- Up-to-date: /usr/local/include/jetson-inference/detectNet.h
-- Up-to-date: /usr/local/include/jetson-inference/imageNet.h
-- Up-to-date: /usr/local/include/jetson-inference/poseNet.h
-- Up-to-date: /usr/local/include/jetson-inference/segNet.h
-- Up-to-date: /usr/local/include/jetson-inference/tensorConvert.h
-- Up-to-date: /usr/local/include/jetson-inference/tensorNet.h
-- Up-to-date: /usr/local/include/jetson-inference/randInt8Calibrator.h
-- Up-to-date: /usr/local/lib/libjetson-inference.so
-- Up-to-date: /usr/local/share/jetson-inference/cmake/jetson-inferenceConfig.cmake
-- Up-to-date: /usr/local/share/jetson-inference/cmake/jetson-inferenceConfig-noconfig.cmake
-- Up-to-date: /usr/local/bin/imagenet
-- Up-to-date: /usr/local/bin/imagenet-camera
-- Up-to-date: /usr/local/bin/imagenet-console
-- Up-to-date: /usr/local/bin/depthnet
-- Up-to-date: /usr/local/bin/detectnet
-- Up-to-date: /usr/local/bin/detectnet-camera
-- Up-to-date: /usr/local/bin/detectnet-console
-- Up-to-date: /usr/local/bin/posenet
-- Up-to-date: /usr/local/bin/segnet
-- Up-to-date: /usr/local/bin/segnet-camera
-- Up-to-date: /usr/local/bin/segnet-console
-- Up-to-date: /usr/local/bin/camera-capture
-- Up-to-date: /usr/local/include/jetson-utils/URI.h
-- Up-to-date: /usr/local/include/jetson-utils/XML.h
-- Up-to-date: /usr/local/include/jetson-utils/alphanum.h
-- Up-to-date: /usr/local/include/jetson-utils/commandLine.h
-- Up-to-date: /usr/local/include/jetson-utils/csvReader.h
-- Up-to-date: /usr/local/include/jetson-utils/csvWriter.h
-- Up-to-date: /usr/local/include/jetson-utils/filesystem.h
-- Up-to-date: /usr/local/include/jetson-utils/logging.h
-- Up-to-date: /usr/local/include/jetson-utils/mat33.h
-- Up-to-date: /usr/local/include/jetson-utils/pi.h
-- Up-to-date: /usr/local/include/jetson-utils/rand.h
-- Up-to-date: /usr/local/include/jetson-utils/timespec.h
-- Up-to-date: /usr/local/include/jetson-utils/csvReader.hpp
-- Up-to-date: /usr/local/include/jetson-utils/csvWriter.hpp
-- Up-to-date: /usr/local/include/jetson-utils/json.hpp
-- Up-to-date: /usr/local/include/jetson-utils/gstCamera.h
-- Up-to-date: /usr/local/include/jetson-utils/v4l2Camera.h
-- Up-to-date: /usr/local/include/jetson-utils/gstBufferManager.h
-- Up-to-date: /usr/local/include/jetson-utils/gstDecoder.h
-- Up-to-date: /usr/local/include/jetson-utils/gstEncoder.h
-- Up-to-date: /usr/local/include/jetson-utils/gstUtility.h
-- Up-to-date: /usr/local/include/jetson-utils/nvbuf_utils.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaBayer.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaColormap.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaColorspace.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaCrop.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaDraw.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaFilterMode.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaFont.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaGrayscale.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaMappedMemory.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaMath.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaNormalize.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaOverlay.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaPointCloud.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaRGB.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaResize.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaUtility.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaVector.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaWarp.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaYUV.h
-- Up-to-date: /usr/local/include/jetson-utils/cudaAlphaBlend.cuh
-- Up-to-date: /usr/local/include/jetson-utils/cudaFilterMode.cuh
-- Up-to-date: /usr/local/include/jetson-utils/glBuffer.h
-- Up-to-date: /usr/local/include/jetson-utils/glCamera.h
-- Up-to-date: /usr/local/include/jetson-utils/glDisplay.h
-- Up-to-date: /usr/local/include/jetson-utils/glEvents.h
-- Up-to-date: /usr/local/include/jetson-utils/glTexture.h
-- Up-to-date: /usr/local/include/jetson-utils/glUtility.h
-- Up-to-date: /usr/local/include/jetson-utils/glWidget.h
-- Up-to-date: /usr/local/include/jetson-utils/imageFormat.h
-- Up-to-date: /usr/local/include/jetson-utils/imageIO.h
-- Up-to-date: /usr/local/include/jetson-utils/imageLoader.h
-- Up-to-date: /usr/local/include/jetson-utils/imageWriter.h
-- Up-to-date: /usr/local/include/jetson-utils/loadImage.h
-- Up-to-date: /usr/local/include/jetson-utils/imageFormat.inl
-- Up-to-date: /usr/local/include/jetson-utils/devInput.h
-- Up-to-date: /usr/local/include/jetson-utils/devJoystick.h
-- Up-to-date: /usr/local/include/jetson-utils/devKeyboard.h
-- Up-to-date: /usr/local/include/jetson-utils/Endian.h
-- Up-to-date: /usr/local/include/jetson-utils/IPv4.h
-- Up-to-date: /usr/local/include/jetson-utils/NetworkAdapter.h
-- Up-to-date: /usr/local/include/jetson-utils/Socket.h
-- Up-to-date: /usr/local/include/jetson-utils/Event.h
-- Up-to-date: /usr/local/include/jetson-utils/Mutex.h
-- Up-to-date: /usr/local/include/jetson-utils/Process.h
-- Up-to-date: /usr/local/include/jetson-utils/RingBuffer.h
-- Up-to-date: /usr/local/include/jetson-utils/Thread.h
-- Up-to-date: /usr/local/include/jetson-utils/Event.inl
-- Up-to-date: /usr/local/include/jetson-utils/Mutex.inl
-- Up-to-date: /usr/local/include/jetson-utils/RingBuffer.inl
-- Up-to-date: /usr/local/include/jetson-utils/videoOptions.h
-- Up-to-date: /usr/local/include/jetson-utils/videoOutput.h
-- Up-to-date: /usr/local/include/jetson-utils/videoSource.h
-- Up-to-date: /usr/local/lib/libjetson-utils.so
-- Up-to-date: /usr/local/share/jetson-utils/cmake/jetson-utilsConfig.cmake
-- Up-to-date: /usr/local/share/jetson-utils/cmake/jetson-utilsConfig-noconfig.cmake
-- Up-to-date: /usr/local/bin/camera-viewer
-- Up-to-date: /usr/local/bin/video-viewer
-- Up-to-date: /usr/local/bin/gl-display-test
-- Up-to-date: /usr/local/bin/camera-viewer.py
-- Up-to-date: /usr/local/bin/cuda-examples.py
-- Up-to-date: /usr/local/bin/cuda-from-cv.py
-- Up-to-date: /usr/local/bin/cuda-from-numpy.py
-- Up-to-date: /usr/local/bin/cuda-to-cv.py
-- Up-to-date: /usr/local/bin/cuda-to-numpy.py
-- Up-to-date: /usr/local/bin/gl-display-test.py
-- Up-to-date: /usr/local/bin/video-viewer.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson_utils_python.so
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Utils
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Utils/init.py
-- Installing: /usr/lib/python3.6/dist-packages/Jetson/init.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson
-- Installing: /usr/lib/python3.6/dist-packages/jetson/init.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson/utils
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson/utils/init.py
-- Up-to-date: /usr/local/bin/depthnet.py
-- Up-to-date: /usr/local/bin/depthnet_utils.py
-- Up-to-date: /usr/local/bin/detectnet-snap.py
-- Up-to-date: /usr/local/bin/detectnet.py
-- Up-to-date: /usr/local/bin/imagenet.py
-- Up-to-date: /usr/local/bin/my-detection.py
-- Up-to-date: /usr/local/bin/my-recognition.py
-- Up-to-date: /usr/local/bin/posenet.py
-- Up-to-date: /usr/local/bin/segnet.py
-- Up-to-date: /usr/local/bin/segnet_utils.py
-- Up-to-date: /usr/local/bin/imagenet-console.py
-- Up-to-date: /usr/local/bin/imagenet-camera.py
-- Up-to-date: /usr/local/bin/detectnet-console.py
-- Up-to-date: /usr/local/bin/detectnet-camera.py
-- Up-to-date: /usr/local/bin/segnet-console.py
-- Up-to-date: /usr/local/bin/segnet-camera.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson_inference_python.so
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson
-- Installing: /usr/lib/python3.6/dist-packages/Jetson/init.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Inference
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Inference/init.py
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson/inference
-- Up-to-date: /usr/lib/python3.6/dist-packages/jetson/inference/init.py
-- Installing: /usr/lib/python3.6/dist-packages/jetson/init.py

I managed to solve the Issue, by adding a single line of comments to each file that I changed.
It seems like the changes weren’t “detected” previously, it’d be great if someone could give some clarification as to why this happens and what the recommended solution would be.

Hi,

You can try to run make clean first to clear all the objects and rebuild the whole library.
Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.