Compiling Erlang Interface with VC++ 2010 - LIB Issues

k.rock <>
Fri Sep 24 18:36:44 CEST 2010


Dear Erlang Questions,

 

When compiling an Erlang  Interface with VC++ 2010 I get the following
compiler errors.

 

1>ei.lib(ei_resolve.o) : error LNK2019: unresolved external symbol
 referenced in function _ei_gethostbyname

1>ei.lib(ei_resolve.o) : error LNK2019: unresolved external symbol
 referenced in function _ei_gethostbyaddr

1>D:\Projects\C++_Exercises\SQLite\sqlite_port\Debug\sqlite_port.exe : fatal
error LNK1120: 2 unresolved externals

 

Path set correctly to 

 

C:\Program Files (x86)\erl5.8.1\lib\erl_interface-3.7.1\lib\ei.lib

C:\Program Files (x86)\erl5.8.1\lib\erl_interface-3.7.1\include\ei.h

 

What is going wrong here.

 

Thank you.

Rock InformationTechnologies (India) Pvt.
Dipl.-Ing.(FH) Klaus Rock 
Bonhoefferstrasse 37
73432 Aalen - Germany
Tel    : ++49-7367-96500
Mail  : 
<blocked::outbind://29-00000000CDB63B28533CCE4D9B973708CCF0FBF324562B00/mc/c
ompose?to=> 

 



More information about the erlang-questions mailing list