Remote debugging

已完成

Hello!

I'am trying to build my application on the remote ubuntu host: 

From my Windows desktop by the CLion and got a Cmake error "*.so: file format not recognized; treating as linker script".

But when i'am do same steps from linux desktop (with CLion) the build process finished without errors.

What is my mistake?

0

Hello!

1. Are you able to build a default "Hello, World!" project (`File | New Project` > `C++ Executable` > `Create`)  with the remote toolchain?

2. Are you project sources located locally?

0

Hi!
1) Yes, default project works fine. I build it, files transfer to remote host, and it successfully executed.

2) Yes, my sources locate locally on Windows host. But, as I understand they transfered to temp directory on Ubuntu remote machine. Am I right?

 
0

>my sources locate locally on Ubuntu host

I would like to clarify this to avoid misunderstandings. As far as I understand, local machine is Windows and remote machine is Ubuntu. So where are the project sources located originally - locally on the Windows machine or remotely on the Ubuntu machine?

0

Sorry, I made a typo - the project sources are located on Windows machine.

 
0

Please go to Help | Diagnostic Tools | Debug Log Settings, add #com.jetbrains.cidr.remote there, reproduce the issue and send the resulting idea.log file (`Help | Show Log in ...`) to clion-support at jetbrains.com. Do not forget to disable debug logging after that. Note that logs might contain private user's information (like file paths and names). 

Also send a screenshot of your run/debug configuration.

0

请先登录再写评论。