Code::Blocks Forums
User forums => Help => Topic started by: ppnl on January 09, 2023, 06:11:26 am
-
I'm trying to get pdcurses up in codeblocks and have hit a snag. I'm useing this tutorial:
https://www.youtube.com/watch?v=mYnfix8ruAo&t=300s
I get to the point where it asks me to change to a win32 directory with:
C:\program files\CodeBlocks\pdcurses-3.8>cd win32
But there is no win32 directory.
-
have you build pdcurses?
-
No I have not. That is the next step after changing to the directory that I want it in I think.
But I think I have it figured out. I read down the comments after the video and someone mentioned that as of 2020 the directory name is wincon. I have that. It is a 14 year old tutorial so I suppose it isn't a surprise that something has changed.
It seems like every time I try to do something of any complexity at all on a computer I trip over some trivial detail. Even registering on this forum. One of the robot questions was "what is the number one greater than the current year?" The answer would be 2024 right? Nope. The question was out of date and the answer was 2023. Sometimes I just give up.
Anyway I will give it another try. Thanks for the input.
-
Ok, next problem. I'm trying to compile it and the command the tutorial gives isn't working. The command they give is:
mingw32-make -f mingwin32.mak
I get errors:
mingw32-make: mingwin32.mak: No such file or directory
mingw32-make: *** No rule to make target 'mingwin32.mak'. Stop.
I checked the MinGW\bin directory. There is a mingw32-make.exe there. There is no mingwin32.mak.
-
There is no mingwin32.mak.
mingwin32.mak should be somewhere in project directory, this is a make file or the part of the make file.
-
I'm doing this from a command prompt. I extracted the pdcurses.zip to c:\program files\codeblocks\pdcurses-3.8
Is that where mingwin32.mak should be? I have searched the entire computer and there does not seem to be a file by that name anywhere.
Is this file downloaded in pdcurses.zip or is it suppose to be created in the process?
-
Following the instructions here (https://pdcurses.org/wincon/) you need to write just
Building external libraries is OT here.
-
Off topic? I'm not sure why setting up pdcurses for codeblocks is off topic. And after searching the forum it is an issue that has been addressed before. Unsuccessfully apparently.
But ok, whatever. I will search for help elsewhere.
-
The original question is not OT, but building the library itself is.