You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Kent!
When I tried to compile mapmaker, I got error as:
cmake ../
-- No build type selected, default to Release
-- Configuring done
CMake Error at CMakeLists.txt:61 (add_executable):
Cannot find source file:
mapm/mapmhelp.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:90 (add_executable):
Cannot find source file:
quant/qtlhelp.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:61 (add_executable):
No SOURCES given to target: mapmaker
CMake Error at CMakeLists.txt:90 (add_executable):
No SOURCES given to target: qtl
CMake Generate step failed. Build files cannot be regenerated correctly.
I am not sure what is wrong. Do you have the instruction to compile this package?
Some of my environment infos are:
$ cmake --version
cmake version 3.22.1
$ uname -a
Linux valiant6 4.15.0-187-generic #198-Ubuntu SMP Tue Jun 14 03:23:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Thank you!
The text was updated successfully, but these errors were encountered:
The executable makehelp needs to be built, and it converts two .src files to .c files. These .c files are the ones that you are missing. I'll need to look at why cmake is not building makehelp.
Spent some time on this. About the two missing files after guess: cp makehelp/mapmhelp.c mapm/mapmhelp.c
and went back to the original MAPMAKER source code, copied the old source file to the folder by: cp ~/Downloads/mapmaker3.0/quant/qtlhelp.c quant/
cmake again. but hit another wall:
mapmaker/lib/shell.c:27: multiple definition of `more_mode';
libmylib.a(iolib.c.o):mapmaker/lib/iolib.c:22: first defined here
Unfortunately, I am now familiar with cmake. Hope this could provide more clues.
Hi, Kent!
When I tried to compile mapmaker, I got error as:
I am not sure what is wrong. Do you have the instruction to compile this package?
Some of my environment infos are:
Thank you!
The text was updated successfully, but these errors were encountered: