Forum Replies Created
-
AuthorPosts
-
December 3, 2013 at 02:31 in reply to: Running project locally with cross-compiler vs linux network #2836VirtualLifeParticipant
Clicking ignore gets me to the code as expected.
When clicking run, it takes about a minute (would have expected much quicker compiling locally) and then gives a popup error:
Warning: The gdbserver has exited with code 1. Do you want to abort debugging.Clicking no makes it run for another 30 seconds and pops up:
Failed to start debugging session. GDB has reported the following error: ^error,msg=”The program is not being run.”
Please build your project first. If this does not help, check GDB startup parameteres in VisualGDB project settings.Also in the GDB session window it outputs:
No symbol “disassembly” in current context.
192.168.1.69:2000: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
The program is not being run.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.
Invalid thread id: 1
No registers.The GDB error log says(FlashGrowDB being the project name):
Process /tmp/FlashGrowDB created; pid = 6283
Cannot exec /tmp/FlashGrowDB: No such file or directory.
Child exited with status 127
No program to debug. GDBserver exiting.I also tried just clicking build and that seems to work fine. I get:
1>Build started: Project: FlashGrowDB, Configuration: Debug Win32
1> VisualGDB: Attempting inline build…
1> VisualGDB: Executing prebuild actions
1> VisualGDB: Run “cmd.exe /c “C:SysGCCraspberrybinmake.exe” CONFIG=Debug” in directory “C:inetpubwwwrootFlashGrowDBFlashGrowDB” on local computer
1> make: Nothing to be done for `all’.
1> VisualGDB: Executing postbuild actions
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========Re-running the project after doing the build made no difference in the error messages.
Something else I just noticed, when first creating the project(clicking next on the linux computer selection tab) , I get errors on Checking rm and checking cp. Not sure if that matters.
Also, I have tried this from 2 different PC’s with 2 different RaPi’s with no difference.
December 1, 2013 at 15:33 in reply to: Running project locally with cross-compiler vs linux network #2834VirtualLifeParticipantRunning that command returns:
drwxrwxrwt 6 root root 4096 Dec 1 15:17 tmpThe tmp dir has 2 folders in it
ssh-90TtbSWW6oiU VisualGDB
The VisualGDB folder has the code from where I am running it to compile on the pi directly. No idea what the other folder is. -
AuthorPosts