Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Converting EVERYTHING to relative paths
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Converting EVERYTHING to relative paths (Read 5395 times)
3DModelerMan
Multiple posting newcomer
Posts: 21
Converting EVERYTHING to relative paths
«
on:
September 28, 2008, 05:23:35 pm »
Hi I was wondering if there was a way to convert all of my build options to relative paths automatically.
Thanks
.
Logged
mariocup
Guest
Re: Converting EVERYTHING to relative paths
«
Reply #1 on:
September 28, 2008, 07:04:00 pm »
Hi 3dModelerMan,
if you use relative path (to your CB project) and specify e.g. the generated executable file e.g. obj/name.exe then you won't have problems in moving a project.
Is this what you intend?
BTW: There a lot of builtin variables to customize your project paths (
http://wiki.codeblocks.org/index.php?title=Builtin_variables
)
Bye,
Mario
Logged
3DModelerMan
Multiple posting newcomer
Posts: 21
Re: Converting EVERYTHING to relative paths
«
Reply #2 on:
September 28, 2008, 11:53:21 pm »
What I mean is, I used the project template for Irrlicht, and it automatically links and sets stuff with absolute paths. I was wondering if there was a way to convert everything to relative paths.
Logged
CuteAlien
Multiple posting newcomer
Posts: 57
Re: Converting EVERYTHING to relative paths
«
Reply #3 on:
September 29, 2008, 05:10:11 am »
I'm not sure if the Irrlicht template is that much up-to-date. But getting Irrlicht to run (also with relative paths) is easy.
First add the include path in: build options - Search directories - compiler.
Then add the following libs in: build options - Linker settings:
your_relative_path/irrlicht/lib/Linux/libIrrlicht.a
GL
GLU
Xxf86vm
Xext
X11
Xrandr
Maybe GLU isn't even needed anymore (but won't hurt). If any of those libraries is missing then install it (as -dev version).
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Converting EVERYTHING to relative paths