Jump to content

Recommended Posts

Posted

Hey,

I m new in this forum and just wanted to know if someone could help me solve a little problem. I wrote a program in visual studio 2015 C++. the program is actually quite simple. it just miss the room's temperature and give it back. I also debugged it and test it from my PC and it works formidably. I wanted to upload it on the Red-Brick and let it be always scheduled so that it will always run, but after the upload it always shows me "Not running, last run exited with an error (exit code: 2) ". I already removed syntaxes like "printf("Press key to exit\n")" and "getchar()". can any one help me to solve this problem?

thanks

Tades

  • 2 months later...
Posted

Hi

I'm not used to code in C++ for TF. But I had a similar problem.

Working on PC I coded the IP-address inside the script. After transferring to RED it was not working, because the IP-adress changed. Using instead LOCALHOST inside the script solved the problem. Please check and try.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...