• 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
« Previous 1 2 3 4
YafaRay UV Cube XML Code

 
  • 1 Vote(s) - 5 Average
YafaRay UV Cube XML Code

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#6
03-26-2013, 06:36 PM (This post was last modified: 03-26-2013, 06:56 PM by micheus.)
oort, I would like to warn you about new settings for Makefile script added by dgud for the current master branch. The old warnings are not accepted anymore - they are converted to compile error.

So, for the future rebuilds, it's good idea avoid leave unused vars, functions and so on... Wink

Also, by trying compile your latest source I also got this [now a] compiler error:
Code:
f:/unixlike/src/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl:3443: ambiguous call of overridden auto-imported BIF max/2
- use erlang:max/2 or "-compile({no_auto_import,[max/2]})." to resolve name clash

it's related to these lines:
Code:
export_rgb(F, absorption, {-math:log(max(AbsR, ?NONZERO))/AbsD,
                       -math:log(max(AbsG, ?NONZERO))/AbsD,
                       -math:log(max(AbsB, ?NONZERO))/AbsD})
You will need to inform where that max come from - as you have you own max code in the plugin source, I think you should use what is suggested:
-compile({no_auto_import,[max/2]}).

I sent you an e-mail.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
YafaRay UV Cube XML Code - by oort - 01-22-2013, 07:40 AM
RE: YafaRay UV Cube XML Code - by Wegg - 03-19-2013, 03:08 PM
RE: YafaRay UV Cube XML Code - by ggaliens - 03-20-2013, 04:36 PM
RE: YafaRay UV Cube XML Code - by oort - 03-20-2013, 04:57 PM
RE: YafaRay UV Cube XML Code - by ggaliens - 03-22-2013, 07:40 PM
RE: YafaRay UV Cube XML Code - by micheus - 03-26-2013, 06:36 PM
RE: YafaRay UV Cube XML Code - by oort - 03-26-2013, 07:31 PM
RE: YafaRay UV Cube XML Code - by Wegg - 03-27-2013, 03:35 AM
RE: YafaRay UV Cube XML Code - by micheus - 03-27-2013, 06:38 PM
RE: YafaRay UV Cube XML Code - by Wegg - 03-27-2013, 10:00 PM
RE: YafaRay UV Cube XML Code - by oort - 03-28-2013, 12:59 AM
RE: YafaRay UV Cube XML Code - by micheus - 03-28-2013, 04:18 AM
RE: YafaRay UV Cube XML Code - by ggaliens - 03-28-2013, 05:09 PM
RE: YafaRay UV Cube XML Code - by mljuboja - 10-24-2013, 05:10 PM

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

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode