Discussion:
Adding library location
(too old to reply)
Rene
2008-07-05 14:16:22 UTC
Permalink
Hello to All of You!

I finally got to the point where I can compile a C++ program with the
inclusion of glut with bcb6 (glut is something one can use to make using
OpenGL a bit easier, the question however has very little to do with OpenGL
itself so I decided not to post in in the graphics bcb group but this one).
One small problem remains and I can't stand the fact that the way I want to
solve it doesn't seem to solve it. I get the linker error that it is unable
to open the file glut32.lib. When I go to
"Project->options->Tab:Directories/Conditionals and then add
";$(BCB)\Lib\Psdk" to the end of the Library path, everything is OK.
However, when I try to achieve the same thing (for saving work in the
future) by going to Tools->Environment Options->Tab:Library and then add it
to the end of "Library Path" it does not make any difference, the file is
not found :-(. I am wondering why that is so. When I move the library to
another directory which is in the library path, there is no problem at all
with that file (it just stars nagging about the next glut/opengl related
library which cannot be found, they're all in that directory, the opengl
libs have been put there by bcb itself, the glut libraries have been put
there by me but like I said, that makes no difference, it can't find the
opengl files either, only when I add that path to the project specific
options).

At some website I read that someone wrote that one should choose "Add to
project" from the project menu. What exactly is that for? I does not solve
the problem described above. And it is not necessary to be able to run the
program to do this, the only thing that is necessary is to add the path to
the project specific library path. If I do that, I can remove the file from
the project without any consequences (as far as I can oversea them anyway).

There is also another peculiar thing, when I start a new project, in the
fist list I mentioned above (project specific options) the directory of an
old project I once made is automatically added to the library directories.
This is silly, there is nothing special about that project, anybody got an
idea why this happens and how I might stop it?

Thank You very much in advance!

Yours sincerely,
Rene
Rene
2008-07-08 12:57:05 UTC
Permalink
Hi,

This question originally was posted in b.p.c.students but as there have been
no replies I have posted this follow-up to this group. Looking back, this
group would have been better in the first place but being a beginner in C++
and BCB I have asked several, not so much ide-related questions in that
other group, I had not realized there was a more ide-specific group.

I hope someone has an idea.
Thanks in advance!
Post by Rene
Hello to All of You!
I finally got to the point where I can compile a C++ program with the
inclusion of glut with bcb6 (glut is something one can use to make using
OpenGL a bit easier, the question however has very little to do with
OpenGL itself so I decided not to post in in the graphics bcb group but
this one). One small problem remains and I can't stand the fact that the
way I want to solve it doesn't seem to solve it. I get the linker error
that it is unable to open the file glut32.lib. When I go to
"Project->options->Tab:Directories/Conditionals and then add
";$(BCB)\Lib\Psdk" to the end of the Library path, everything is OK.
However, when I try to achieve the same thing (for saving work in the
future) by going to Tools->Environment Options->Tab:Library and then add
it to the end of "Library Path" it does not make any difference, the file
is not found :-(. I am wondering why that is so. When I move the library
to another directory which is in the library path, there is no problem at
all with that file (it just stars nagging about the next glut/opengl
related library which cannot be found, they're all in that directory, the
opengl libs have been put there by bcb itself, the glut libraries have
been put there by me but like I said, that makes no difference, it can't
find the opengl files either, only when I add that path to the project
specific options).
At some website I read that someone wrote that one should choose "Add to
project" from the project menu. What exactly is that for? I does not solve
the problem described above. And it is not necessary to be able to run the
program to do this, the only thing that is necessary is to add the path to
the project specific library path. If I do that, I can remove the file
from the project without any consequences (as far as I can oversea them
anyway).
There is also another peculiar thing, when I start a new project, in the
fist list I mentioned above (project specific options) the directory of an
old project I once made is automatically added to the library directories.
This is silly, there is nothing special about that project, anybody got an
idea why this happens and how I might stop it?
Thank You very much in advance!
Yours sincerely,
Rene
Rene
2008-07-08 13:02:16 UTC
Permalink
Off course I forgot to post the FU, sigh... I am awfully sorry for littering
the ng this way.
Rene
2008-07-08 13:02:52 UTC
Permalink
Hi,

This question originally was posted in b.p.c.students but as there have been
no replies I have posted this follow-up to this group. Looking back, this
group would have been better in the first place but being a beginner in C++
and BCB I have asked several, not so much ide-related questions in that
other group, I had not realized there was a more ide-specific group.

I hope someone has an idea.
Thanks in advance!
Post by Rene
Hello to All of You!
I finally got to the point where I can compile a C++ program with the
inclusion of glut with bcb6 (glut is something one can use to make using
OpenGL a bit easier, the question however has very little to do with
OpenGL itself so I decided not to post in in the graphics bcb group but
this one). One small problem remains and I can't stand the fact that the
way I want to solve it doesn't seem to solve it. I get the linker error
that it is unable to open the file glut32.lib. When I go to
"Project->options->Tab:Directories/Conditionals and then add
";$(BCB)\Lib\Psdk" to the end of the Library path, everything is OK.
However, when I try to achieve the same thing (for saving work in the
future) by going to Tools->Environment Options->Tab:Library and then add
it to the end of "Library Path" it does not make any difference, the file
is not found :-(. I am wondering why that is so. When I move the library
to another directory which is in the library path, there is no problem at
all with that file (it just stars nagging about the next glut/opengl
related library which cannot be found, they're all in that directory, the
opengl libs have been put there by bcb itself, the glut libraries have
been put there by me but like I said, that makes no difference, it can't
find the opengl files either, only when I add that path to the project
specific options).
At some website I read that someone wrote that one should choose "Add to
project" from the project menu. What exactly is that for? I does not solve
the problem described above. And it is not necessary to be able to run the
program to do this, the only thing that is necessary is to add the path to
the project specific library path. If I do that, I can remove the file
from the project without any consequences (as far as I can oversea them
anyway).
There is also another peculiar thing, when I start a new project, in the
fist list I mentioned above (project specific options) the directory of an
old project I once made is automatically added to the library directories.
This is silly, there is nothing special about that project, anybody got an
idea why this happens and how I might stop it?
Thank You very much in advance!
Yours sincerely,
Rene
Loading...