Want to go over how to set up curses that curses library on the various platforms.
So I'm going to start with Windows first and you'll notice that there is a file that's attached to this
lecture called PD curses and that file is only for you Windows users.
And download the file and then unzip it and in it there should be a few files in there and take the
two files called curses H and panel that age and copy them.
And in your Eclipse workspace create two new folders called include and lib.
Put the cursor is dot H and panel that H into include.
And in the lib.
Put PD curses dot what they and in whatever
in whatever project you make to test your curses out in debug copy copy the DL else p.
PD curses dot DL and copy it into your debug folder.
And next in your actual project right click and say properties and go to see C++ build and settings.
And in the gcc compiler go to includes and go to include passes for Section peer and hit this button.
Hit Phyliss hit file system and go to your workspace and hit your include folder.
You just made it open and hit OK.
And then in your IT should say men GW C++ linker go to libraries and in the library search path hit
this in hit file system and hit list.
OK
and here in the.
Type the hearse is in hit.
OK should look like this.
And then hit apply
and yes it shows that so PD courses in the library's research path should look like whatever your workspace
is is mine.
I'm on a Mac so I don't have to do any of this stuff but it should be your workspace slash lib and it
includes should be your workplace workspace slash and clean.
And remember that you need the dot yellow in your debug folder.
OK.
And also just make sure that in your linker under miscellaneous you do in the linker flags you should
have static static Dasch lib.
C C dash static
Ashleigh.
Steve.
Plus they can only for Windows users so make sure that this is like like this is well apply.
I don't have to do this on my Mac it it apply.
Yes.
OK.
And that should be it for your set up.
Just remember that you have to do this all this setup this setup set the one I just showed you all this
and this and it includes for each project.
OK.
And you also have to copy the dot Dalel into your debug folder for each project as well.
So the other thing is make sure to do that.
External tools thing.
I showed you before.
So you should have some kind of configuration that ran ran your project in the console.
You should really watch that video if you kind of forgot and see see how I did it for Windows.
And you have to do that for each cursus project as well.
OK.
So close this and show the Mac users how to use their project.
So for Mac users we curses already exists for us.
Unlike the Windows users.
So we don't need this includes or library stuff.
Well we will but not that's really all.
All we have to do for the libraries is hit this ad and just type in cursive.
It's like that each day and then hit apply.
Yes and k.
And really all we need to do now is actually include.
So for Windows users it should look like this in in double quotes like that.
And your skin type curses that H in it for Mac users like myself.
I'm going to type in cursive stuff.
Ch in angle brackets.
Because curses already exists on my system and gcc knows how to get it.
So I just build project.
It's fine.
All builds properly and it's using the curses library that way.
So if you have any problems just kind of relaunch the video I've shown you everything you really need
to get curses running again.
You have to do all these steps each time you make a project except for for Windows user you don't have
to keep adding curses Dudie to your panel the nature of the library each time.
OK you'll have to add it for your properties but you don't have to copy those files.
So that's it.
And I will see you in the next lecture where I will actually start using cursus.