GettingStarted.md Errors

24 views
Skip to first unread message

NickF

unread,
Jan 11, 2016, 4:08:20 PM1/11/16
to CppSharp
Hi,
I have put together a Sample.h file and a Test class in C# but when I go to run the program it says it can't find Sample.h even though it is in the same directory as the executable and it also says that it can't find Sample.lib but in the gettingstarted it doesn't mention this at all. I am fairly new to all of this so any explanation would help. Thank you in advance.

Nick

NickF

unread,
Jan 11, 2016, 4:10:30 PM1/11/16
to CppSharp
I am running on windows and it seems to be a problem with the .Add portion from the example setup function.

João Matos

unread,
Jan 11, 2016, 6:46:35 PM1/11/16
to NickF, CppSharp
Hi Nick, you can try adding your include folder explicitly to the driver options, like:

options.addIncludeDirs(@"C:/<your-includes-folder-here>");

Feel free to open issues on Github instead of posting to the mailing list, we're moving away from it.


--
You received this message because you are subscribed to the Google Groups "CppSharp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cppsharp-lis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
João Matos
Reply all
Reply to author
Forward
0 new messages