Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    编译库文件出现无法创建目录可能是哪里出错了

    OpenFOAM
    2
    2
    784
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 郑
      郑澄远 last edited by 李东岳

      wmakeLnInclude: linking include files to ./lnInclude
      mkdir: 无法创建目录"": 没有那个文件或目录
      /opt/openfoam6/wmake/makefiles/general:167: recipe for target '/libfiniteVolume.so' failed
      make: *** [/libfiniteVolume.so] Error 1
      
      1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 last edited by

        你在/opt/下面编译,应该没有权限。这面需要sudo,建议把你的东西拷贝到别的地方,修改Make文件夹中files:

        LIB = $(FOAM_LIBBIN)/libxxx

        LIB = $(FOAM_USER_LIBBIN)/libxxx
        

        线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        1 Reply Last reply Reply Quote
        • First post
          Last post

        CFD中文网 | 东岳流体 | 京ICP备15017992号-2
        论坛登录问题反馈可联系 li.dy@dyfluid.com