Author Topic: CodeBlocks Troubleshooting: Reading file line by line  (Read 3066 times)

clinthof

  • Guest
CodeBlocks Troubleshooting: Reading file line by line
« on: November 08, 2019, 08:02:23 pm »
Hey all,
I have written a C program in codeblocks to read a specified file line by line.  However, this is the output I get:

/private/var/folders/01/93nfj2q543q6ctr7hjs04vfw0000gn/T/AppTranslocation/7CB58FA2-56DE-4E40-9080-8DB0187CF55A/d/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/MYNAME/Desktop/readLbyL/bin/Debug/readLbyL
myCP:~ MYNAME$ /private/var/folders/01/93nfj2q543q6ctr7hjs04vfw0000gn/T/AppTranslocation/7CB58FA2-56DE-4E40-9080-8DB0187CF55A/d/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/MYNAME/Desktop/readLbyL/bin/Debug/readLbyL

What is causing this? Thank you!

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: CodeBlocks Troubleshooting: Reading file line by line
« Reply #1 on: November 08, 2019, 09:22:13 pm »
Well… This is not a programming forum.
The more appropriate place to ask your question is e.g. here.
Nevertheless, please show us the code, for I`m sure your problem is easy to solve.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: CodeBlocks Troubleshooting: Reading file line by line
« Reply #2 on: November 09, 2019, 02:15:31 am »
My wild guess is you need an terminal program installed or you need to tell Code::Blocks what terminal program to use.

Edit: Look to see what terminal it is trying to use under
Setting -> Eviroment
General Setting
Check the value of "Terminal to launch console programs"

Tim S.
« Last Edit: November 09, 2019, 02:18:29 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org