On Thu, Apr 29, 2021 at 9:59 AM Gedare Bloom <[email protected]> wrote: > > On Thu, Apr 29, 2021 at 3:14 AM Robin Müller <[email protected]> > wrote: > > > > I replaced the file in rtems_waf manually but it still throws the same > > error: > > > > [1/2] Compiling build/conf_check_995d7bdd1834199278843e9a51c37759/test.c > > > > ['C:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/bin/sparc-rtems6-gcc.exe', > > '-mcpu=cypress', > > '-IC:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/sparc-rtems6/erc32/lib/include', > > '-MMD', '../test.c', '-c', > > '-oC:/Users/Robin/Documents/RTEMS/quickstart/build/conf_check_995d7bdd1834199278843e9a51c37759/testbuild/test.c.1.o'] > > from C:/Users/Robin/Documents/RTEMS/quickstart: Test does not build: > > Traceback (most recent call last): > > File > > "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py", > > line 335, in run_build > > bld.compile() > > File > > "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", > > line 176, in compile > > raise Errors.BuildError(self.producer.error) > > waflib.Errors.BuildError: Build failed > > Traceback (most recent call last): > > File > > "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Task.py", > > line 190, in process > > self.post_run() > > File "C:/Users/Robin/Documents/RTEMS/quickstart/rtems_waf/gccdeps.py", > > line 140, in post_run > > raise ValueError('could not find %r for %r' % (path, self)) > > ValueError: could not find ['C', ':', 'Users', 'Robin', 'Documents', > > 'RTEMS', 'rtems-tools', 'rtems', '6', 'sparc-rtems6', 'erc32', 'lib', > > 'include', 'rtems.h'] for > > {task 2179590063376: c test.c -> test.c.1.o} > > > It's looking for rtems.h in your rtems-tools directory and not in your > prefix. how did you configure waf? > Sorry, I should also ask, did you install rtems at C:\Users\Robin\Documents\RTEMS\rtems-tools/6
> > > > no > > from C:/Users/Robin/Documents/RTEMS/quickstart: The configuration failed > > > > Kind Regards > > Robin > > > > On Wed, 28 Apr 2021 at 22:35, Chris Johns <[email protected]> wrote: > >> > >> On 28/4/21 7:59 pm, Robin Müller wrote: > >> > I think the following commit in rtems_waf breaks the waf build on > >> > Windows 10: > >> > > >> > commit 096372fc4504730e50b51b952ce47ca603b35f01 > >> > Author: Chris Johns <[email protected] <mailto:[email protected]>> > >> > Date: Thu Oct 10 17:43:11 2019 +1100 > >> > > >> > Use gccdeps for dependency scanning. > >> > > >> > I get the error that RTEMS is not able to find the rtems.h file in a > >> > certain > >> > directory when building the simple quick start application. The error > >> > does not > >> > occur on commits before that. I tried to run waf both in the WIndows CMD > >> > and in > >> > MinGW64, it is problematic for both. > >> > >> Could you please update your local version with ... > >> > >> https://gitlab.com/ita1024/waf/-/blob/master/waflib/extras/gccdeps.py > >> > >> ... and report back how that goes? > >> > >> Thanks > >> Chris > > > > _______________________________________________ > > devel mailing list > > [email protected] > > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
