Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » error during run in gnu mcu eclipse(error during run)
error during run in gnu mcu eclipse [message #1810695] Fri, 16 August 2019 11:29 Go to next message
sunil rathod is currently offline sunil rathodFriend
Messages: 2
Registered: August 2019
Junior Member
hi,
i am executing c++ code using arm tool chain and getting following message after build

//////////////////////////////////////
make all
Building file: ../src/main.cpp
Invoking: GNU ARM Cross C++ Compiler
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g3 -std=gnu++11 -fabi-version=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.cpp"
Finished building: ../src/main.cpp

Building target: hello c++.elf
Invoking: GNU ARM Cross C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g3 -Xlinker --gc-sections -Wl,-Map,"hello c++.map" --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group -o "hello c++.elf" ./src/main.o
Finished building target: hello c++.elf

Invoking: GNU ARM Cross Create Flash Image
arm-none-eabi-objcopy -O ihex "hello c++.elf" "hello c++.hex"
Finished building: hello c++.hex

Invoking: GNU ARM Cross Print Size
arm-none-eabi-size --format=berkeley "hello c++.elf"
text data bss dec hex filename
294896 3064 6028 303988 4a374 hello c++.elf
Finished building: hello c++.siz


16:54:15 Build Finished. 0 errors, 0 warnings. (took 5s.983ms)
////////////////////////////////////

However after the run command i am getting the following error message

////////////////////////////////////////////////////////

Error starting process.
Cannot run program "C:\Users\admin\eclipse-workspace\lab12\Debug\lab12.elf": Launching failed
Cannot run program "C:\Users\admin\eclipse-workspace\lab12\Debug\lab12.elf": Launching failed
Cannot run program "C:\Users\admin\eclipse-workspace\lab12\Debug\lab12.elf": Launching failed
"launching lab12.elf" has encountered a problem.

///////////////////////////////////////////////////////////////////////
kindly solve the issue.
Re: error during run in gnu mcu eclipse [message #1810762 is a reply to message #1810695] Mon, 19 August 2019 11:42 Go to previous message
Marcotte Jones is currently offline Marcotte JonesFriend
Messages: 2
Registered: August 2019
Junior Member
Yes, I see the error occurs immediately after GDB connects to the server facetime androidhttps://ifacetimeapp.com/facetime-for-android-download/
Previous Topic:printf and scanf behave poorly in Eclipse 3.5 on Windows
Next Topic:Editor goes dark when non eclipse window has focus.
Goto Forum:
  


Current Time: Sat Apr 27 01:48:11 GMT 2024

Powered by FUDForum. Page generated in 0.03246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top