From users-return-2469-archive-asf-public=cust-asf.ponee.io@netbeans.apache.org Sun Mar 3 21:10:56 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id AF1BE180630 for ; Sun, 3 Mar 2019 22:10:55 +0100 (CET) Received: (qmail 53762 invoked by uid 500); 3 Mar 2019 21:10:54 -0000 Mailing-List: contact users-help@netbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@netbeans.apache.org Received: (qmail 53752 invoked by uid 99); 3 Mar 2019 21:10:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2019 21:10:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 27202181681 for ; Sun, 3 Mar 2019 21:10:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.097 X-Spam-Level: X-Spam-Status: No, score=-0.097 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_EXCESS_BASE64=0.105, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id oO76BaRJq2EB for ; Sun, 3 Mar 2019 21:10:52 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 93C2A5F3BD for ; Sun, 3 Mar 2019 21:10:52 +0000 (UTC) Received: by mail-lj1-f174.google.com with SMTP id a17so2544375ljd.4 for ; Sun, 03 Mar 2019 13:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=pGMDGsfRt4CmSukTFQAfex4+GYc1ZOY1T4vh/9o5wrs=; b=auFmj1caycOVxAQfhxsW6gR/jz5vyfeaWsYAc9GmR1B2R+dIxIJqSm+H5sBoEiuBC3 PHQB1C0gkelYhtiUCwZl3/WLvoT+K1c8136h7AFhaVsGSG7ZquXTuh6zWdKT8NFtIDub omOzVnksgZM8wUKn9JpJRThxvUv0jfITSeIx30KBmWBUTm0n8Pt8gAjWgEiTWdaCOxQ5 M4p2tJXOeg5REsJ0uzO4zbLpvPLm34DIdyVOvHZ9dT1EmOTXHDXxycPAmr2Dc0sAuwEZ f2DQ2a5X7inIvRSQ1g2EAqHDh94ifScl+YgP9u5Of5J0dCQ58WU6uOoDknD1LMwzSkPF X31w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=pGMDGsfRt4CmSukTFQAfex4+GYc1ZOY1T4vh/9o5wrs=; b=ssjgbdIMy3Wc8UfQXl7MjeXtoMzUZIZ0f/BoW1CVngrD1GYoDcszPYCe5kWMyA+uzb pRMoYZIdYCUq+eOoC4wq1TKVUR1r3BKsCGvhbzalGYbZAuE73QwPz7GcjwYrGien6h5n Ujt9gzoc2/FfLhr/An0hkdKqWrurhkt89jfisSwrX5FHjCVEDRKjEjcByaeE2DBmQZXw FwxjWjePdWNiA5IFDdzHLwXgwBxyOSG/u5uX49GCDQQK0WtI4cDa+JH0nMQGEtoWDdtL 7RLn7sdL/V3qGglYti9/SAlMnBuArSxvnobdRNpnKvYOqUQLfD3OdUDeuEhGBNYqwZa6 xMiA== X-Gm-Message-State: APjAAAUgGWPl5NNqpsJlJwRjF3aemqhwN4AdbPqpWkJaXHtk5jawUkXm P6J4Esteop/nxotaJSMjHwU2ERUw X-Google-Smtp-Source: APXvYqxFQxPhWMQAC8t8eS9XSInVmEh0Zbai4pmCah9sJGFutaAoGQKUbVJRNMKN5PLfTk9szMA/Tg== X-Received: by 2002:a2e:47c4:: with SMTP id u187mr8778515lja.10.1551647444748; Sun, 03 Mar 2019 13:10:44 -0800 (PST) Received: from [192.168.1.2] ([93.185.26.55]) by smtp.googlemail.com with ESMTPSA id f19sm1170052lfk.69.2019.03.03.13.10.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 13:10:44 -0800 (PST) Subject: Re: [C/C++] Irritating Pre-Build command line To: Ulf Zibis , users@netbeans.apache.org References: From: =?UTF-8?B?0JLQsNC70LXRgNCwINCh0L7Qu9C00LDRgtC+0LI=?= Message-ID: Date: Mon, 4 Mar 2019 00:10:40 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US In "C/C++ Project with Existing Sources" wizard on first step You can see "Use Build Analyzer" and "Select Configuration Mode" fields. If "Use Build Analyzer" checkbox is switched on, then IDE will listen build command. If build fails, then C/C++ Code Analyzer will ignore source files. Because you have non-standard ./configure script, then 'Custom' mode should be used in "Select Configuration Mode" field. On next wizard step You can select pre-built command. By default: ./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS="-g3 -gdwarf-2" CXXFLAGS="-g3 -gdwarf-2" You can replace default command on any your command. But: 1) your command generates Makefile file 2) Makefile will generate executable file with debug info 3) If you uses non-default compiler you need to specify path to compiler 03.03.2019 16:35, Ulf Zibis пишет: > Hi, > > I have created a new C project "from existing sources". > With invokation of Pre-Build I see the following problem: > cd '/home/ich/Projects/ffmpeg/dev' > ./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ CFLAGS=-g3 -gdwarf-2 > CXXFLAGS=-g3 -gdwarf-2 > Unknown option "CC=/usr/bin/gcc". > See ./configure --help for available options. > > PRE-BUILD FAILED (exit value 1, total time: 186ms) > > Now I'm wondering, where this command line comes from. Is it set from > NetBeans by default? > Does it have any importance to keep it? > Actually it should be this (by all means, this is what works): > ./configure > Under "Set Configuration", when I hit "Reset to default", anything > becomes removed, not even yet "./configure" remains, weird! > > Thanks in advance for answers and comments. > > -Ulf > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org > For additional commands, e-mail: users-help@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional commands, e-mail: users-help@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists