PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Includes

Exactly what settings are you expecting people to use to build PocketHAL? Must they add the PocketHAL directory as a search path for include files? The reason I ask is because none of the PocketHAL include files use paths relative to themselves, but are relative to the parent directory. It seems more intuitive to make the paths properly relative so you can simply include and link and not have to change settings in the eVC++ environment.

I mentioned this several months ago, but each time I upgrade to a new version I go through this again. :)

Dan East
Here's the older post:
http://www.pocketmatrix.com/forums/view ... highlight=

The reason it's important to me is because I place PocketHAL within the project directory. I have several projects that use PocketHAL, and each uses what was the current PocketHAL version at the time I worked on the project. When I go back to an older project I do not want to be forced to make changes to make it compatible with the newest version of PocketHAL (and some of my older projects will not build with the newest version of your library).

Anyway, that's how I use PocketHAL, and why the include paths are problematic for me. :) For people that use a global instance of the PocketHAL library for all their projects this isn't an issue (which is probably most people).

Dan East
I have multiple projects that use different versions of PocketHAL. Here is how I do it: instead of adding the PocketHAL root directory to the environment settings, I add it to the project's settings under "C/C++ --> Preprocessor".

After your previous post about this subject, I tried using relative paths. Altough it does work with VC/EVC, it doesn't with GCC (Symbian) nor does it work for CodeWarrior (Palm). Using system path is the only way I found to have it working cross-platform.
I didn't know about that setting (either that or I forgot it existed). That's an acceptable solution. It would have also been handy for a project I had to import into VC++ yesterday to tweak. I had to change a bunch of header files by hand. This thread would have saved me a lot of trouble had it occurred yesterday. :)

Dan East
Glad it does the job for you. Some days I have the feeling I spent more time setuping the PocketHAL projects then actually doing any useful work.
Pejo Software - Per · 19 Oct 2004, 05:46 UTC
Dan East wrote:I didn't know about that setting

8O
How have you managed do your work without knowing that!?
Eh, smart people can do a lot knowing even less... Take me for instance... I dunno if I'm smart or not (more or less on some days), but I manage to do what I do without knowing C/C++ especially well, certainly a lot less than many of the people floating around here.

It matters if you can efficiently find answers when you actually need them, whether you remember the answer five minutes later or not is less important :) Also, just being able to think is key to everything. You'd be surprised how many people lack that most basic of skills :)
Pejo Software - Per":9jlo1yvh]

I have no idea. Now that I know about that obscure setting I'm sure I will use it daily.

Dan East
fzammetti wrote:Eh, smart people can do a lot knowing even less... Take me for instance... I dunno if I'm smart or not (more or less on some days), but I manage to do what I do without knowing C/C++ especially well, certainly a lot less than many of the people floating around here.

It matters if you can efficiently find answers when you actually need them, whether you remember the answer five minutes later or not is less important :) Also, just being able to think is key to everything. You'd be surprised how many people lack that most basic of skills :)


You don't know if you are smart or not?
OK here is a solution: concentrate yourself and think, fzammetti, think.
Just kidding :lol:
Me smart. Me think good. You not think as good like me think.

Ugh.

;)
Wow Your thinking process quiet impressive 8)
Boy this topic went downhill fast...

Anyway, now that you know about that obscure setting and will use it daily, Dan, how soon can we expect to play Varium? A week? Maybe two? :twisted:

Keep us posted!

:wink:

Out of curiosity, mlepage, how many times a day do you change that setting? Since you don't expect anyone to do any sort of work without using it, I have to assume it's quite frequent. :P

Later,
-John