Lux 0.6 Final Release : compilation issue on Ubuntu

Discussion and help for Compilation problems and platform portability.

Moderator: coordinators

Lux 0.6 Final Release : compilation issue on Ubuntu

Postby cooby » Fri Dec 04, 2009 11:57 am

Good evening,

As I wanted to update with the LuxRender 0.6 Final Release, I couldn't compile it on Ubuntu 8.10.
Everything goes fine until linking executables ; here are the first lines of the make message :
Code: Select all
cd '/home/Documents/developpement/lux-mercurial/lux_2dec' && VERBOSE="1" LC_MESSAGES="C" LC_CTYPE="C" /usr/bin/make -k -j1
/usr/bin/cmake -H/home/Documents/developpement/lux-mercurial/lux_2dec -B/home/Documents/developpement/lux-mercurial/lux_2dec --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/Documents/developpement/lux-mercurial/lux_2dec/CMakeFiles /home/Documents/developpement/lux-mercurial/lux_2dec/CMakeFiles/progress.make
/usr/bin/make -f CMakeFiles/Makefile2 all
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
/usr/bin/make -f CMakeFiles/lux.dir/build.make CMakeFiles/lux.dir/depend
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
cd /home/Documents/developpement/lux-mercurial/lux_2dec && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec/CMakeFiles/lux.dir/DependInfo.cmake --color=
Leaving directory /home/Documents/developpement/lux-mercurial/lux_2dec
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
/usr/bin/make -f CMakeFiles/lux.dir/build.make CMakeFiles/lux.dir/build
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
make[2]: Nothing to be done for `CMakeFiles/lux.dir/build'.
Leaving directory /home/Documents/developpement/lux-mercurial/lux_2dec
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
/usr/bin/cmake -E cmake_progress_report /home/Documents/developpement/lux-mercurial/lux_2dec/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
built lux (lux)
/usr/bin/make -f CMakeFiles/luxcomp.dir/build.make CMakeFiles/luxcomp.dir/depend
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
cd /home/Documents/developpement/lux-mercurial/lux_2dec && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec /home/Documents/developpement/lux-mercurial/lux_2dec/CMakeFiles/luxcomp.dir/DependInfo.cmake --color=
Leaving directory /home/Documents/developpement/lux-mercurial/lux_2dec
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
/usr/bin/make -f CMakeFiles/luxcomp.dir/build.make CMakeFiles/luxcomp.dir/build
Entering directory /home/Documents/developpement/lux-mercurial/lux_2dec
linking CXX executable luxcomp (CXX executable luxcomp)
/usr/bin/cmake -E cmake_link_script CMakeFiles/luxcomp.dir/link.txt --verbose=1
linking luxcomp (c++)
liblux.a(luxparse.o):(.bss+0x4): multiple definition of `current_file'
liblux.a(luxparse.o):(.bss+0x4): first defined here
liblux.a(luxparse.o): In function `ArrayFree(ParamArray*)':
luxparse.cpp:(.text+0x60): multiple definition of `ArrayFree(ParamArray*)'
liblux.a(luxparse.o):luxparse.cpp:(.text+0x60): first defined here
liblux.a(luxparse.o): In function `ArrayDup(ParamArray*)':
luxparse.cpp:(.text+0x90): multiple definition of `ArrayDup(ParamArray*)'
liblux.a(luxparse.o):luxparse.cpp:(.text+0x90): first defined here
liblux.a(luxparse.o): In function `AddArrayElement(void*)':
luxparse.cpp:(.text+0xf0): multiple definition of `AddArrayElement(void*)'
liblux.a(luxparse.o):luxparse.cpp:(.text+0xf0): first defined here
liblux.a(luxparse.o):(.bss+0x20): multiple definition of `cur_array'
liblux.a(luxparse.o):(.bss+0x20): first defined here
liblux.a(luxparse.o): In function `FreeArgs()':
luxparse.cpp:(.text+0x160): multiple definition of `FreeArgs()'
liblux.a(luxparse.o):luxparse.cpp:(.text+0x160): first defined here
liblux.a(luxparse.o):(.bss+0xc): multiple definition of `cur_paramlist_size'
liblux.a(luxparse.o):(.bss+0xc): first defined here
liblux.a(luxparse.o):(.bss+0x10): multiple definition of `cur_paramlist_tokens'
liblux.a(luxparse.o):(.bss+0x10): first defined here
liblux.a(luxparse.o):(.bss+0x18): multiple definition of `cur_paramlist_sizes'
liblux.a(luxparse.o):(.bss+0x18): first defined here
liblux.a(luxparse.o):(.bss+0x14): multiple definition of `cur_paramlist_args'
liblux.a(luxparse.o):(.bss+0x14): first defined here
liblux.a(luxparse.o): In function `yyerror(char const*)':
luxparse.cpp:(.text+0x2d70): multiple definition of `yyerror(char const*)'
liblux.a(luxparse.o):luxparse.cpp:(.text+0x2d70): first defined here
liblux.a(luxparse.o):(.bss+0x0): multiple definition of `line_num'
liblux.a(luxparse.o):(.bss+0x0): first defined here
liblux.a(luxparse.o): In function `yyparse()':
luxparse.cpp:(.text+0x34d0): multiple definition of `yyparse()'
liblux.a(luxparse.o):luxparse.cpp:(.text+0x34d0): first defined here
liblux.a(luxparse.o):(.bss+0x440): multiple definition of `yynerrs'
liblux.a(luxparse.o):(.bss+0x440): first defined here
liblux.a(luxparse.o):(.bss+0x28): multiple definition of `yychar'
liblux.a(luxparse.o):(.bss+0x28): first defined here
liblux.a(luxparse.o):(.bss+0x1c): multiple definition of `cur_paramlist_texture_helper'
liblux.a(luxparse.o):(.bss+0x1c): first defined here
liblux.a(luxparse.o):(.bss+0x40): multiple definition of `yylval'
liblux.a(luxparse.o):(.bss+0x40): first defined here
liblux.a(luxparse.o):(.bss+0x8): multiple definition of `cur_paramlist_allocated'
liblux.a(luxparse.o):(.bss+0x8): first defined here
liblux.a(luxparse.o):(.bss+0x24): multiple definition of `array_is_single_string'
liblux.a(luxparse.o):(.bss+0x24): first defined here
liblux.a(luxlex.o): In function `add_string_char(char)':
luxlex.cpp:(.text+0x0): multiple definition of `add_string_char(char)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x0): first defined here
liblux.a(luxlex.o):(.bss+0x20): multiple definition of `str_pos'
liblux.a(luxlex.o):(.bss+0x20): first defined here
liblux.a(luxlex.o): In function `yy_flush_buffer(yy_buffer_state*)':
luxlex.cpp:(.text+0x60): multiple definition of `yy_flush_buffer(yy_buffer_state*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x60): first defined here
liblux.a(luxlex.o):(.bss+0x10): multiple definition of `yytext'
liblux.a(luxlex.o):(.bss+0x10): first defined here
liblux.a(luxlex.o):(.bss+0x4): multiple definition of `yyin'
liblux.a(luxlex.o):(.bss+0x4): first defined here
liblux.a(luxlex.o): In function `yyget_lineno()':
luxlex.cpp:(.text+0xe0): multiple definition of `yyget_lineno()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xe0): first defined here
liblux.a(luxlex.o):(.data+0x0): multiple definition of `yylineno'
liblux.a(luxlex.o):(.data+0x0): first defined here
liblux.a(luxlex.o): In function `yyget_in()':
luxlex.cpp:(.text+0xf0): multiple definition of `yyget_in()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xf0): first defined here
liblux.a(luxlex.o): In function `yyget_out()':
luxlex.cpp:(.text+0x100): multiple definition of `yyget_out()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x100): first defined here
liblux.a(luxlex.o):(.bss+0x8): multiple definition of `yyout'
liblux.a(luxlex.o):(.bss+0x8): first defined here
liblux.a(luxlex.o): In function `yyget_leng()':
luxlex.cpp:(.text+0x110): multiple definition of `yyget_leng()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x110): first defined here
liblux.a(luxlex.o):(.bss+0x0): multiple definition of `yyleng'
liblux.a(luxlex.o):(.bss+0x0): first defined here
liblux.a(luxlex.o): In function `yyget_text()':
luxlex.cpp:(.text+0x120): multiple definition of `yyget_text()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x120): first defined here
liblux.a(luxlex.o): In function `yyset_lineno(int)':
luxlex.cpp:(.text+0x130): multiple definition of `yyset_lineno(int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x130): first defined here
liblux.a(luxlex.o): In function `yyset_in(_IO_FILE*)':
luxlex.cpp:(.text+0x140): multiple definition of `yyset_in(_IO_FILE*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x140): first defined here
liblux.a(luxlex.o): In function `yyset_out(_IO_FILE*)':
luxlex.cpp:(.text+0x150): multiple definition of `yyset_out(_IO_FILE*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x150): first defined here
liblux.a(luxlex.o): In function `yyget_debug()':
luxlex.cpp:(.text+0x160): multiple definition of `yyget_debug()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x160): first defined here
liblux.a(luxlex.o):(.bss+0xc): multiple definition of `yy_flex_debug'
liblux.a(luxlex.o):(.bss+0xc): first defined here
liblux.a(luxlex.o): In function `yyset_debug(int)':
luxlex.cpp:(.text+0x170): multiple definition of `yyset_debug(int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x170): first defined here
liblux.a(luxlex.o):(.bss+0x14): multiple definition of `includeStack'
liblux.a(luxlex.o):(.bss+0x14): first defined here
liblux.a(luxlex.o): In function `yyfree(void*)':
luxlex.cpp:(.text+0x1f0): multiple definition of `yyfree(void*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x1f0): first defined here
liblux.a(luxlex.o): In function `yy_delete_buffer(yy_buffer_state*)':
luxlex.cpp:(.text+0x200): multiple definition of `yy_delete_buffer(yy_buffer_state*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x200): first defined here
liblux.a(luxlex.o): In function `yyrealloc(void*, unsigned int)':
luxlex.cpp:(.text+0x260): multiple definition of `yyrealloc(void*, unsigned int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x260): first defined here
liblux.a(luxlex.o): In function `yyalloc(unsigned int)':
luxlex.cpp:(.text+0x270): multiple definition of `yyalloc(unsigned int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x270): first defined here
liblux.a(luxlex.o): In function `yypush_buffer_state(yy_buffer_state*)':
luxlex.cpp:(.text+0x3c0): multiple definition of `yypush_buffer_state(yy_buffer_state*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x3c0): first defined here
liblux.a(luxlex.o): In function `yy_switch_to_buffer(yy_buffer_state*)':
luxlex.cpp:(.text+0x470): multiple definition of `yy_switch_to_buffer(yy_buffer_state*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x470): first defined here
liblux.a(luxlex.o): In function `yy_scan_buffer(char*, unsigned int)':
luxlex.cpp:(.text+0x510): multiple definition of `yy_scan_buffer(char*, unsigned int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x510): first defined here
liblux.a(luxlex.o): In function `yy_create_buffer(_IO_FILE*, int)':
luxlex.cpp:(.text+0x6e0): multiple definition of `yy_create_buffer(_IO_FILE*, int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x6e0): first defined here
liblux.a(luxlex.o): In function `yylex_destroy()':
luxlex.cpp:(.text+0x760): multiple definition of `yylex_destroy()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x760): first defined here
liblux.a(luxlex.o): In function `yypop_buffer_state()':
luxlex.cpp:(.text+0x840): multiple definition of `yypop_buffer_state()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x840): first defined here
liblux.a(luxlex.o): In function `yy_scan_bytes(char const*, int)':
luxlex.cpp:(.text+0x900): multiple definition of `yy_scan_bytes(char const*, int)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x900): first defined here
liblux.a(luxlex.o): In function `yy_scan_string(char const*)':
luxlex.cpp:(.text+0xdf0): multiple definition of `yy_scan_string(char const*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xdf0): first defined here
liblux.a(luxlex.o): In function `include_pop()':
luxlex.cpp:(.text+0xe20): multiple definition of `include_pop()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xe20): first defined here
liblux.a(luxlex.o): In function `yywrap':
luxlex.cpp:(.text+0xfa0): multiple definition of `yywrap'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xfa0): first defined here
liblux.a(luxlex.o): In function `yyrestart(_IO_FILE*)':
luxlex.cpp:(.text+0xfe0): multiple definition of `yyrestart(_IO_FILE*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0xfe0): first defined here
liblux.a(luxlex.o): In function `include_push(char*)':
luxlex.cpp:(.text+0x1100): multiple definition of `include_push(char*)'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x1100): first defined here
liblux.a(luxlex.o): In function `yylex()':
luxlex.cpp:(.text+0x1470): multiple definition of `yylex()'
liblux.a(luxlex.o):luxlex.cpp:(.text+0x1470): first defined here
liblux.a(api.o): In function `luxErrorFilter(int, int, char const*)':
api.cpp:(.text+0x0): multiple definition of `luxErrorFilter(int, int, char const*)'
liblux.a(api.o):api.cpp:(.text+0x0): first defined here
liblux.a(api.o):(.data+0x0): multiple definition of `luxLogFilter'
liblux.a(api.o):(.data+0x0): first defined here
liblux.a(api.o): In function `luxErrorHandler':
api.cpp:(.text+0x20): multiple definition of `luxErrorHandler'
liblux.a(api.o):api.cpp:(.text+0x20): first defined here
liblux.a(api.o): In function `luxErrorIgnore':
api.cpp:(.text+0x30): multiple definition of `luxErrorIgnore'
liblux.a(api.o):api.cpp:(.text+0x30): first defined here
liblux.a(api.o):(.bss+0x0): multiple definition of `luxLastError'
liblux.a(api.o):(.bss+0x0): first defined here
liblux.a(api.o): In function `luxSetEpsilon':
api.cpp:(.text+0x80): multiple definition of `luxSetEpsilon'
liblux.a(api.o):api.cpp:(.text+0x80): first defined here
liblux.a(api.o): In function `luxGetNetworkServerUpdateInterval':
api.cpp:(.text+0xb0): multiple definition of `luxGetNetworkServerUpdateInterval'
liblux.a(api.o):api.cpp:(.text+0xb0): first defined here
liblux.a(api.o): In function `luxSetNetworkServerUpdateInterval':
api.cpp:(.text+0xd0): multiple definition of `luxSetNetworkServerUpdateInterval'
liblux.a(api.o):api.cpp:(.text+0xd0): first defined here
liblux.a(api.o): In function `luxUpdateFilmFromNetwork':
api.cpp:(.text+0xf0): multiple definition of `luxUpdateFilmFromNetwork'
liblux.a(api.o):api.cpp:(.text+0xf0): first defined here
liblux.a(api.o): In function `luxDisableRandomMode':
api.cpp:(.text+0x110): multiple definition of `luxDisableRandomMode'
liblux.a(api.o):api.cpp:(.text+0x110): first defined here
liblux.a(api.o): In function `luxEnableDebugMode':
api.cpp:(.text+0x130): multiple definition of `luxEnableDebugMode'
liblux.a(api.o):api.cpp:(.text+0x130): first defined here
liblux.a(api.o): In function `luxStatistics':
api.cpp:(.text+0x150): multiple definition of `luxStatistics'
liblux.a(api.o):api.cpp:(.text+0x150): first defined here
liblux.a(api.o):(.data+0x4): multiple definition of `luxError'
liblux.a(api.o):(.data+0x4): first defined here
liblux.a(api.o): In function `luxGetDefaultStringParameterValue':
api.cpp:(.text+0x1f0): multiple definition of `luxGetDefaultStringParameterValue'
liblux.a(api.o):api.cpp:(.text+0x1f0): first defined here
liblux.a(api.o): In function `luxGetStringParameterValue':
api.cpp:(.text+0x280): multiple definition of `luxGetStringParameterValue'
liblux.a(api.o):api.cpp:(.text+0x280): first defined here
liblux.a(api.o): In function `luxSetStringParameterValue':
api.cpp:(.text+0x310): multiple definition of `luxSetStringParameterValue'
liblux.a(api.o):api.cpp:(.text+0x310): first defined here
liblux.a(api.o): In function `luxGetDefaultParameterValue':
api.cpp:(.text+0x380): multiple definition of `luxGetDefaultParameterValue'
liblux.a(api.o):api.cpp:(.text+0x380): first defined here
liblux.a(api.o): In function `luxGetParameterValue':
api.cpp:(.text+0x3b0): multiple definition of `luxGetParameterValue'
liblux.a(api.o):api.cpp:(.text+0x3b0): first defined here
liblux.a(api.o): In function `luxSetParameterValue':
api.cpp:(.text+0x3e0): multiple definition of `luxSetParameterValue'
liblux.a(api.o):api.cpp:(.text+0x3e0): first defined here
liblux.a(api.o): In function `luxGetHistogramImage':
api.cpp:(.text+0x420): multiple definition of `luxGetHistogramImage'
liblux.a(api.o):api.cpp:(.text+0x420): first defined here
liblux.a(api.o): In function `luxFramebuffer':
api.cpp:(.text+0x460): multiple definition of `luxFramebuffer'
liblux.a(api.o):api.cpp:(.text+0x460): first defined here
liblux.a(api.o): In function `luxUpdateFramebuffer':
api.cpp:(.text+0x480): multiple definition of `luxUpdateFramebuffer'
liblux.a(api.o):api.cpp:(.text+0x480): first defined here
liblux.a(api.o): In function `luxGetRenderingThreadsStatus':
api.cpp:(.text+0x4a0): multiple definition of `luxGetRenderingThreadsStatus'
liblux.a(api.o):api.cpp:(.text+0x4a0): first defined here
liblux.a(api.o): In function `luxRemoveThread':
api.cpp:(.text+0x4d0): multiple definition of `luxRemoveThread'
liblux.a(api.o):api.cpp:(.text+0x4d0): first defined here
liblux.a(api.o): In function `luxAddThread':
api.cpp:(.text+0x4f0): multiple definition of `luxAddThread'
liblux.a(api.o):api.cpp:(.text+0x4f0): first defined here
liblux.a(api.o): In function `luxSetHaltSamplePerPixel':
api.cpp:(.text+0x510): multiple definition of `luxSetHaltSamplePerPixel'
liblux.a(api.o):api.cpp:(.text+0x510): first defined here
liblux.a(api.o): In function `luxWait':
api.cpp:(.text+0x540): multiple definition of `luxWait'
liblux.a(api.o):api.cpp:(.text+0x540): first defined here
liblux.a(api.o): In function `luxExit':
api.cpp:(.text+0x560): multiple definition of `luxExit'
liblux.a(api.o):api.cpp:(.text+0x560): first defined here
liblux.a(api.o): In function `luxPause':
api.cpp:(.text+0x580): multiple definition of `luxPause'
liblux.a(api.o):api.cpp:(.text+0x580): first defined here
liblux.a(api.o): In function `luxStart':
api.cpp:(.text+0x5a0): multiple definition of `luxStart'
liblux.a(api.o):api.cpp:(.text+0x5a0): first defined here
liblux.a(api.o): In function `luxOverrideResumeFLM':
api.cpp:(.text+0x5c0): multiple definition of `luxOverrideResumeFLM'
liblux.a(api.o):api.cpp:(.text+0x5c0): first defined here
liblux.a(api.o): In function `luxSaveFLM':
api.cpp:(.text+0x620): multiple definition of `luxSaveFLM'
liblux.a(api.o):api.cpp:(.text+0x620): first defined here
liblux.a(api.o): In function `luxLoadFLM':
api.cpp:(.text+0x680): multiple definition of `luxLoadFLM'
liblux.a(api.o):api.cpp:(.text+0x680): first defined here
liblux.a(api.o): In function `luxWorldEnd':
api.cpp:(.text+0x6e0): multiple definition of `luxWorldEnd'
liblux.a(api.o):api.cpp:(.text+0x6e0): first defined here
liblux.a(api.o): In function `luxMotionInstance':
api.cpp:(.text+0x700): multiple definition of `luxMotionInstance'
liblux.a(api.o):api.cpp:(.text+0x700): first defined here
liblux.a(api.o): In function `luxObjectInstance':
api.cpp:(.text+0x7b0): multiple definition of `luxObjectInstance'
liblux.a(api.o):api.cpp:(.text+0x7b0): first defined here
liblux.a(api.o): In function `luxObjectEnd':
api.cpp:(.text+0x810): multiple definition of `luxObjectEnd'
liblux.a(api.o):api.cpp:(.text+0x810): first defined here
liblux.a(api.o): In function `luxObjectBegin':
api.cpp:(.text+0x830): multiple definition of `luxObjectBegin'
liblux.a(api.o):api.cpp:(.text+0x830): first defined here
liblux.a(api.o): In function `luxVolumeV':
api.cpp:(.text+0x890): multiple definition of `luxVolumeV'
liblux.a(api.o):api.cpp:(.text+0x890): first defined here
liblux.a(api.o): In function `luxReverseOrientation':
api.cpp:(.text+0x930): multiple definition of `luxReverseOrientation'
liblux.a(api.o):api.cpp:(.text+0x930): first defined here
liblux.a(api.o): In function `luxShapeV':
api.cpp:(.text+0x950): multiple definition of `luxShapeV'
liblux.a(api.o):api.cpp:(.text+0x950): first defined here
liblux.a(api.o): In function `luxPortalShapeV':
api.cpp:(.text+0x9f0): multiple definition of `luxPortalShapeV'
liblux.a(api.o):api.cpp:(.text+0x9f0): first defined here
liblux.a(api.o): In function `luxAreaLightSourceV':
api.cpp:(.text+0xa90): multiple definition of `luxAreaLightSourceV'
liblux.a(api.o):api.cpp:(.text+0xa90): first defined here
liblux.a(api.o): In function `luxLightSourceV':
api.cpp:(.text+0xb30): multiple definition of `luxLightSourceV'
liblux.a(api.o):api.cpp:(.text+0xb30): first defined here
liblux.a(api.o): In function `luxNamedMaterialV':
api.cpp:(.text+0xbd0): multiple definition of `luxNamedMaterialV'
liblux.a(api.o):api.cpp:(.text+0xbd0): first defined here
liblux.a(api.o): In function `luxMakeNamedMaterialV':
api.cpp:(.text+0xc70): multiple definition of `luxMakeNamedMaterialV'
liblux.a(api.o):api.cpp:(.text+0xc70): first defined here
liblux.a(api.o): In function `luxMaterialV':
api.cpp:(.text+0xd10): multiple definition of `luxMaterialV'
liblux.a(api.o):api.cpp:(.text+0xd10): first defined here
liblux.a(api.o): In function `luxTextureV':
api.cpp:(.text+0xdb0): multiple definition of `luxTextureV'
liblux.a(api.o):api.cpp:(.text+0xdb0): first defined here
liblux.a(api.o): In function `luxTransformEnd':
api.cpp:(.text+0xee0): multiple definition of `luxTransformEnd'
liblux.a(api.o):api.cpp:(.text+0xee0): first defined here
liblux.a(api.o): In function `luxTransformBegin':
api.cpp:(.text+0xf00): multiple definition of `luxTransformBegin'
liblux.a(api.o):api.cpp:(.text+0xf00): first defined here
liblux.a(api.o): In function `luxAttributeEnd':
api.cpp:(.text+0xf20): multiple definition of `luxAttributeEnd'
liblux.a(api.o):api.cpp:(.text+0xf20): first defined here
liblux.a(api.o): In function `luxAttributeBegin':
api.cpp:(.text+0xf40): multiple definition of `luxAttributeBegin'
liblux.a(api.o):api.cpp:(.text+0xf40): first defined here
liblux.a(api.o): In function `luxWorldBegin':
api.cpp:(.text+0xf60): multiple definition of `luxWorldBegin'
liblux.a(api.o):api.cpp:(.text+0xf60): first defined here
liblux.a(api.o): In function `luxCameraV':
api.cpp:(.text+0xf80): multiple definition of `luxCameraV'
liblux.a(api.o):api.cpp:(.text+0xf80): first defined here
liblux.a(api.o): In function `luxVolumeIntegratorV':
api.cpp:(.text+0x1020): multiple definition of `luxVolumeIntegratorV'
liblux.a(api.o):api.cpp:(.text+0x1020): first defined here
liblux.a(api.o): In function `luxSurfaceIntegratorV':
api.cpp:(.text+0x10c0): multiple definition of `luxSurfaceIntegratorV'
liblux.a(api.o):api.cpp:(.text+0x10c0): first defined here
liblux.a(api.o): In function `luxAcceleratorV':
api.cpp:(.text+0x1160): multiple definition of `luxAcceleratorV'
liblux.a(api.o):api.cpp:(.text+0x1160): first defined here
liblux.a(api.o): In function `luxSamplerV':
api.cpp:(.text+0x1200): multiple definition of `luxSamplerV'
liblux.a(api.o):api.cpp:(.text+0x1200): first defined here
liblux.a(api.o): In function `luxFilmV':
api.cpp:(.text+0x12a0): multiple definition of `luxFilmV'
liblux.a(api.o):api.cpp:(.text+0x12a0): first defined here
liblux.a(api.o): In function `luxPixelFilterV':
api.cpp:(.text+0x1340): multiple definition of `luxPixelFilterV'
liblux.a(api.o):api.cpp:(.text+0x1340): first defined here
liblux.a(api.o): In function `luxCoordSysTransform':
api.cpp:(.text+0x13e0): multiple definition of `luxCoordSysTransform'
liblux.a(api.o):api.cpp:(.text+0x13e0): first defined here
liblux.a(api.o): In function `luxCoordinateSystem':
api.cpp:(.text+0x1440): multiple definition of `luxCoordinateSystem'
liblux.a(api.o):api.cpp:(.text+0x1440): first defined here
liblux.a(api.o): In function `luxLookAt':
api.cpp:(.text+0x14a0): multiple definition of `luxLookAt'
liblux.a(api.o):api.cpp:(.text+0x14a0): first defined here
liblux.a(api.o): In function `luxScale':
api.cpp:(.text+0x1500): multiple definition of `luxScale'
liblux.a(api.o):api.cpp:(.text+0x1500): first defined here
liblux.a(api.o): In function `luxRotate':
api.cpp:(.text+0x1530): multiple definition of `luxRotate'
liblux.a(api.o):api.cpp:(.text+0x1530): first defined here
liblux.a(api.o): In function `luxConcatTransform':
api.cpp:(.text+0x1570): multiple definition of `luxConcatTransform'
liblux.a(api.o):api.cpp:(.text+0x1570): first defined here
liblux.a(api.o): In function `luxTransform':
api.cpp:(.text+0x1590): multiple definition of `luxTransform'
liblux.a(api.o):api.cpp:(.text+0x1590): first defined here
liblux.a(api.o): In function `luxTranslate':
api.cpp:(.text+0x15b0): multiple definition of `luxTranslate'
liblux.a(api.o):api.cpp:(.text+0x15b0): first defined here
liblux.a(api.o): In function `luxIdentity':
api.cpp:(.text+0x15e0): multiple definition of `luxIdentity'
liblux.a(api.o):api.cpp:(.text+0x15e0): first defined here
liblux.a(api.o): In function `luxCleanup':
api.cpp:(.text+0x1600): multiple definition of `luxCleanup'
liblux.a(api.o):api.cpp:(.text+0x1600): first defined here
liblux.a(api.o): In function `luxGetRenderingServersStatus':
api.cpp:(.text+0x1640): multiple definition of `luxGetRenderingServersStatus'
liblux.a(api.o):api.cpp:(.text+0x1640): first defined here
liblux.a(api.o): In function `luxGetServerCount':
api.cpp:(.text+0x1670): multiple definition of `luxGetServerCount'
liblux.a(api.o):api.cpp:(.text+0x1670): first defined here
liblux.a(api.o): In function `luxRemoveServer':
api.cpp:(.text+0x1690): multiple definition of `luxRemoveServer'
liblux.a(api.o):api.cpp:(.text+0x1690): first defined here
liblux.a(api.o): In function `luxAddServer':
api.cpp:(.text+0x16f0): multiple definition of `luxAddServer'
liblux.a(api.o):api.cpp:(.text+0x16f0): first defined here
liblux.a(api.o): In function `luxVolumeIntegrator':
api.cpp:(.text+0x1750): multiple definition of `luxVolumeIntegrator'
liblux.a(api.o):api.cpp:(.text+0x1750): first defined here
liblux.a(api.o): In function `luxInit':
api.cpp:(.text+0x18b0): multiple definition of `luxInit'
liblux.a(api.o):api.cpp:(.text+0x18b0): first defined here
liblux.a(api.o): In function `luxErrorPrint':
api.cpp:(.text+0x1970): multiple definition of `luxErrorPrint'
liblux.a(api.o):api.cpp:(.text+0x1970): first defined here
liblux.a(api.o): In function `luxErrorPrintFilter':
api.cpp:(.text+0x26c0): multiple definition of `luxErrorPrintFilter'
liblux.a(api.o):api.cpp:(.text+0x26c0): first defined here
liblux.a(api.o): In function `luxErrorAbort':
api.cpp:(.text+0x26e0): multiple definition of `luxErrorAbort'
liblux.a(api.o):api.cpp:(.text+0x26e0): first defined here
liblux.a(api.o): In function `luxVolume':
api.cpp:(.text+0x2720): multiple definition of `luxVolume'
liblux.a(api.o):api.cpp:(.text+0x2720): first defined here
liblux.a(api.o): In function `luxShape':
api.cpp:(.text+0x2880): multiple definition of `luxShape'
liblux.a(api.o):api.cpp:(.text+0x2880): first defined here
liblux.a(api.o): In function `luxPortalShape':
api.cpp:(.text+0x29e0): multiple definition of `luxPortalShape'
liblux.a(api.o):api.cpp:(.text+0x29e0): first defined here
liblux.a(api.o): In function `luxSurfaceIntegrator':
api.cpp:(.text+0x2b40): multiple definition of `luxSurfaceIntegrator'
liblux.a(api.o):api.cpp:(.text+0x2b40): first defined here
liblux.a(api.o): In function `luxAccelerator':
api.cpp:(.text+0x2ca0): multiple definition of `luxAccelerator'
liblux.a(api.o):api.cpp:(.text+0x2ca0): first defined here
liblux.a(api.o): In function `luxSampler':
api.cpp:(.text+0x2e00): multiple definition of `luxSampler'
liblux.a(api.o):api.cpp:(.text+0x2e00): first defined here
liblux.a(api.o): In function `luxFilm':
api.cpp:(.text+0x2f60): multiple definition of `luxFilm'
liblux.a(api.o):api.cpp:(.text+0x2f60): first defined here
liblux.a(api.o): In function `luxPixelFilter':
api.cpp:(.text+0x30c0): multiple definition of `luxPixelFilter'
liblux.a(api.o):api.cpp:(.text+0x30c0): first defined here
liblux.a(api.o): In function `luxAreaLightSource':
api.cpp:(.text+0x3220): multiple definition of `luxAreaLightSource'
liblux.a(api.o):api.cpp:(.text+0x3220): first defined here
liblux.a(api.o): In function `luxLightSource':
api.cpp:(.text+0x3390): multiple definition of `luxLightSource'
liblux.a(api.o):api.cpp:(.text+0x3390): first defined here
liblux.a(api.o): In function `luxNamedMaterial':
api.cpp:(.text+0x34f0): multiple definition of `luxNamedMaterial'
liblux.a(api.o):api.cpp:(.text+0x34f0): first defined here
liblux.a(api.o): In function `luxMakeNamedMaterial':
api.cpp:(.text+0x3650): multiple definition of `luxMakeNamedMaterial'
liblux.a(api.o):api.cpp:(.text+0x3650): first defined here
liblux.a(api.o): In function `luxMaterial':
api.cpp:(.text+0x37b0): multiple definition of `luxMaterial'
liblux.a(api.o):api.cpp:(.text+0x37b0): first defined here
liblux.a(api.o): In function `luxTexture':
api.cpp:(.text+0x3910): multiple definition of `luxTexture'
liblux.a(api.o):api.cpp:(.text+0x3910): first defined here
liblux.a(api.o): In function `luxCamera':
api.cpp:(.text+0x3a80): multiple definition of `luxCamera'
liblux.a(api.o):api.cpp:(.text+0x3a80): first defined here
liblux.a(camera.o): In function `lux::Camera::IsDelta() const':
camera.cpp:(.text+0x0): multiple definition of `lux::Camera::IsDelta() const'
liblux.a(camera.o):camera.cpp:(.text+0x0): first defined here
liblux.a(camera.o): In function `lux::Camera::GetTime(float) const':
camera.cpp:(.text+0x60): multiple definition of `lux::Camera::GetTime(float) const'
liblux.a(camera.o):camera.cpp:(.text+0x60): first defined here
liblux.a(camera.o): In function `lux::ProjectiveCamera::GenerateSample(lux::Point const&, lux::Sample*) const':
camera.cpp:(.text+0x1c0): multiple definition of `lux::ProjectiveCamera::GenerateSample(lux::Point const&, lux::Sample*) const'
liblux.a(camera.o):camera.cpp:(.text+0x1c0): first defined here
liblux.a(camera.o): In function `lux::Camera::SampleMotion(float)':
camera.cpp:(.text+0x300): multiple definition of `lux::Camera::SampleMotion(float)'
liblux.a(camera.o):camera.cpp:(.text+0x300): first defined here
liblux.a(camera.o): In function `lux::ProjectiveCamera::SampleMotion(float)':
camera.cpp:(.text+0x5f0): multiple definition of `lux::ProjectiveCamera::SampleMotion(float)'
liblux.a(camera.o):camera.cpp:(.text+0x5f0): first defined here
liblux.a(camera.o): In function `lux::Camera::Camera(lux::Transform const&, lux::Transform const&, float, float, float, float, int, lux::Film*)':
camera.cpp:(.text+0xa10): multiple definition of `lux::Camera::Camera(lux::Transform const&, lux::Transform const&, float, float, float, float, int, lux::Film*)'
liblux.a(camera.o):camera.cpp:(.text+0xa10): first defined here
liblux.a(camera.o): In function `lux::Camera::Camera(lux::Transform const&, lux::Transform const&, float, float, float, float, int, lux::Film*)':
camera.cpp:(.text+0xfe0): multiple definition of `lux::Camera::Camera(lux::Transform const&, lux::Transform const&, float, float, float, float, int, lux::Film*)'
liblux.a(camera.o):camera.cpp:(.text+0xfe0): first defined here
liblux.a(camera.o): In function `lux::Camera::~Camera()':
camera.cpp:(.text+0x15b0): multiple definition of `lux::Camera::~Camera()'
liblux.a(camera.o):camera.cpp:(.text+0x15b0): first defined here
liblux.a(camera.o): In function `lux::ProjectiveCamera::ProjectiveCamera(lux::Transform const&, lux::Transform const&, lux::Transform const&, float const*, float, float, float, float, int, float, float, lux::Film*)':
camera.cpp:(.text+0x1900): multiple definition of `lux::ProjectiveCamera::ProjectiveCamera(lux::Transform const&, lux::Transform const&, lux::Transform const&, float const*, float, float, float, float, int, float, float, lux::Film*)'
liblux.a(camera.o):camera.cpp:(.text+0x1900): first defined here
liblux.a(camera.o): In function `lux::ProjectiveCamera::ProjectiveCamera(lux::Transform const&, lux::Transform const&, lux::Transform const&, float const*, float, float, float, float, int, float, float, lux::Film*)':
camera.cpp:(.text+0x2bc0): multiple definition of `lux::ProjectiveCamera::ProjectiveCamera(lux::Transform const&, lux::Transform const&, lux::Transform const&, float const*, float, float, float, float, int, float, float, lux::Film*)'
liblux.a(camera.o):camera.cpp:(.text+0x2bc0): first defined here
liblux.a(camera.o): In function `lux::Camera::~Camera()':
camera.cpp:(.text+0x3e80): multiple definition of `lux::Camera::~Camera()'
liblux.a(camera.o):camera.cpp:(.text+0x3e80): first defined here
liblux.a(camera.o): In function `lux::Camera::~Camera()':
camera.cpp:(.text+0x41d0): multiple definition of `lux::Camera::~Camera()'
liblux.a(camera.o):camera.cpp:(.text+0x41d0): first defined here
liblux.a(color.o): In function `lux::XYZColor::XYZColor(lux::TsPack const*, lux::SWCSpectrum const&)':
color.cpp:(.text+0x0): multiple definition of `lux::XYZColor::XYZColor(lux::TsPack const*, lux::SWCSpectrum const&)'
liblux.a(color.o):color.cpp:(.text+0x0): first defined here
liblux.a(color.o): In function `lux::XYZColor::XYZColor(lux::TsPack const*, lux::SWCSpectrum const&)':
color.cpp:(.text+0x130): multiple definition of `lux::XYZColor::XYZColor(lux::TsPack const*, lux::SWCSpectrum const&)'
liblux.a(color.o):color.cpp:(.text+0x130): first defined here
liblux.a(color.o): In function `lux::ColorSystem::Constrain(float, lux::RGBColor&) const':
color.cpp:(.text+0x260): multiple definition of `lux::ColorSystem::Constrain(float, lux::RGBColor&) const'
liblux.a(color.o):color.cpp:(.text+0x260): first defined here
liblux.a(color.o): In function `lux::ColorSystem::Limit(lux::RGBColor const&, int) const':
color.cpp:(.text+0x400): multiple definition of `lux::ColorSystem::Limit(lux::RGBColor const&, int) const'
liblux.a(color.o):color.cpp:(.text+0x400): first defined here
liblux.a(color.o): In function `lux::XYZColor::XYZColor(lux::SPD const&)':
color.cpp:(.text+0x640): multiple definition of `lux::XYZColor::XYZColor(lux::SPD const&)'
liblux.a(color.o):color.cpp:(.text+0x640): first defined here
liblux.a(color.o): In function `lux::XYZColor::XYZColor(lux::SPD const&)':
color.cpp:(.text+0xb60): multiple definition of `lux::XYZColor::XYZColor(lux::SPD const&)'
liblux.a(color.o):color.cpp:(.text+0xb60): first defined here
liblux.a(color.o): In function `lux::ColorSystem::ColorSystem(float, float, float, float, float, float, float, float, float)':
color.cpp:(.text+0x1080): multiple definition of `lux::ColorSystem::ColorSystem(float, float, float, float, float, float, float, float, float)'
liblux.a(color.o):color.cpp:(.text+0x1080): first defined here
liblux.a(color.o): In function `lux::ColorSystem::ColorSystem(float, float, float, float, float, float, float, float, float)':
color.cpp:(.text+0x1be0): multiple definition of `lux::ColorSystem::ColorSystem(float, float, float, float, float, float, float, float, float)'
liblux.a(color.o):color.cpp:(.text+0x1be0): first defined here
liblux.a(context.o): In function `lux::Context::getServerCount()':
context.cpp:(.text+0x0): multiple definition of `lux::Context::getServerCount()'
liblux.a(context.o):context.cpp:(.text+0x0): first defined here
liblux.a(context.o): In function `lux::Context::setHaltSamplePerPixel(int, bool, bool)':
context.cpp:(.text+0x20): multiple definition of `lux::Context::setHaltSamplePerPixel(int, bool, bool)'
liblux.a(context.o):context.cpp:(.text+0x20): first defined here
liblux.a(context.o): In function `lux::Context::sceneReady()':
context.cpp:(.text+0x50): multiple definition of `lux::Context::sceneReady()'
liblux.a(context.o):context.cpp:(.text+0x50): first defined here
liblux.a(context.o): In function `lux::Context::transmitFilm(std::basic_ostream<char, std::char_traits<char> >&)':



