Issue 171 in opencollada: r846 UTF convertion functionality fails compilation on Linux (possibly OS X to)

6 views
Skip to first unread message

openc...@googlecode.com

unread,
Sep 6, 2011, 3:51:07 AM9/6/11
to opencolla...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 171 by martijn....@gmail.com: r846 UTF convertion functionality
fails compilation on Linux (possibly OS X to)
http://code.google.com/p/opencollada/issues/detail?id=171

What steps will reproduce the problem?
1. checkout r846 on linux
2. try to compile
3. opencollada/common/libBuffer/src/CommonCharacterBuffer.cpp:18:24: fatal
error: ConvertUTF.h: No such file or directory
compilation terminated.

What is the expected output? What do you see instead?
UTF16 to UTF8 conversion headers not present on linux, also they are not
needed. not sure but compilation does not work with r846. I also think it
wont work on OS X or any non windows platform for that matter.

What version of the product are you using? On what operating system?
opencollada r846. On Ubuntu 11.10, gcc 4.6.1

Please provide any additional information below.


If possible, please provide a sample file that can be used to reproduce the
problem.

openc...@googlecode.com

unread,
Sep 8, 2011, 3:40:07 PM9/8/11
to opencolla...@googlegroups.com

Comment #1 on issue 171 by Alexey.Z...@gmail.com: r846 UTF convertion
functionality fails compilation on Linux (possibly OS X to)
http://code.google.com/p/opencollada/issues/detail?id=171

Hi. I just got similar problem.

here is what you can do

Solution: add include path to UTF cmake
- open ./Externals/UTF/CMakeLists.txt
- add ${libUTF_include_dirs} global variable to INCLUDE_DIRECTORIES
- open main CMakeLists.txt
- change the order of subproject compilation, UTF should be before
libBuffer. correct order: ADD_SUBDIRECTORY(${EXTERNAL_LIBRARIES}/UTF)
ADD_SUBDIRECTORY(${EXTERNAL_LIBRARIES}/MathMLSolver)
ADD_SUBDIRECTORY(common/libftoa)
ADD_SUBDIRECTORY(common/libBuffer)

openc...@googlecode.com

unread,
Sep 8, 2011, 5:33:16 PM9/8/11
to opencolla...@googlegroups.com

Comment #2 on issue 171 by Alexey.Z...@gmail.com: r846 UTF convertion
functionality fails compilation on Linux (possibly OS X to)
http://code.google.com/p/opencollada/issues/detail?id=171

hi. I spent some time fixing issues in linux. here what i got
http://code.google.com/p/opencollada/issues/detail?id=172&colspec=ID%20Defect%20Type%20Status%20Priority%20Owner%20Summary

Reply all
Reply to author
Forward
0 new messages