Compilar Programa Chino

Temas sobre programación ( php, c, sql, html, perl, python, ruby, java, bash, etc ) y recursos ( herramientas, frameworks, hosting, cms, etc )

Moderadores: akodo, maiku

Responder
adbaco
Forista Nuevo
Forista Nuevo
Mensajes: 11
Registrado: Mar Mar 23, 2010 9:13 pm

Compilar Programa Chino

Mensaje por adbaco » Mar Mar 23, 2010 9:31 pm

Me rindo,

tengo los sources de un programa que un estudiante chino creó en 2005:

makefile.dat
remesh.cxx
remesh.h

el problema está en que el makefile apunta a unas librerias que no soy capaz de compilar... De hecho ni yo ni mi amigo pablo "el informatico" ya ves tu...

En fin, en este punto de desesperación absoluta recorro al destino, he colgado los archivos en box, si alguien es capaz de compilar el programa este o puede ayudarme a hacerlo que por favor contacte conmigo: adbaco [at] gmail.com

os dejo el link de los archivos:
http://www.box.net/shared/1m56e4lm5q

muchas gracias!!
Adbaco
Avatar de Usuario
hipersayan_x
Forista Legendario
Forista Legendario
Mensajes: 1905
Registrado: Vie Abr 27, 2007 7:00 am
Contactar:

Re: Compilar Programa Chino

Mensaje por hipersayan_x » Mar Mar 23, 2010 11:52 pm

Si el programa es del 2005 y no a tenido una actualizacion desde entonces, es muy problable que alguna instruccion de compilacion o configuracion ya no exista o haya sido cambiada en versiones mas nuevas de gcc(si es gcc lo que usa como compilador), entonces tendrias que modificar el makefile para adaptarlo a la nueva version.
Tambien tendrias que revizar que el codigo fuente tambien siga siendo valido.
Estamos hablando de un retrazo de 5 años, y eso es un gran retrazo en tiempo de software.
Desarrollo en Qt: Qt Developer Network
Mis proyectos: github | SourceForge.net
adbaco
Forista Nuevo
Forista Nuevo
Mensajes: 11
Registrado: Mar Mar 23, 2010 9:13 pm

Re: Compilar Programa Chino

Mensaje por adbaco » Mié Mar 24, 2010 1:34 am

Hola hipersayan,

no sé lo suficiente de programación como para encontrar este tipo de errores...
Si busco versiones antiguas de las librerias y compilo con la versión del 2005 del gcc podria funcionar?
Gracias!
Avatar de Usuario
hipersayan_x
Forista Legendario
Forista Legendario
Mensajes: 1905
Registrado: Vie Abr 27, 2007 7:00 am
Contactar:

Re: Compilar Programa Chino

Mensaje por hipersayan_x » Mié Mar 24, 2010 5:23 am

Y ssssiii :? Pero en lo posible no instales esas librerias y el gcc viejo en una distro nueva, porque te puede llegar a desestabilizar todo, trata de buscar alguna distro de ese mismo año, preferiblemente una livecd, los repositorios correspondientes y compilalo ahi.
Creo que aca, podes conseguir una version vieja de ubuntu y los repos:

http://old-releases.ubuntu.com/

segun wikipedia las versiones para ese año que podrian servir son warty warthog(4.10) y hoary hedgehog(5.04), pero tampoco esta garantizado que funcionen en harware muy nuevo :s
espero que tengas suerte y que lo puedas compilar pero sin conocimientos sobre programacion, esta muy dicil remasterizar un huerfanito.
Ahora, que se supone que hace el programa? No hay algo mas actual que haga lo mismo?
Podrias postear los errores que te da? Por ahi con algo de suerte logramos algo.

editado -- mié mar 24, 2010 12:19 am --

por lo pronto, un vistaso rapido a las fuentes es algo que sirve para dibujar una escena o dibujo en opengl y en c++.
Lo que hice fue cambiarle la extencion cxx a cpp y compilarlo con:

