Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed]can't find the cl.exe
01-03-2020, 08:25 AM (This post was last modified: 01-03-2020 01:48 PM by nigec.)
Post: #1
[fixed]can't find the cl.exe
I manage to make W3D last night on Windows 10 however on the "rebar compile" command it fails to find cl.exe.
The path for cl.exe is set for vs2017 but I'm guessing something is wrong for my msys64 setup?

the header files for OpenCL and the lib are there from the nvidia sdk
C:\wingsdev\msys64\usr\include\opencl.h (and the other files in the sdk folder)
C:\wingsdev\msys64\usr\lib\OpenCL.lib

I don't "need" it working but I guess it would be nice if it did lol

I'm currently looking at my Thea script but I'm considering porting it for Luxcore.. which is probably the best free option these days
if Wings had a ply exporter that would be really easy!!

edit..
after some messing about I now get:
Code:
$ rebar compile
==> cl (compile)
make: Entering directory '/c/wingsdev/src/cl/c_src'
make nif TYPE=release
make[1]: Entering directory '/c/wingsdev/src/cl/c_src'
gcc -c -ocl_nif.o -Wall -Wextra -Wswitch-default -Wswitch-enum -D_THREAD_SAFE -D_REENTRANT -fno-common -Wno-deprecated-declarations -Wno-missing-field-initializers -I"c:/Program Files/erl10.5/usr/include" cl_nif.c
/bin/sh: gcc: command not found
make[1]: *** [Makefile:188: cl_nif.o] Error 127
make[1]: Leaving directory '/c/wingsdev/src/cl/c_src'
make: *** [Makefile:167: all] Error 2
make: Leaving directory '/c/wingsdev/src/cl/c_src'
ERROR: Command [compile] failed!


edit2:
you can get the include and lib files here:
https://github.com/GPUOpen-LibrariesAndS...K/releases
Reply


Messages In This Thread
[fixed]can't find the cl.exe - nigec - 01-03-2020 08:25 AM
RE: can't find the cl.exe - micheus - 01-03-2020, 12:18 PM
RE: can't find the cl.exe - nigec - 01-03-2020, 12:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)