Unsolved ld: can't open output file for writing '/FUEditor.ld_VdA3Tk', errno=13 for architecture x86_64 in Mac Qt
-
Hello:
I developed a project in Mac Qt which transplanted from windows qt ,I had fixed many errors,It seems will work,but when I build it,it shows error:ld: can't open output file for writing '/FUEditor.ld_VdA3Tk', errno=13 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/FUEditor] Error 1
11:05:38: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project FUEditor (kit: Desktop Qt 5.11.3 clang 64bit)
When executing step "Make"what cause that,and how fix it,thanks a lot!
-
Did you remove the *.pro.user file before penguin the project in mac ? Also just check whether DESTDIR in pro file points to some directory in windows platform.
-
@Princein said in ld: can't open output file for writing '/FUEditor.ld_VdA3Tk', errno=13 for architecture x86_64 in Mac Qt:
/FUEditor.ld_VdA3Tk
This looks like an absolute path and an attempt to write to the root directory. You should check the pro file or post it here maybe we can find the issue.
-
@dheerendra Thanks, I fix it through change "DESTDIR" value.
-
Cool. You can move the issue to SOLVED state. Enjoy Qt programming.