Can't compile metanet 0.4 with scilab 5.4.0-alpha-1

pmguerre pmguerre at gmail.com
Wed May 23 12:41:57 CEST 2012


Hi

I've installed scilab 5.4.0-alpha-1 with the intention of trying a 
new version of metanet, but i've run into a couple of problems:

first, when I run the builder.sce script, it gives me an error about 
a mising file (hashtable.h), has you can see bellow:

---------------------------------------------------------------------

!------------- Compile file hashtable_metanet.c --------------       
        !
!                                                                    
        !
!	IF NOT EXIST  Release mkdir Release                                
        !
!                                                                    
        !
!	cl -D__MSC__ -DFORDLL -DWIN32 -c -DSTRICT -D_CRT_SECURE_NO_DEPRECATE
-D__MA!
!     KEFILEVC__ -nologo -I"C:/PROGRA~1/SCILAB~1.0-A/libs/MALLOC/includes" 
-!
!     I"C:/PROGRA~1/SCILAB~1.0-A/libs/f2c" 
-I"C:/PROGRA~1/SCILAB~1.0-A/libs/!
!     hashtable"  -I"C:/PROGRA~1/SCILAB~1.0-A/libs/intl" 
-I"C:/PROGRA~1/SCIL!
!     AB~1.0-A/modules/core/includes" 
-I"C:/PROGRA~1/SCILAB~1.0-A/modules/ap!
!     i_scilab/includes" 
-I"C:/PROGRA~1/SCILAB~1.0-A/modules/call_scilab/inc!
!     ludes"  -I"C:/PROGRA~1/SCILAB~1.0-A/modules/output_stream/includes" 
-I!
!     "C:/PROGRA~1/SCILAB~1.0-A/modules/jvm/includes" 
-I"C:/PROGRA~1/SCILAB~!
!     1.0-A/modules/localization/includes" 
-I"C:/PROGRA~1/SCILAB~1.0-A/modul!
!     es/dynamic_link/includes" 
-I"C:/PROGRA~1/SCILAB~1.0-A/modules/mexlib/i!
!     ncludes"  -I"C:/PROGRA~1/SCILAB~1.0-A/modules/time/includes" 
-I"C:/PRO!
!     GRA~1/SCILAB~1.0-A/modules/windows_tools/includes" -W3 -Gd -Z7 -O2 -MT
!
!     -DNDEBUG /Fo"Release/" /Fd"Release/" -DFORDLL
-IC:\Users\pmguerre\Downl!
!     oads\metanet-0.4-src\metanet-0.4\src\c\ hashtable_metanet.c           
!
!                                                                           
!
!hashtable_metanet.c                                                        
!
!                                                                           
!
!c:\users\pmguerre\downloads\metanet-0.4-src\metanet-0.4\src\c\hashtable_meta!
!     net.h(17) : fatal error C1083: Cannot open include file:
'hashtable.h':!
!      No such file or directory                                            
!
!                                                                           
!
!NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
10.0\V!
!     C\bin\cl.EXE"' : return code '0x2'                                    
!
!                                                                           
!
!Stop.                                                                      
!
 !--error 10000 ilib_compile: Error while executing Makelib.mak.
