compiling fails with *** No rule to make target

13 views
Skip to first unread message

ifh...@gmail.com

unread,
Feb 22, 2023, 5:13:10 AM2/22/23
to hoomd-users
Hello I have compiled hoomd sucessfully several times already but with the latest version I get this error.

[ 71%] Built target test_all
make[2]: *** No rule to make target '/home/martin/hoomd_blue_single/hoomd-blue/hoomd/box.py', needed by 'hoomd/box.py'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:795: hoomd/CMakeFiles/copy_hoomd.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

What could be the problem?

Greetings Martin 

Joshua Anderson

unread,
Feb 22, 2023, 6:56:09 AM2/22/23
to hoomd...@googlegroups.com
Martin,

The problem could be that you are performing an in-source build. Use an out-of-source build to resolve it.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan

--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/7c5a3761-6a6d-4950-9c34-fcffd13c0667n%40googlegroups.com.

ifh...@gmail.com

unread,
Feb 23, 2023, 2:25:31 AM2/23/23
to hoomd-users
Yes that was the problem. I somehow mixed up the build directory. I deleted everything and did it again. This time truly out of source and it worked. Thank you :)
Reply all
Reply to author
Forward
0 new messages