Closed samrel closed 9 years ago
Do you use a 32-bit OS?
I have the same problem, my system is Windows 7 Professional 64bit with VisualStudio 2012 with Qt5.3 (mingw32bit version) When I run the QtSharp.CLI , this exception its raised:
Exception Message: Could not load file or assembly 'CppSharp.Parser.CLI.dll' or one of its dependencies. The specified module could not be found. Source: CppSharp.Generator StackTrace: at CppSharp.ConsoleDriver.Run(ILibrary library) at QtSharp.CLI.Program.Main(String[] args) in c:\tmp\QtSharp-master\QtSharp.CLI\Program.cs:line 78 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
i hope this will help
Maybe LLVM and Clang are needed?
Hello @SSorbello . LLVM/Clang are compiled into CppSharp.CppParser.dll so that's not the issue. The problem is most probably that the C++ binaries have been compiled with VS 2013. If you cannot upgrade your VS, I am afraid you'll have to compile CppSharp yourself.
@ddobrev Thanks for the quick reply, i should be able to upgrade my VS
installing VS2013 solved the problem.
Excellent, I'd be happy to answer any further questions you may have.
I successfully downloaded and installed Qt 5.3 for Windows. When I download and try to build QtSharp I get a compile error indicating it isn't loading the CppSharp.Parser. Indeed it isn't. When I attempt to explicitly load the assembly from the reference folder I receive an error indicating it is not a valid .NET assembly.
I am running Windows 7 and attempting to build with Xamarin Studio 5.3. I have attempted both .NET 4.0 and Mono 3.0.10 as the target frameworks.
Everything else seems to be in place.