Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Annoying Warning


This question is answered.


Permlink Replies: 7 - Last Post: Jan 2, 2017 9:01 PM Last Post By: Alex Belo
Earl Staley

Posts: 99
Registered: 4/9/07
Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2017 4:39 PM
I keep getting this warning:

"Path 'C:\Users\Public\Documents\Embarcadero\Studio\18.0\hpp\Win32' not found - path ignored in option '-I'"

The warning is correct because I don't have an hpp directory in Studio\18.0\. Am I supposed to have that directory? If not, is there something I can change in the options so C++ Berlin doesn't look for that directory?

I am using C++ Berlin 10.1 Update 2.

Earl
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2017 4:54 PM   in response to: Earl Staley in response to: Earl Staley
Earl Staley wrote:

I keep getting this warning:

"Path 'C:\Users\Public\Documents\Embarcadero\Studio\18.0\hpp\Win32'
not found - path ignored in option '-I'"

The warning is correct because I don't have an hpp directory in
Studio\18.0\. Am I supposed to have that directory? If not, is
there something I can change in the options so C++ Berlin doesn't
look for that directory?

I am using C++ Berlin 10.1 Update 2.

Look if it is in your C++Builder library path. If so, remove it.

Main menu -> Tools -> Options -> Environment options -> C++ options ->
Library -> Library path -> [...] button

It can also be in your search path (under the Project options).

--
Rudy Velthuis http://www.rvelthuis.de

"It was the experience of mystery -- even if mixed with fear --
that engendered religion."
-- Albert Einstein (1879-1955)
Earl Staley

Posts: 99
Registered: 4/9/07
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 8:13 AM   in response to: Rudy Velthuis (... in response to: Rudy Velthuis (...
Rudy,

Thank you for the reply.

I have looked at all the Library and Include Paths in both the Tools>Options 'Paths and Directories' and Project>Options 'Directories and Conditionals' and cannot find the C:\Users\Public\Documents\Embarcadero\Studio\18.0\hpp\Win32 directory. The directory had to come as part of the C++ Berlin 10.1, Update 2 installation because I have never specified that directory. I don't recall seeing that warning before installing Update 2, but I might have just missed or ignored the warning.

Any other ideas why C++ Berlin 10.1 Update 2 is looking for that directory?

Earl
Alex Belo

Posts: 626
Registered: 10/8/06
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 8:23 AM   in response to: Earl Staley in response to: Earl Staley
Earl Staley wrote:

Any other ideas

Search for this string in all possible places: installation directory,
documents, in (autoupgraded?) project file, in registry... and remove
it if search is successful...

--
Alex
Rudy Velthuis (...


Posts: 7,731
Registered: 9/22/99
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 3:17 PM   in response to: Earl Staley in response to: Earl Staley
Earl Staley wrote:

Rudy,

Thank you for the reply.

I have looked at all the Library and Include Paths in both the
Tools>Options 'Paths and Directories' and Project>Options
'Directories and Conditionals' and cannot find the
C:\Users\Public\Documents\Embarcadero\Studio\18.0\hpp\Win32
directory. The directory had to come as part of the C++ Berlin 10.1,
Update 2 installation because I have never specified that directory.

It could be part of your project. Just read the .cbproj file as text
and see if you can find it there. Or simply do a grep or text search in
all files you have in your project.

Also search the registry for that string.

--
Rudy Velthuis http://www.rvelthuis.de

"One of the symptoms of an approaching nervous breakdown is the
belief that one's work is terribly important."
-- Bertrand Russell (1872-1970)
Asger Joergensen

Posts: 370
Registered: 11/18/08
Re: Annoying Warning
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 3:25 PM   in response to: Earl Staley in response to: Earl Staley
Hi Earl

Earl Staley wrote:

I keep getting this warning:

"Path 'C:\Users\Public\Documents\Embarcadero\Studio\18.0\hpp\Win32' not found
- path ignored in option '-I'"

Doesn't that correspond with your [BDSCOMMONDIR]\hpp\Win32 ? In other words
the output dir for auto-created hpp files when building delpi components

so if you commondir correspond with:
C:\Users\Public\Documents\Embarcadero\Studio\18.0

I suggest you create the \hpp\Win32 because at some point you are gonna need
it anyway.

Best regards
Asger
Earl Staley

Posts: 99
Registered: 4/9/07
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 4:32 PM   in response to: Asger Joergensen in response to: Asger Joergensen
Doesn't that correspond with your [BDSCOMMONDIR]\hpp\Win32 ? In other words
the output dir for auto-created hpp files when building delpi components

so if you commondir correspond with:
C:\Users\Public\Documents\Embarcadero\Studio\18.0

I suggest you create the \hpp\Win32 because at some point you are gonna need
it anyway.

Best regards
Asger

Yup, creating the directory eliminated the error. However, I wasn't creating a component nor working with Delphi. I was creating a C++ database program so I don't know why it was looking for that directory.

Regards...
Earl
Alex Belo

Posts: 626
Registered: 10/8/06
Re: Annoying Warning  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 9:01 PM   in response to: Earl Staley in response to: Earl Staley
Earl Staley wrote:

Doesn't that correspond with your [BDSCOMMONDIR]\hpp\Win32 ? In
other words the output dir for auto-created hpp files when building
delpi components
...
Yup, creating the directory eliminated the error. However, I wasn't
creating a component nor working with Delphi. I was creating a C++
database program so I don't know why it was looking for that
directory.

Perhaps some IDE expert does it on fly behind the scenes...

--
Alex
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02