only defines a single function...
#include "OpenSmalltalkVM.h"
int
main(int argc, const char **argv)
{
return osvm_main(argc, argv);
}
To check that the osvm_main function is available to be linked, at the end of CmakeLists.txt I see...
# Build the VM executable(s)
add_executable(${VM_EXECUTABLE_NAME} platforms/minheadless/common/sqMain.c)
target_link_libraries(${VM_EXECUTABLE_NAME} ${VM_LIBRARY_NAME} ${VM_DEPENDENCIES_LIBRARIES})
I found...
VM_LIBRARY_NAME=PharoVMCore
where that library is defined
VM_CORE_LIBRARY_TYPE=STATIC
add_library(${VM_LIBRARY_NAME} ${VM_CORE_LIBRARY_TYPE} ${VM_SOURCES} ${VM_INTERNAL_PLUGIN_SOURCES})
and an inspection of PharoVMCore.lib (using 7zip to expand it)
shows it contains function osvm_main symbol, but not the "_imp_" prefixed symbol.
Regarding the "_imp_" prefix, the next to last comment in this thread