• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
1 2 3 4 Next »
[fixed]can't find the cl.exe

 
  • 0 Vote(s) - 0 Average
[fixed]can't find the cl.exe

nigec
Offline

Member

Posts: 126
Threads: 24
Joined: Jun 2016
#1
01-03-2020, 08:25 AM (This post was last modified: 01-03-2020, 01:48 PM by nigec.)
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
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#2
01-03-2020, 12:18 PM (This post was last modified: 01-03-2020, 12:22 PM by micheus.)
Hi. I'm away from my PC to help with that since my dev environment was built over MySys too.

The instructions to build wings3d here in the forum are a little old. But, you may have noticed in the source repository there are two files starting with BUILD. - one for Windows and other for Linux / OSX. They have instructions about how to build wings3d for each environment.

Something I remember is that for Windows you may not to need to build the club module. If it's not present the script to build wings3d will download a pre-built version of it.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
nigec
Offline

Member

Posts: 126
Threads: 24
Joined: Jun 2016
#3
01-03-2020, 12:34 PM (This post was last modified: 01-03-2020, 01:48 PM by nigec.)
That seems even more confusing :/

I tied rebar3 and the cl repo mentioned in the build file and I get the same.. I'll try using the source from the site


edit:
Fixed it, the path was wrong in C:\wingsdev\msys64\usr\lib for the folder x64.. by default x86_64.. I created the x64 folder and it works now

Code:
退Erlang/OTP 22 [erts-10.5] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1]

Eshell V10.5  (abort with ^G)
1> wings-2.2.5
Reading preferences from: c:/Users/nige/AppData/Roaming/Wings3D/Preferences.txt
Using OpenCL via gpu:Name NVIDIA CUDA:VSN: OpenCL 1.2 CUDA 8.0.0

edit:
All working and I can build the win package
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode