yvonneysf / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

r846 UTF convertion functionality fails compilation on Linux (possibly OS X to) #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by martijn....@gmail.com on 6 Sep 2011 at 7:50

GoogleCodeExporter commented 8 years ago
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)  

Original comment by Alexey.Z...@gmail.com on 8 Sep 2011 at 7:39

GoogleCodeExporter commented 8 years ago
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%20
Type%20Status%20Priority%20Owner%20Summary

Original comment by Alexey.Z...@gmail.com on 8 Sep 2011 at 9:25