Código: Seleccionar todo

g++ -o remesh *.cpp
./remesh
y por lo menos en mi sistema me da este mensage:

Código: Seleccionar todo

remesh.cpp:1:19: error: utils.h: no existe el fichero ó directorio
in file included from remesh.cpp:3:                               
remesh.h:1:20: error: texgui.h: no existe el fichero ó directorio 
remesh.cpp:4:32: error: fl/fl_file_chooser.h: no existe el fichero ó directorio
in file included from remesh.cpp:3:                                            
remesh.h:6: error: ‘mesh’ has not been declared                                
remesh.h:7: error: ‘mesh’ has not been declared                                
remesh.h:13: error: expected initializer before ‘<’ token                      
remesh.h:14: error: expected initializer before ‘<’ token                      
remesh.h:15: error: expected initializer before ‘<’ token                      
remesh.h:16: error: expected initializer before ‘<’ token                      
remesh.h:17: error: expected initializer before ‘<’ token                      
remesh.h:18: error: expected initializer before ‘<’ token                      
remesh.h:26: error: ‘vec3f’ does not name a type                               
remesh.h:27: error: ‘vec3f’ does not name a type                               
remesh.h:29: error: iso c++ forbids declaration of ‘vector’ with no type       
remesh.h:29: error: expected ‘;’ before ‘<’ token                              
remesh.h:33: error: ‘vec3f’ has not been declared                              
remesh.h:33: error: ‘vec3f’ has not been declared                              
remesh.h:36: error: ‘vec3f’ has not been declared                              
remesh.h:37: error: iso c++ forbids declaration of ‘vec3f’ with no type        
remesh.h:37: error: expected ‘,’ or ‘...’ before ‘&’ token                     
remesh.h:72: error: ‘vec3f’ does not name a type                               
remesh.h:91: error: iso c++ forbids declaration of ‘set’ with no type          
remesh.h:91: error: expected ‘;’ before ‘<’ token                              
remesh.h:101: error: expected class-name before ‘{’ token                      
remesh.h:103: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:103: error: expected ‘;’ before ‘<’ token                             
remesh.h:105: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:105: error: expected ‘;’ before ‘<’ token                             
remesh.h:107: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:107: error: expected ‘;’ before ‘<’ token                             
remesh.h:108: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:108: error: expected ‘;’ before ‘<’ token                             
remesh.h:109: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:109: error: expected ‘;’ before ‘<’ token                             
remesh.h:111: error: iso c++ forbids declaration of ‘map’ with no type         
remesh.h:111: error: expected ‘;’ before ‘<’ token                             
remesh.h:112: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:112: error: expected ‘;’ before ‘<’ token                             
remesh.h:114: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:114: error: expected ‘;’ before ‘<’ token                             
remesh.h:116: error: iso c++ forbids declaration of ‘map’ with no type         
remesh.h:116: error: expected ‘;’ before ‘<’ token                             
in file included from remesh.cpp:3:                                            
remesh.h:117: error: iso c++ forbids declaration of ‘map’ with no type         
remesh.h:117: error: expected ‘;’ before ‘<’ token                             
remesh.h:119: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:119: error: expected ‘;’ before ‘<’ token                             
remesh.h:121: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:121: error: expected ‘;’ before ‘<’ token                             
remesh.h:122: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:122: error: expected ‘;’ before ‘<’ token                             
remesh.h:123: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:123: error: expected ‘;’ before ‘<’ token                             
remesh.h:125: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:125: error: expected ‘;’ before ‘<’ token                             
remesh.h:126: error: iso c++ forbids declaration of ‘map’ with no type         
remesh.h:126: error: expected ‘;’ before ‘<’ token                             
remesh.h:131: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:131: error: expected ‘;’ before ‘<’ token                             
remesh.h:132: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:132: error: expected ‘;’ before ‘<’ token                             
remesh.h:133: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:133: error: expected ‘;’ before ‘<’ token                             
remesh.h:214: error: ‘vec3f’ does not name a type                              
remesh.h:235: error: ‘set’ has not been declared                               
remesh.h:235: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:236: error: ‘set’ has not been declared                               
remesh.h:236: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:238: error: ‘vec3f’ does not name a type                              
remesh.h:239: error: ‘vec3f’ does not name a type                              
remesh.h:244: error: ‘vec3f’ does not name a type                              
remesh.h:247: error: ‘set’ has not been declared                               
remesh.h:247: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:249: error: iso c++ forbids declaration of ‘vec3f’ with no type       
remesh.h:249: error: expected ‘,’ or ‘...’ before ‘&’ token                    
remesh.h:250: error: ‘set’ has not been declared                               
remesh.h:250: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:252: error: iso c++ forbids declaration of ‘vec3f’ with no type       
remesh.h:252: error: expected ‘,’ or ‘...’ before ‘&’ token                    
remesh.h:254: error: iso c++ forbids declaration of ‘vec3f’ with no type       
remesh.h:254: error: expected ‘,’ or ‘...’ before ‘&’ token                    
remesh.h:260: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:260: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:261: error: iso c++ forbids declaration of ‘vector’ with no type      
remesh.h:261: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:262: error: ‘multimap’ has not been declared                          
remesh.h:262: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:265: error: ‘vector’ has not been declared                            
remesh.h:265: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:266: error: ‘vector’ has not been declared                            
remesh.h:266: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:268: error: ‘vector’ has not been declared                            
remesh.h:268: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:272: error: ‘vector’ has not been declared                            
remesh.h:272: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h:273: error: iso c++ forbids declaration of ‘set’ with no type         
remesh.h:273: error: expected ‘,’ or ‘...’ before ‘<’ token                    
remesh.h: in constructor ‘gui::gui()’:                                         
remesh.h:149: error: ‘will_draw_surface’ was not declared in this scope        
remesh.h:150: error: ‘will_draw_mesh’ was not declared in this scope           
remesh.h:155: error: ‘will_suppress_u’ was not declared in this scope          
remesh.h:156: error: ‘will_suppress_v’ was not declared in this scope          
remesh.h: in member function ‘float gui::field(int)’:                          
remesh.h:173: error: ‘obj’ was not declared in this scope                      
remesh.h: in member function ‘float gui::field(const flow_node&)’:             
remesh.h:176: error: ‘obj’ was not declared in this scope                      
remesh.h:177: error: ‘obj’ was not declared in this scope                      
remesh.h: in member function ‘float gui::field(const flow_crossing&)’:         
remesh.h:183: error: ‘obj’ was not declared in this scope                      
remesh.h:184: error: ‘const struct flow_crossing’ has no member named ‘coord’  
remesh.h:184: error: ‘grad’ was not declared in this scope                     
remesh.h: in member function ‘bool gui::vert_is_maximum(int)’:                 
remesh.h:191: error: ‘maxima’ was not declared in this scope                   
remesh.h: in member function ‘bool gui::vert_is_minimum(int)’:                 
remesh.h:193: error: ‘minima’ was not declared in this scope                   
remesh.h: in member function ‘bool gui::vert_is_saddle(int)’:                  
remesh.h:195: error: ‘saddles’ was not declared in this scope                  
remesh.h: in member function ‘bool gui::vert_is_xtrml(int)’:                   
remesh.h:198: error: ‘maxima’ was not declared in this scope                   
remesh.h:198: error: ‘minima’ was not declared in this scope                   
remesh.h: in member function ‘bool gui::vert_is_sgl_xtrml(int)’:               
remesh.h:200: error: ‘single_xtrmls’ was not declared in this scope            
remesh.h: in member function ‘bool gui::vert_is_crtcl(int)’:                   
remesh.h:203: error: ‘maxima’ was not declared in this scope                   
remesh.h:203: error: ‘minima’ was not declared in this scope                   
remesh.h:203: error: ‘saddles’ was not declared in this scope                  
remesh.h: in member function ‘bool gui::vert_is_sgl_crtcl(int)’:               
remesh.h:205: error: ‘single_xtrmls’ was not declared in this scope            
remesh.h:205: error: ‘saddles’ was not declared in this scope                  
remesh.h: in member function ‘float gui::gf_samp_dist(const flow_node&)’:      
remesh.h:222: error: ‘g_samp_dist’ was not declared in this scope              
remesh.h:223: error: ‘g_samp_dist’ was not declared in this scope              
remesh.h: in member function ‘float gui::bf_samp_dist(const flow_node&)’:      
remesh.h:227: error: ‘b_samp_dist’ was not declared in this scope              
remesh.h:228: error: ‘b_samp_dist’ was not declared in this scope              
remesh.h: at global scope:                                                     
remesh.h:301: error: variable or field ‘cb’ declared void                      
remesh.h:301: error: ‘fl_widget’ was not declared in this scope                
remesh.h:301: error: expected primary-expression before ‘,’ token              
remesh.h:301: error: expected primary-expression before ‘void’                 
remesh.cpp:17: error: ‘cos’ was not declared in this scope                     
remesh.cpp:18: error: ‘cos’ was not declared in this scope                     
remesh.cpp:37: error: expected constructor, destructor, or type conversion before ‘<’ token
remesh.cpp: in member function ‘void gui::draw_gradients()’:                               
remesh.cpp:42: error: ‘gl_lighting_bit’ was not declared in this scope                     
remesh.cpp:42: error: ‘gl_texture_bit’ was not declared in this scope                      
remesh.cpp:42: error: ‘gl_line_bit’ was not declared in this scope                         
remesh.cpp:42: error: ‘glpushattrib’ was not declared in this scope                        
remesh.cpp:44: error: ‘gl_lighting’ was not declared in this scope                         
remesh.cpp:44: error: ‘gldisable’ was not declared in this scope                           
remesh.cpp:45: error: ‘gl_texture_2d’ was not declared in this scope                       
remesh.cpp:47: error: ‘bb_max’ was not declared in this scope                              
remesh.cpp:47: error: ‘bb_min’ was not declared in this scope                              
remesh.cpp:47: error: ‘norm’ was not declared in this scope                                
remesh.cpp:49: error: ‘gllinewidth’ was not declared in this scope                         
remesh.cpp:50: error: ‘gl_lines’ was not declared in this scope                            
remesh.cpp:50: error: ‘glbegin’ was not declared in this scope                             
remesh.cpp:51: error: ‘obj’ was not declared in this scope                                 
remesh.cpp:53: error: ‘smf’ has not been declared                                          
remesh.cpp:53: error: ‘f’ was not declared in this scope                                   
remesh.cpp:55: error: expected initializer before ‘&’ token                                
remesh.cpp:56: error: expected initializer before ‘&’ token                                
remesh.cpp:57: error: expected initializer before ‘&’ token                                
remesh.cpp:59: error: ‘will_suppress_u’ was not declared in this scope                     
remesh.cpp:61: error: ‘vec3f’ was not declared in this scope                               
remesh.cpp:61: error: expected ‘;’ before ‘g’                                              
remesh.cpp:62: error: ‘g’ was not declared in this scope                                   
remesh.cpp:62: error: ‘unitize’ was not declared in this scope                             
remesh.cpp:65: error: ‘glcolor3f’ was not declared in this scope                           
remesh.cpp:66: error: ‘v1’ was not declared in this scope                                  
remesh.cpp:66: error: ‘v2’ was not declared in this scope                                  
remesh.cpp:66: error: ‘v3’ was not declared in this scope                                  
remesh.cpp:66: error: ‘glvertex’ was not declared in this scope                            
remesh.cpp:74: error: ‘will_suppress_v’ was not declared in this scope                     
remesh.cpp:76: error: ‘vec3f’ was not declared in this scope                               
remesh.cpp:76: error: expected ‘;’ before ‘g2’                                             
remesh.cpp:77: error: ‘g2’ was not declared in this scope                                  
remesh.cpp:77: error: ‘unitize’ was not declared in this scope                             
remesh.cpp:80: error: ‘glcolor3f’ was not declared in this scope                           
remesh.cpp:81: error: ‘v1’ was not declared in this scope                                  
remesh.cpp:81: error: ‘v2’ was not declared in this scope                                  
remesh.cpp:81: error: ‘v3’ was not declared in this scope                                  
remesh.cpp:81: error: ‘glvertex’ was not declared in this scope                            
remesh.cpp:85: error: ‘glend’ was not declared in this scope                               
remesh.cpp:87: error: ‘glpopattrib’ was not declared in this scope                         
remesh.cpp: in member function ‘virtual void gui::draw_other_contents()’:                  
remesh.cpp:93: error: ‘texgui’ has not been declared                                       
remesh.cpp:95: error: ‘gl_lighting_bit’ was not declared in this scope                     
remesh.cpp:95: error: ‘gl_texture_bit’ was not declared in this scope                      
remesh.cpp:95: error: ‘gl_line_bit’ was not declared in this scope                         
remesh.cpp:95: error: ‘glpushattrib’ was not declared in this scope                        
remesh.cpp:96: error: ‘gl_lighting’ was not declared in this scope                         
remesh.cpp:96: error: ‘gldisable’ was not declared in this scope                           
remesh.cpp:97: error: ‘gl_texture_2d’ was not declared in this scope                       
remesh.cpp:99: error: ‘gl_line_smooth’ was not declared in this scope                      
remesh.cpp:99: error: ‘glenable’ was not declared in this scope                            
remesh.cpp:101: error: ‘gl_points’ was not declared in this scope                          
remesh.cpp:101: error: ‘glbegin’ was not declared in this scope                            
remesh.cpp:102: error: ‘tmp_seeds’ was not declared in this scope                          
remesh.cpp:104: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:105: error: ‘fn_coord’ was not declared in this scope                           
remesh.cpp:105: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:107: error: ‘glend’ was not declared in this scope                              
remesh.cpp:109: error: ‘will_draw_surface’ was not declared in this scope                  
remesh.cpp:111: error: ‘gl_polygon_offset_fill’ was not declared in this scope             
remesh.cpp:113: error: ‘glpolygonoffset’ was not declared in this scope                    
remesh.cpp:115: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:116: error: ‘gl_triangles’ was not declared in this scope                       
remesh.cpp:117: error: ‘obj’ was not declared in this scope                                
remesh.cpp:119: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:128: error: ‘gllinewidth’ was not declared in this scope                        
remesh.cpp:129: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:130: error: ‘gl_lines’ was not declared in this scope                           
remesh.cpp:131: error: ‘map’ was not declared in this scope                                
remesh.cpp:131: error: expected primary-expression before ‘int’                            
remesh.cpp:131: error: expected ‘;’ before ‘int’                                           
remesh.cpp:131: error: ‘it’ was not declared in this scope                                 
remesh.cpp:131: error: ‘v_feature_ngbrs’ was not declared in this scope                    
remesh.cpp:132: error: ‘set’ was not declared in this scope                                
remesh.cpp:132: error: expected primary-expression before ‘int’                            
remesh.cpp:132: error: expected ‘;’ before ‘int’                                           
remesh.cpp:132: error: ‘it2’ was not declared in this scope                                
remesh.cpp:134: error: ‘obj’ was not declared in this scope                                
remesh.cpp:134: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:144: error: ‘glpointsize’ was not declared in this scope                        
remesh.cpp:147: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:148: error: ‘set’ was not declared in this scope                                
remesh.cpp:148: error: expected primary-expression before ‘int’                            
remesh.cpp:148: error: expected ‘;’ before ‘int’                                           
remesh.cpp:148: error: ‘it’ was not declared in this scope                                 
remesh.cpp:148: error: ‘maxima’ was not declared in this scope                             
remesh.cpp:149: error: ‘obj’ was not declared in this scope                                
remesh.cpp:149: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:152: error: expected primary-expression before ‘int’                            
remesh.cpp:152: error: expected ‘;’ before ‘int’                                           
remesh.cpp:152: error: ‘it’ was not declared in this scope                                 
remesh.cpp:152: error: ‘minima’ was not declared in this scope                             
remesh.cpp:153: error: ‘obj’ was not declared in this scope                                
remesh.cpp:153: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:156: error: expected primary-expression before ‘int’                            
remesh.cpp:156: error: expected ‘;’ before ‘int’                                           
remesh.cpp:156: error: ‘it’ was not declared in this scope                                 
remesh.cpp:156: error: ‘saddles’ was not declared in this scope                            
remesh.cpp:157: error: ‘obj’ was not declared in this scope                                
remesh.cpp:157: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:161: error: ‘chain_xtrmls’ was not declared in this scope                       
remesh.cpp:165: error: ‘gl_line_strip’ was not declared in this scope                      
remesh.cpp:167: error: ‘obj’ was not declared in this scope                                
remesh.cpp:167: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:172: error: ‘will_suppress_u’ was not declared in this scope                    
remesh.cpp:174: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:176: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:180: error: ‘gl_line_strip’ was not declared in this scope                      
remesh.cpp:182: error: ‘fn_coord’ was not declared in this scope                           
remesh.cpp:182: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:186: error: ‘will_suppress_v’ was not declared in this scope                    
remesh.cpp:188: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:190: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:194: error: ‘gl_line_strip’ was not declared in this scope                      
remesh.cpp:196: error: ‘fn_coord’ was not declared in this scope                           
remesh.cpp:196: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:203: error: ‘gl_lines’ was not declared in this scope                           
remesh.cpp:204: error: ‘all_crossings’ was not declared in this scope                      
remesh.cpp:208: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:209: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:214: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:215: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:221: error: ‘glpointsize’ was not declared in this scope                        
remesh.cpp:223: error: ‘all_crossings’ was not declared in this scope                      
remesh.cpp:227: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:228: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:232: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:233: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:239: error: ‘selected_vertex’ was not declared in this scope                    
remesh.cpp:241: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:242: error: ‘glpointsize’ was not declared in this scope                        
remesh.cpp:244: error: ‘obj’ was not declared in this scope                                
remesh.cpp:244: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:250: error: ‘g_samp_dist’ was not declared in this scope                        
remesh.cpp:250: error: ‘b_samp_dist’ was not declared in this scope                        
remesh.cpp:250: error: ‘status’ was not declared in this scope                             
remesh.cpp:253: error: ‘selected_face’ was not declared in this scope                      
remesh.cpp:255: error: ‘gllinewidth’ was not declared in this scope                        
remesh.cpp:256: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:257: error: ‘gl_line_loop’ was not declared in this scope                       
remesh.cpp:258: error: ‘smf’ has not been declared                                         
remesh.cpp:258: error: expected initializer before ‘&’ token                               
remesh.cpp:259: error: ‘f’ was not declared in this scope                                  
remesh.cpp:260: error: ‘obj’ was not declared in this scope                                
remesh.cpp:260: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:264: error: ‘f’ was not declared in this scope                                  
remesh.cpp:264: error: ‘status’ was not declared in this scope                             
remesh.cpp:269: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:270: error: ‘glpointsize’ was not declared in this scope                        
remesh.cpp:272: error: ‘all_crossings’ was not declared in this scope                      
remesh.cpp:272: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:278: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:279: error: ‘gllinewidth’ was not declared in this scope                        
remesh.cpp:280: error: ‘gl_line_strip’ was not declared in this scope                      
remesh.cpp:281: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:282: error: ‘fn_coord’ was not declared in this scope                           
remesh.cpp:282: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:288: error: ‘glcolor3d’ was not declared in this scope                          
remesh.cpp:289: error: ‘gllinewidth’ was not declared in this scope                        
remesh.cpp:290: error: ‘gl_line_strip’ was not declared in this scope                      
remesh.cpp:291: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:292: error: ‘fn_coord’ was not declared in this scope                           
remesh.cpp:292: error: ‘glvertex3fv’ was not declared in this scope                        
remesh.cpp:296: error: ‘glpopattrib’ was not declared in this scope                        
remesh.cpp: in member function ‘virtual bool gui::mouse_down(int*, int)’:                  
remesh.cpp:302: error: ‘fl’ has not been declared                                          
remesh.cpp:302: error: ‘fl_ctrl’ was not declared in this scope                            
remesh.cpp:305: error: ‘fl’ has not been declared                                          
remesh.cpp:305: error: ‘fl_alt’ was not declared in this scope                             
remesh.cpp:308: error: ‘fl’ has not been declared                                          
remesh.cpp:308: error: ‘fl_shift’ was not declared in this scope                           
remesh.cpp:310: error: ‘selected_vertex’ was not declared in this scope                    
remesh.cpp:310: error: ‘pick_vertex’ was not declared in this scope                        
remesh.cpp:313: error: ‘meshgui’ has not been declared                                     
remesh.cpp: in member function ‘virtual bool gui::key_press(int)’:                         
remesh.cpp:323: error: ‘selected_vertex’ was not declared in this scope                    
remesh.cpp:325: error: ‘set’ was not declared in this scope                                
remesh.cpp:325: error: expected primary-expression before ‘int’                            
remesh.cpp:325: error: expected ‘;’ before ‘int’                                           
remesh.cpp:326: error: ‘mesh’ was not declared in this scope                               
remesh.cpp:326: error: ‘f’ was not declared in this scope                                  
remesh.cpp:328: error: expected primary-expression before ‘int’                            
remesh.cpp:328: error: expected ‘;’ before ‘int’                                           
remesh.cpp:330: error: ‘it’ was not declared in this scope                                 
remesh.cpp:331: error: ‘selected_face’ was not declared in this scope                      
remesh.cpp:336: error: ‘selected_face’ was not declared in this scope                      
remesh.cpp:338: error: ‘selected_face’ was not declared in this scope                      
remesh.cpp:342: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:345: error: ‘status’ was not declared in this scope                             
remesh.cpp:348: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:351: error: ‘status’ was not declared in this scope                             
remesh.cpp:354: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:357: error: ‘status’ was not declared in this scope                             
remesh.cpp:360: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:363: error: ‘status’ was not declared in this scope                             
remesh.cpp:369: error: ‘canvas’ was not declared in this scope                             
remesh.cpp: in member function ‘void gui::select_crossing()’:                              
remesh.cpp:379: error: ‘all_crossings’ was not declared in this scope                      
remesh.cpp:381: error: ‘all_crossings’ was not declared in this scope                      
remesh.cpp:381: error: ‘sprintf’ was not declared in this scope                            
remesh.cpp:383: error: ‘fl_input’ was not declared in this scope                           
remesh.cpp:386: error: ‘atoi’ was not declared in this scope                               
remesh.cpp:388: error: ‘fl_alert’ was not declared in this scope                           
remesh.cpp:391: error: ‘atoi’ was not declared in this scope                               
remesh.cpp: in member function ‘void gui::select_grad_flow()’:                             
remesh.cpp:400: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:402: error: ‘grad_flows’ was not declared in this scope                         
remesh.cpp:402: error: ‘sprintf’ was not declared in this scope                            
remesh.cpp:404: error: ‘fl_input’ was not declared in this scope                           
remesh.cpp:407: error: ‘atoi’ was not declared in this scope                               
remesh.cpp:409: error: ‘fl_alert’ was not declared in this scope                           
remesh.cpp:412: error: ‘atoi’ was not declared in this scope                               
remesh.cpp: in member function ‘void gui::select_bigrad_flow()’:                           
remesh.cpp:421: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:423: error: ‘bigrad_flows’ was not declared in this scope                       
remesh.cpp:423: error: ‘sprintf’ was not declared in this scope                            
remesh.cpp:425: error: ‘fl_input’ was not declared in this scope                           
remesh.cpp:428: error: ‘atoi’ was not declared in this scope                               
remesh.cpp:430: error: ‘fl_alert’ was not declared in this scope                           
remesh.cpp:433: error: ‘atoi’ was not declared in this scope                               
remesh.cpp: at global scope:                                                               
remesh.cpp:437: error: ‘vec3f’ has not been declared                                       
remesh.cpp:437: error: ‘vec3f’ has not been declared                                       
remesh.cpp: in constructor ‘octree::octree(int, int, int, int)’:                           
remesh.cpp:442: error: ‘bb_min’ was not declared in this scope
remesh.cpp:443: error: ‘bb_max’ was not declared in this scope
remesh.cpp: in destructor ‘octree::~octree()’:
remesh.cpp:455: error: ‘samples’ was not declared in this scope
remesh.cpp: at global scope:
remesh.cpp:459: error: variable or field ‘insert’ declared void
remesh.cpp:459: error: ‘vec3f’ was not declared in this scope
por lo pronto parece que te estarian faltando 2 archivos en los fuentes, que son:

Código: Seleccionar todo

#include "utils.h"
#include "texgui.h"
y que no estan incluidos en los archivos que subiste.
Por ahi hay alguna esperanza de resucitarlo pero antes tenes que conseguir esos dos archivos que eran parte de las fuentes oficiales.
Desarrollo en Qt: Qt Developer Network
Mis proyectos: github | SourceForge.net
adbaco
Forista Nuevo
Forista Nuevo
Mensajes: 11
Registrado: Mar Mar 23, 2010 9:13 pm

Re: Compilar Programa Chino

Mensaje por adbaco » Mié Mar 24, 2010 11:41 am

Hola hipersayan,

gracias por tu respuesta.

En el makefile veo que el programa hace referencia a las siguientes librerias:

include /home/shendong/library/libgfx/gfx-config
include /home/shendong/library/libmesh/mesh-config

cxxflags += -i/home/shendong/library/superlu/src
ldflags += -l/home/shendong/library/superlu

cxxflags += -i/home/shendong/library/tnt12


que entiendo que deberían descargarse de internet, compilarlas y cambiar la ruta del makefile, con algunas lo he conseguido y con algunas no.
Podria ser que los archivos que dices que faltan estuvieran dentro de estas librerias?

De todos modos intentaré buscarlos a ver si hay suerte... Gracias!!!

Editado -- Mié Mar 24, 2010 3:41 am --

Buenas noticias, he conseguido hablar con el chino y me ha dicho que ahora esta de viaje pero que dentro de 10 dias me manda estos dos archivos!
Postearé de nuevo cuando los tenga :)
Avatar de Usuario
hipersayan_x
Forista Legendario
Forista Legendario
Mensajes: 1905
Registrado: Vie Abr 27, 2007 7:00 am
Contactar:

Re: Compilar Programa Chino

Mensaje por hipersayan_x » Mié Mar 24, 2010 4:31 pm

Decile que te pase el conjunto completo de las fuentes asi nos evitamos problemas, en general no parece muy complicado el programa :)
y si, aparentemente esas son las dependencias:

libmesh
libgfx
tnt

y por cierto aparentemente ya hay una version mas nueva de remesh en sourceforge, es del 2008, era eso lo que querias no?
Desarrollo en Qt: Qt Developer Network
Mis proyectos: github | SourceForge.net
Responder
  • Similar Topics
    Respuestas
    Vistas
    Último mensaje