and on and on for hundreds of lines.
I had noticed a perhaps related warning in CMake, while generating :
Code: Select all
Warning: Source file "/home/fcoubard/Documents/developpement/lux-mercurial/lux_2dec/tools/luxcomp.cpp" is listed multiple times for target "luxcomp".
Generating done

Any clue what might the problem be?
I used to compile older versions without that mess :? .

Thanks for your help
cooby
 
Posts: 13
Joined: Tue May 19, 2009 3:33 am
Location: Paris

Re: Lux 0.6 Final Release : compilation issue on Ubuntu

Postby SATtva » Fri Dec 04, 2009 12:18 pm

Are you sure you downloaded the proper snapshot? Luxcomp isn't part of 0.6-final, it's in 0.7 development branch.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 6111
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Lux 0.6 Final Release : compilation issue on Ubuntu

Postby cooby » Mon Dec 07, 2009 3:50 am

Well, I pulled it with mercurial on last Wednesday ; the CMakeLists says "Set ( version 0.6 )", and I am in the default branch.
Anyway, I re-made the installation, cloning the mercurial repository, and the problem seems to be solved, except for the Qt executable :
Code: Select all
fcoubard@fcoubard-laptop:~/Documents/lux$ make
[ 82%] Built target lux
[ 82%] Built target luxcomp
[ 83%] Built target luxconsole
[ 83%] Built target luxmerger
[ 85%] Built target luxrender
[ 85%] Building CXX object CMakeFiles/luxrenderqt.dir/qtgui/lightgroupwidget.o
/home/fcoubard/Documents/lux/qtgui/lightgroupwidget.cpp: In member function ‘void LightGroupWidget::colorPicker()’:
/home/fcoubard/Documents/lux/qtgui/lightgroupwidget.cpp:151: erreur: no matching function for call to ‘QColorDialog::getColor(QColor, LightGroupWidget* const, const char [13])’
/usr/include/qt4/QtGui/qcolordialog.h:59: note: candidats sont: static QColor QColorDialog::getColor(const QColor&, QWidget*)
make[2]: *** [CMakeFiles/luxrenderqt.dir/qtgui/lightgroupwidget.o] Erreur 1
make[1]: *** [CMakeFiles/luxrenderqt.dir/all] Erreur 2
make: *** [all] Erreur 2

Is there a missing Qt package or something?
cooby
 
Posts: 13
Joined: Tue May 19, 2009 3:33 am
Location: Paris

Re: Lux 0.6 Final Release : compilation issue on Ubuntu

Postby cooby » Mon Dec 07, 2009 4:41 am

Sorry for the previous post, I hadn't read carefully the error message! :)
As the getColor() method has default parameters, I used them at /qtgui/lightgroupwidget.cpp:151, and the Qt executable seems to work.

Thanks anyway, bye.
cooby
 
Posts: 13
Joined: Tue May 19, 2009 3:33 am
Location: Paris

Re: Lux 0.6 Final Release : compilation issue on Ubuntu

Postby tomb » Mon Dec 07, 2009 4:43 am

No, just a too old version of Qt - it needs to be compiled against qt 4.5.x. Comment out the target in cmakelists.txt if you don't wan't to build the qt gui.

T
User avatar
tomb
Developer
 
Posts: 2405
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway


Return to Compilation & Portability

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests