Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
TheBounty Renderer (rewrite for wxWidgets)
10-28-2016, 02:11 PM (This post was last modified: 10-28-2016 02:13 PM by micheus.)
Post: #184
RE: TheBounty Renderer (rewrite for wxWidgets)
I'm getting a build error related to a variable not being used: OpenGL in ui_material.erl:20
Quote:erlc -Werror -pa ../../ebin -pa ../../intl_tools -I ../../intl_tools -I ../../src -I ../../e3d +debug_info -o../../plugins/import_export wpc_thebounty.erl
compile: warnings being treated as errors
f:/unixlike/src/wings/plugins_src/import_export/thebounty/ui_material.erl:20: variable 'OpenGL' is unused
Makefile:81: recipe for target '../../plugins/import_export/wpc_thebounty.beam' failed
make[4]: *** [../../plugins/import_export/wpc_thebounty.beam] Error 1
by commenting that line I could build the plugin and then I got a runt-time error related to the advise I did in post #163:
Quote:> f:/PROGRA~1/THEBOU~1/THEBOU~2.EXE -pp F:\Program Files\thebounty/plugins -f png wpc_thebounty-3860-6FERFO.xml c:/TEMP/wx-POV-Ray
INFO: TheBounty 0.1.6
INFO: The plugin path is: F:\Program
INFO: Environment: Loading plugins ...
ERROR: Environment: There is no image handlers registered
ERROR: Couldn't find any valid image format, image handlers missing?
in wpc_thebounty.erl:446
PluginsPath = "-pp "++format(Renderer)++"/plugins",
must be replaced by
PluginsPath = "-pp "++wings_job:quote(format(Renderer)++"/plugins"),

That is strange you didn't get that build error, since warnings are set to raise a error during the build process. Rolleyes

I think that it's convenient you add (to readme.txt) an observation about the need for run make clean every time we need to rebuild the plugin since any change made to a file into TheBounty subfolder will not be processed. That only happens if we change something in wpc_thebounty.erl. (that is very annoying)

Also, I believe you must include you into the AUTHORS.txt file. Wink

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Thread Closed 


Messages In This Thread
RE: TheBounty Renderer (rewrite for wxWidgets) - micheus - 10-28-2016 02:11 PM
RE: TheBounty Renderer - micheus - 07-14-2020, 06:02 PM

Forum Jump:


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