at line      27 of function dlwCompile called by :  
at line      52 of function ilib_compile called by :  
at line      94 of function ilib_for_link called by :  
at line      28 of function tbx_build_src called by :  
at line      24 of function builder_c called by : 
builder_c();
at line      30 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      49 of function tbx_builder_src_lang called by :  
at line       4 of function builder_src called by :  
builder_src();
at line      10 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      32 of function tbx_builder_src called by :  
at line      33 of function main_builder called by :  
main_builder();
at line     137 of exec file called by :       
exec(%fileToExec);                 
disp(msprintf(gettext("Execution done.\n
while executing a callback
---------------------------------------------------------------------



I've copied the file hashtable.h from C:\Program
Files\scilab-5.4.0-alpha-1\libs\hashtable\includes\hashtable.h to
C:\Users\pmguerre\Downloads\metanet-0.4-src\metanet-0.4\src\c\hashtable.h,
and tried again, and this time it gives an error about a missing lib
(elementary_functions.lib) from
C:/PROGRA~1/SCILAB~1.0-A/bin/elementary_functions.lib, as you can see
bellow.


---------------------------------------------------------------------

!Creation of dll gw_metanet_fortran.dll and import lib from ...             
!
!                                                                           
!
!gw_metanet_fortran.obj sci_m6bandred.obj sci_m6bmatch.obj sci_m6busack.obj
s!
!     ci_m6cent.obj sci_m6chcm.obj sci_m6clique.obj sci_m6clique1.obj
sci_m6c!
!     ompc.obj sci_m6compfc.obj sci_m6concom.obj sci_m6deumesh.obj
sci_m6dfs.!
!     obj sci_m6dfs2.obj sci_m6diam.obj sci_m6dijkst.obj sci_m6dmtree.obj
sci!
!     _m6edge2st.obj sci_m6findiso.obj sci_m6flomax.obj sci_m6floqua.obj
sci_!
!     m6ford.obj sci_m6fordfulk.obj sci_m6frang.obj sci_m6hamil.obj
sci_m6hul!
!     lcvex.obj sci_m6johns.obj sci_m6kilter.obj sci_m6knapsk.obj
sci_m6loadg!
!     .obj sci_m6lp2tad.obj sci_m6lp2tau.obj sci_m6mesh2b.obj
sci_m6meshmesh.!
!     obj sci_m6ns2p.obj sci_m6p2ns.obj sci_m6pcchna.obj sci_m6permuto.obj
sc!
!     i_m6prevn2p.obj sci_m6prevn2st.obj sci_m6prfmatch.obj sci_m6relax.obj
s!
!     ci_m6saveg.obj sci_m6sconcom.obj sci_m6ta2lpd.obj sci_m6ta2lpu.obj
sci_!
!     m6tconex.obj sci_m6transc.obj sci_m6umtree.obj sci_m6umtree1.obj
sci_m6!
!     visitor.obj                                                           
!
!                                                                           
!
!LINK : fatal error LNK1181: cannot open input file
'C:/PROGRA~1/SCILAB~1.0-A!
!     /bin/elementary_functions.lib'                                        
!
!                                                                           
!
!NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
10.0\V!
!     C\bin\link.EXE"' : return code '0x49d'                                
!
!                                                                           
!
!Stop.                                                                      
!
 !--error 10000 
ilib_compile: Error while executing Makelib.mak.
at line      27 of function dlwCompile called by :  
at line      52 of function ilib_compile called by :  
at line     106 of function ilib_build called by :  
at line     133 of function tbx_build_gateway called by :  
at line     116 of function builder_gw_fortran called by :  
builder_gw_fortran();
at line     126 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      49 of function tbx_builder_gateway_lang called by :  
at line       6 of function builder_gateway called by :  
builder_gateway()
at line      15 of exec file called by :    

at line      13 of function tbx_builder called by :  
at line      32 of function tbx_builder_gateway called by :  
at line      34 of function main_builder called by :  
main_builder();
at line     137 of exec file called by :    
   exec(%fileToExec);                 
disp(msprintf(gettext("Execution done.\n
while executing a callback
---------------------------------------------------------------------



In fact, this lib file doesn't exists, only the elementary_fucntions.dll
file...
And I'm stuck... Is this a scilab problem (the missing lib file) or a
metanet problem? I don't know, but I hope you can shed some light in this
matter, cause right now I'm stuck with metanet 0.2 in scilab 5.2.x, cause
metanet 0.3-2 doesn't work with scilab 5.3.x... :-(

Thank you

--
View this message in context: http://mailinglists.scilab.org/Can-t-compile-metanet-0-4-with-scilab-5-4-0-alpha-1-tp4008388.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the dev mailing list