It looks like you're new here. If you want to get involved, click one of these buttons!
I'm initiating this thread to ask for a point in the right direction when trying to do the HelloWorld for Kludge in Windows. I assume my installation of Scons and my version of Visual Studio (2015, community) are correct. I gather this from reading the related thread http://forums.fabricengine.com/discussion/990/is-compiling-the-dll-in-windows-with-msvc-ok#latest.
On a side note, I can reproduce the HelloWorld using Ubuntu on Windows (using g++ and scons). But this produces no Windows dlls, hence not useful for me.
Here is what I am doing:
1. Create a project in Visual Studio, with Tutorial.cpp and Tutorial.hpp, as described in the tutorial. Compile a x64 dll of this code named: libTutorial.dll.
2. I have Tutorial.hpp, Tutorial.cpp and libTutorial.dll in the same folder and run Kludge's discover process: everything works fine.
3. I run Kludge's generate process: everything works fine.
4. I run the scons' construct and get the following Link error:
Creating library Tutorial-Windows-x86_64.lib and object Tutorial-Windows-x86_64.exp
Tutorial.obj : error LNK2019: unresolved external symbol "int __cdecl AddTwoInts(int,int)" (?AddTwoInts@@YAHHH@Z) referenced in function Tutorial_AddTwoInts_c03059fc730d732cfde6e83950379548
Tutorial-Windows-x86_64.dll : fatal error LNK1120: 1 unresolved externals
scons: *** [Tutorial-Windows-x86_64.dll] Error 1120
scons: building terminated because of errors.
I have very little C++ knowledge so pardon me if I am doing something stupid.
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy