Author Topic: Treat me gently please  (Read 3950 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Treat me gently please
« on: December 23, 2009, 11:58:11 PM »

I hope there aren't too many posts like this.

Building a solution
getting
fatal error C1083: Cannot open include file: 'arxHeaders.h':

The ..\inc path is on the  environment variable PATH
The File exists

I've tried both
#include "arxHeaders.h"
and
#include <arxHeaders.h>

any ideas ??
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Treat me gently please
« Reply #1 on: December 24, 2009, 12:22:42 AM »

Resolved I think

In the Tools->Options Dialog I needed to change the 'Show directories for' combo to 'Include Files"
ie Corresponds to environment variable INCLUDE.
I had them set in the  'Executable Files'
ie Corresponds to environment variable PATH.

Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Treat me gently please
« Reply #2 on: December 24, 2009, 12:28:07 AM »
1>TestARX_01 - 0 error(s), 3 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


Now I'm really dangerous  :lol:
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

owenwengerd

  • Bull Frog
  • Posts: 444
Re: Treat me gently please
« Reply #3 on: December 24, 2009, 01:05:35 AM »
I recommend against adding the ObjectARX folders to your global settings, as it prevents you from targeting multiple AutoCAD versions. Add them to your project settings instead, so that you can specify different paths for different project configurations. Also, use environment variables:
http://www.manusoft.com/Resources/ARXTips/Main.stm#MSVCEnvironment

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7096
  • AKA Daniel
Re: Treat me gently please
« Reply #4 on: December 24, 2009, 01:19:16 AM »
You should avoid adding paths globally and add them at the project level. see pics
I use system variable but you can just add the paths directly
Retired

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7096
  • AKA Daniel
Re: Treat me gently please
« Reply #5 on: December 24, 2009, 01:25:03 AM »
oops, do it as sifu Owen does  :laugh:
Retired

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7096
  • AKA Daniel
Re: Treat me gently please
« Reply #6 on: December 24, 2009, 01:25:58 AM »
1>TestARX_01 - 0 error(s), 3 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


Now I'm really dangerous  :lol:

Welcome to the club  :lol:
Retired

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Treat me gently please
« Reply #7 on: December 24, 2009, 02:01:32 AM »

Thanks Owen,
Thanks Daniel
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--