Open walidabualafia opened 2 months ago
Could it be that the file kernel/mrc/source/byte_swap_map.c is a C file but not a C++ file, and if you add the option -std=c++11, that is not valid for the C file? The file is there, in any case.
Did you look at these? https://lbem-focus.epfl.ch/wiki/doku.php?id=1_0:movies
@sthennin,
Thanks for your response. I am not adding the -std=c++11
myself. It seems that it is already in CMakeLists.txt. I am trying to compile as per the video here: https://lbem-focus.epfl.ch/wiki/doku.php?id=1_0:movies
I am wondering if it's an issue with my toolchain, so I'm rebuilding right now. I will keep you posted on what happens. :)
Thanks, Walid
@sthennin,
I removed the option for -std=c++11
from CMakeLists.txt
. I got 2% further.
[ 58%] Building C object kernel/mrc/source/CMakeFiles/byte_swap_map.dir/byte_swap_map.c.o
cc1: error: too many filenames given. Type cc1 --help for usage
cc1: fatal error: CMakeFiles/byte_swap_map.dir/byte_swap_map.c.d: No such file or directory
compilation terminated.
make[2]: *** [kernel/mrc/source/CMakeFiles/byte_swap_map.dir/build.make:76: kernel/mrc/source/CMakeFiles/byte_swap_map.dir/byte_swap_map.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4846: kernel/mrc/source/CMakeFiles/byte_swap_map.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Build failed for Focus
Too many filenames given seems to be a hint. Do you know where in the CMakeLists.txt file this is getting invoked?
I'm on RHEL 8.8 / Linux64 / x86_64 arch
Thank you for your support! :smile:
Hi @sthennin,
Any updates regarding this issue?
Thank you! :smile:
Hi all,
I'm trying to install focus on our cluster, but I keep erroring out with the following:
Any idea why this is happening? I am using
gcc 8.4.1
to compile this. I haveqt5
,cmake 3.27.3
,CUDA 11.8
, andlibfftw
in my environment.Also, the
No such file or directory
is concerning me. I'm wondering if the latest release ships without this file, or if this is an intermediate file that is not generating correctly.Anyway, all help is appreciated! :)