yangqiaosheng / libcitygml

Automatically exported from code.google.com/p/libcitygml
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Build failing with error 2 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the svn snapshot
2. change the CMakeLists.txt so libxml2 is used
3. do: cmake CMakeLists.txt

What is the expected output? What do you see instead?
The expected output would be that of a successfull build. I got the following:
patrick@linux-dev:~/projects/libcitygml-read-only$ make
[ 14%] Building CXX object src/CMakeFiles/citygml.dir/citymodel.o               

In file included from 
/home/patrick/projects/libcitygml-read-only/src/citymodel.cpp:21:               

/home/patrick/projects/libcitygml-read-only/src/../include/citygml.h:374: 
warning: ‘typedef’ was ignored in this declaration                          

/home/patrick/projects/libcitygml-read-only/src/citymodel.cpp: In member 
function ‘void citygml::Polygon::tesselate(const TVec3d&)’:                 

/home/patrick/projects/libcitygml-read-only/src/citymodel.cpp:219: error: 
‘memcpy’ was not declared in this scope                                     

make[2]: *** [src/CMakeFiles/citygml.dir/citymodel.o] Error 1                   

make[1]: *** [src/CMakeFiles/citygml.dir/all] Error 2                           

make: *** [all] Error 2  

What version of the product are you using? On what operating system?
The OS is: 
Linux linux-dev 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 2010 
i686 GNU/Linux 

Please provide any additional information below.
I also filed the previous error. The status seems to have improved, but I still 
get these errors.

Original issue reported on code.google.com by hanckmann@gmail.com on 7 Sep 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Add include <string.h> to fix the memcpy error.

Original comment by jpouder...@gmail.com on 7 Sep 2010 at 4:14