Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why my extra compiler don't appear
Forum Updated to NodeBB v4.3 + New Features

Why my extra compiler don't appear

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 311 Views
  • 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.
  • X Offline
    X Offline
    Xav12358
    wrote on last edited by Xav12358
    #1

    Hello,

    I need to add an extra compiler to my project to process on cuda:

         ```
    cudaLINK.input    = ./Blending_cuda.o
         cudaLINK.output   = uu.obj
         cudaLINK.commands = $$CUDA_DIR/bin/nvcc.exe -dc $$NVCC_OPTIONS $$CUDA_INC $$LIBS \
                        --machine $$SYSTEM_TYPE -arch=$$CUDA_ARCH \
                        --compile -cudart static -DWIN32 -D_MBCS \
                        -Xcompiler "/wd4819,/EHsc,/W3,/nologo,/O2,/Zi" \
                        -Xcompiler $$MSVCRT_LINK_FLAG_RELEASE \
                        -o Blending_cuda.o CCL_cuda.o $$CUDA_OBJECTS_DIR/$${TARGET}.obj
         cudaLINK.dependency_type = TYPE_C
         QMAKE_EXTRA_COMPILERS += cudaLINK
    ``
    But on my makefile.release there is no command in my cudaLink compiler:
    
    compiler_cudaLINK_make_all:
    compiler_cudaLINK_clean:
    	-$(DEL_FILE) uu.obj
    

    Can someone explain me how it is possible?

    Edit: This problem appear on windows but on Linux the compiler line exist.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved