I'm getting a build error related to a variable not being used: OpenGL in ui_material.erl:20
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.
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.
Quote:erlc -Werror -pa ../../ebin -pa ../../intl_tools -I ../../intl_tools -I ../../src -I ../../e3d +debug_info -o../../plugins/import_export wpc_thebounty.erlby 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:
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
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-Rayin wpc_thebounty.erl:446
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?
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.
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.