Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
309 views
in Technique[技术] by (71.8m points)

c - Codeblocks "no such file or directory" Error

I'm trying a C tutorial.

I made a C project, Console Application, and run the default code, 'hello world', but I got an error like down below.:

zsh: no such file or directory: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/johamin/newdev/ham_C/bin/Debug/ham_C 

It seems the CodeBlock can't find a project file on the path.

I checked the directory on the path, and the project file ham_C is in the right directory.

Also, when I execute the ham_C file directly, (without CodeBlock) it prints "hello world" correctly with no error.

I have no idea what's going on. please help me!

question from:https://stackoverflow.com/questions/65897757/codeblocks-no-such-file-or-directory-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...