Opened 7 years ago

Closed 7 years ago

#55101 closed defect (fixed)

vxl @1.17.0: no matching function for call to 'jpeg_start_compress'

Reported by: szhorvat (Szabolcs Horvát) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: vxl

Description

The vxl port fails to build with "command execution failed", but I was unable to fish out the relevant error message from the log file.

vxl is a dependency of InsightToolkit-devel

I am on macOS 10.12.6 / XCode 9.0.

Attachments (1)

main.log (1.5 MB) - added by szhorvat (Szabolcs Horvát) 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by szhorvat (Szabolcs Horvát)

Attachment: main.log added

comment:1 Changed 7 years ago by raimue (Rainer Müller)

Relevant compiler error seems to be:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.17.0/core/vil/file_formats/vil_jpeg_compressor.cxx:75:5: error: no matching function for call to 'jpeg_start_compress'
:info:build     jpeg_start_compress (&jobj, write_all_tables);
:info:build     ^~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/jpeglib.h:1010:14: note: candidate function not viable: no known conversion from 'bool' to 'jpeg_boolean' for 2nd argument
:info:build EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
:info:build              ^
:info:build 1 error generated.
:info:build make[2]: *** [core/vil/CMakeFiles/vil.dir/file_formats/vil_jpeg_compressor.o] Error 1

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, this'll probably be because of the changed boolean behavior of jpeg 9, which we had patched out for awhile, but removed our patch when we updated to jpeg 9b, because the developer of jpeg said jpeg is correct. vxl will need to be patched. See #51013.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted
Summary: vxl fails to buildvxl @1.17.0: no matching function for call to 'jpeg_start_compress'

Fortunately, in this case, the fix is very simple.

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.