chrisant996 / readline_win32_sample

Demonstrate how to use Readline in a Windows console program
GNU General Public License v3.0
1 stars 0 forks source link

Okay compile errors, and I cannot navigate "readline @ xxxx" folder on github? #3

Closed kirkw closed 2 years ago

kirkw commented 2 years ago

@chrisant996 Okay, I did the premake... it complains: Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'readline/rldefs.h': No such file or directory c_sample C:\readline_win32_sample-main\c_sample.c 9
Error C1083 Cannot open include file: 'rldefs.h': No such file or directory compat C:\readline_win32_sample-main\compat\termcap.c 8
Error C1083 Cannot open include file: 'rlmbutil.h': No such file or directory compat C:\readline_win32_sample-main\compat\readline_glue.c 2

Interesting. the ZIP file has an empty readline folder!

kirkw commented 2 years ago

@chrisant996 this is what I see, and I cannot click on that folder. You might want to double check that it did not crosslink with your other readline. Strange name...

image

chrisant996 commented 2 years ago

@chrisant996 this is what I see, and I cannot click on that folder. You might want to double check that it did not crosslink with your other readline. Strange name...

image

Oh you tried to just copy files from a .zip file.

It's a git submodule, but you're not using git to access it, so you don't get the files.

Can you instead use git clone with the repo I shared?

(The "strange name" is actually a name "readline" and the associated commit hash for that submodule.)