Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#UBUNTU G++ When I run this command: g++ -std=c++17 -Wall -Icatch.hpp CalcList.cpp PP1Test.cpp I got this warning: cc1plus: warning: catch.hpp: not a directory . I

#UBUNTU G++

When I run this command: g++ -std=c++17 -Wall -Icatch.hpp CalcList.cpp PP1Test.cpp

I got this warning: cc1plus: warning: catch.hpp: not a directory.

I put all my files in the same folder, I updated the latest G++, updated Ubuntu. I dont know what happen. I Googled and I saw someone said that I need to put a dot after -I, so I changed my command to: g++ -std=c++17 -Wall -I .catch.hpp CalcList.cpp PP1Test.cpp then nothing happend (not show up anything), I mean it supposed to say success or failed or error, but it does not say anything and lets me to type other command. Please help, THANKS!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started