Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [SEVEN ] Path Problem in Arguments of External Tools Configuration
[SEVEN ] Path Problem in Arguments of External Tools Configuration [message #816162] Thu, 08 March 2012 08:55 Go to next message
Eclipse UserFriend
I installed Eclipse C/C++ on Windows Seven 64bits.No problem to compile my code with a makefile on eclipse (the target is a STM32F107 microcontroller).
I'm trying to integrate an external Tools "OpenOCD" to download via eclipse the code on my target (already success "by hand" via windows console).
But I cannot use the "Arguments" in "External tools configuration".
I wrote :
*In location : C:\EclipseProjet\MyExternalToolsOpenOCD.bat
*In arguments directory : "C:\EclipseProjet\Projet1\bin\mycode.hex"

The problem appears when i "run" this external tools in eclipse, the console doesn't get the symbol '\' and give me this error : "couldn't open C:?EclipseProjet?Projet1?bin?mycode.hex"

I think the problem comes from the text encoding (UTF-8 ,Cp1252 or ISO-8859-1). I already played with "preferences>Workspace>Text file Encoding" but anything change.I played with "ExternalToolsConfiguration>common>Encoding" too anything change...

Any idea?
Thanks in advance.

[Updated on: Thu, 08 March 2012 09:00] by Moderator

Re: [SEVEN ] Path Problem in Arguments of External Tools Configuration [message #816221 is a reply to message #816162] Thu, 08 March 2012 10:10 Go to previous message
Eclipse UserFriend
FOUND !
Not caused by eclipse, this is my external tools cause the problems : openocde.
This exe doesn't accept \ but /
Sorry for this topic...

N.B.:

For people interrested by this problem with openocd, you can add batch like this to automatically replace \ by /
set var=%1
echo. %var%
set var=%var:\=/%
echo. %var%

Previous Topic:Changing the color of the popup widget
Next Topic:Cannot open shared object file libstdc++.so.6
Goto Forum:
  


Current Time: Sat Jun 14 01:49:19 EDT 2025

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

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

Back to the top