I'm a newbie to D3D dev and when i tried to compiled the d3d11 tutorial example given by microsoft it always failed with unresolved external symbol.
I tried to copy the lib folder to project, and add .lib file dependency in project properties but didn't work
While it's not clear from the description, it seems that you are using the Win32 desktop Direct3D tutorial sample and not the Windows Store app sample. I suggest trying with the latest version of this tutorial from MSDN Code Gallery.
Related
I am tinkering with this C MXChip IoT project. This may be a supid question but hacking and navigating the code is difficult because there is no single project with all libraries and src files. Is there a way to have all main program, libs, src c and h files on the same Visual Studio project (not VSCode, I'm using VS2022)?
Most probably my tries were wrong, I tried dragging all the files into the solution of a new C project but references or variables are still unrecognized. Same result adding in solution properties->c/c++->Additional include directories/#using directories, and this latter approach doesn't show me the file to navigate and see the code.
I see the following folders with its subfolders used by the project:
app;lib;shared;
I installed dev env vcpkg following guide https://vcpkg.io/en/getting-started.html with package azure-iot-sdk-c found in https://vcpkg.io/en/packages.html. vcpkg is a MSFT supported env. And also installed Azure IoT Edge Tools for VS 2022 following guide https://learn.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-module?view=iotedge-1.4 and works great !
In most of the Helix 3d wpf examples (source files) posted in GitHub, there is a reference to "Example Browser" (using ExampleBrowser;) in the .cs files. I cannot find any assembly defining a reference to this namespace in the packages obtained from Nuget (HelixToolkit and HelixToolkit.Wpf). I commented this line out and solution builds OK and app runs OK.
Anyone has any idea where this line comes from or where the assembly is?
Thanks in advance.
ikonuk
If you clone the repo of helix-toolkit you'll see that in the Helix-Toolkit solution there is a separate project called example browser for showcasing various use cases. Nuget packages only contain the helix-toolkit itself without the examples
Its been a long since I am struggling integrating the Tapku Library in my Xcode project. I want to implement the Day View component from Tapku into my project. I followed the instructions from read-me on github but had no success. I am getting following error, "Apple Compiler LLVM Error" when I add the files to my project. Anyone who has successfully integrated the same please help.
I solved this issue by using Finder (before opening xCode) copy the src folder to my projects directory.
So my project structure is MyProject/Frameworks/src
For the rest of the steps just follow the guide on Tapku's GitHub page.
Only add the 2 TapkuLibrary.xcodeproj and src/TapkuLibrary.bundle files
Select the Build Phases
Link Binary With Libraries
For the Header Search Path you can use $(SRCROOT)/Frameworks/src remember to use non-recursive option
And for Other Linker Flags add -ObjC
Hope this helps
I need to create a dllImport and some extern functions in a MonoMac project (C#). I added the library to the latest version of MonoDevelop with the Add Native Reference option to the project.
I then added the dllImport and the extern functions, I got an Exception saying the Dll was not found. After running a System.IO.File.Exists() on the path I decided to have a method to test loading the lib using Dlfcn.dlopen(), it returned 0.
Then I copied the whole framework directory inside my bin/debug folder (in my project folder) and created native references for each library in the framework. Tried to load libcrypto.1.0.0.dylib, it didn't work.
I started thinking that something could be wrong in the method I was using. Then I got my sqlLite 3 dylib, copied it and tried the same test and got a pointer with Dlfcn.dlopen().
What am I missing here? I normally would not like to have the whole Qt baggage in there but the native dylib I have to use, uses this framework.
Is there any way to get a reference to this dylib?
How do I share files between WPF and Silverlight projects in Visual Studio 2010?
You can download Project Linker for Visual Studio 2010 in the Extension Manager. Just search for "Project Linker". It works perfectly!
The project linker download can be found here at the bottom of the page in the "Files in this Download" section:
http://www.microsoft.com/downloads/details.aspx?familyid=fa07e1ce-ca3f-4b9b-a21b-e3fa10d013dd&displaylang=en
And just in case you were also asking about its usage, here is a link to the usage information:
http://msdn.microsoft.com/en-us/library/dd458870.aspx
It doesn't appear to have been released as a self installer for VS2010. However, the code does appear to have been updated to allow the plugin to run in VS2010.
Have a look at this discusson thread. About two thirds of the way down the tread, it gets to the point where they give that link and discuss the steps for making it work. Here is the link to the source code updated for VS2010.
The steps to use the code to generate an installer that will work for you are (ripped from the linked thread):
open solution in vs2010
compile as release
add a new VSIX project (template located under c#>Extensibility).
In the VSIX project you need to add two "content" items
- a "VS Package type" as the output of the project linker project,
- a "Custom Extension" Type - as a file and browse to the compiled project linker helper dll
HTH