<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf connect sdk build use wrong compiler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89543/nrf-connect-sdk-build-use-wrong-compiler</link><description>i try to build simple hello world program in c++. it successfully compile just yesterday, but somehow it fail to compile now. on the log it seem to use /usr/bin/c++ to compile. is it suppose to use that? here is the log file. 
 
 for my environment. i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2022 16:54:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89543/nrf-connect-sdk-build-use-wrong-compiler" /><item><title>RE: nrf connect sdk build use wrong compiler</title><link>https://devzone.nordicsemi.com/thread/376664?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 16:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e9255d-4dd2-42a7-9138-1a10b4611a9f</guid><dc:creator>Muhammad Salman Galileo</dc:creator><description>&lt;p&gt;it solved. it seem the problem happend because i try to do custom unit test with gtest which use linux c++ compiler. i solve it by separating the test cmake file from the main cmake file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect sdk build use wrong compiler</title><link>https://devzone.nordicsemi.com/thread/375558?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 12:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61601b38-791a-43e3-8293-92ee729297c0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;So the issue is solved? or is there still errors when building hello world?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect sdk build use wrong compiler</title><link>https://devzone.nordicsemi.com/thread/375209?ContentTypeID=1</link><pubDate>Sun, 03 Jul 2022 03:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af75b782-1706-4328-b0a7-3a663af665cf</guid><dc:creator>Muhammad Salman Galileo</dc:creator><description>&lt;p&gt;i try to remove build folder and it does nothing. this is the cmakefiles.txt that i used.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
option(BUILD_TESTS &amp;quot;Build test programs&amp;quot; OFF)
project(semudah)

# if(BUILD_TESTS)
#   add_subdirectory(src)
#   add_subdirectory(tst)
# else()
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})

target_sources(app PRIVATE src/main.cpp)

# endif()
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;i try to build new blinky application and its build just fine.&lt;br /&gt;&lt;br /&gt;i didnt see any difference in cmake file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect sdk build use wrong compiler</title><link>https://devzone.nordicsemi.com/thread/375139?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 14:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d64f023-9955-4975-a6b2-4fb1b11ca994</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Do you get the same error if you try to build a different project, like Blinky?&amp;nbsp;&lt;br /&gt;Have you tested one of the NRF samples?&lt;br /&gt;&lt;br /&gt;Try to remove the build folde?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>