小编use*_*943的帖子

C++ eclipse的调试器给出以下错误.'启动程序名'遇到了...启动命令时出错:gdb --version

我一直在解决调试器问题,但现在它已经太烦人了.我正在研究更复杂的程序,如果我无法调试程序,就无法在任何地方工作.有没有其他人能够在eclipse中解决这个问题?它适用于java,但不是minGW的C++插件

用于C++ eclipse的Debbugger给出了以下错误."启动程序名称"遇到了问题.启动命令时出错:gdb --version

c++ eclipse debugging gdb mingw

5
推荐指数
1
解决办法
2万
查看次数

从TFS获取当前迭代路径

我正在尝试获取团队TFS项目的当前迭代路径.我试图这样做的方法是使用http://blog.johnsworkshop.net/tfs11-api-reading-the-team-configuration-iterations-and-areas/上的博客.我首先从以下代码获取团队配置:

        TfsTeamProjectCollection tpc = TFSConncetion(@"http://tfs/url");
        var configSvc = tpc.GetService<TeamSettingsConfigurationService>();
        var configs = configSvc.GetTeamConfigurationsForUser(projectUri);
Run Code Online (Sandbox Code Playgroud)

这个问题是我的配置总是空的,即使我是团队成员.我很肯定我的项目URI也是正确的.在此之后,我将获得团队设置并使用它来显示当前的迭代路径.

TeamSettings ts = config.TeamSettings;
Console.WriteLine(ts.CurrentIterationPath);
Run Code Online (Sandbox Code Playgroud)

即使这不起作用,我仍然可以从团队设置中查询迭代日期,以获得在今天之前有一个开始日期并在今天之后完成日期的一次迭代.主要的问题是,当我尝试使用我的项目URI获取团队配置时,我无法让我的TeamSettingsConfigurationService返回任何空值.

.net c# tfs tfs-sdk tfs2013

5
推荐指数
1
解决办法
6040
查看次数

配置:错误:无法运行C编译程序

我正在尝试使用Debian Wheezy OS将不同的软件安装到我的Raspberry Pi上。当我运行尝试配置软件时,我会尝试安装该软件

checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling...  configure: error: in 'directory of where I'm installing the software'
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
See config.log' for more details
Run Code Online (Sandbox Code Playgroud)

因此,然后我检查了配置日志,它基本上说了同样的话,唯一的区别是,我在检查是否进行交叉编译时看到了段错误:

configure:3547: checking for suffix of executables
configure:3554: /usr/bin/gcc -o conftest -Wno-long-long    conftest.c  >&5
configure:3558: $? = 0
configure:3580: result: 
configure:3602: checking whether we are cross …
Run Code Online (Sandbox Code Playgroud)

c linux config makefile segmentation-fault

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

.net ×1

c ×1

c# ×1

c++ ×1

config ×1

debugging ×1

eclipse ×1

gdb ×1

linux ×1

makefile ×1

mingw ×1

segmentation-fault ×1

tfs ×1

tfs-sdk ×1

tfs2013 ×1