I am using Autocad 2012. I need to upload libs everytime when I open the Autocad. Is there any way how to avoid this and load libs file by-default when Autocad 2012 is opened?
Please let me know what needs to be done.
Note : some libs are there by-default.
See http://www.jtbworld.com/lisp/acad_lsp.htm & http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html
Related
My application use boost 1.54 and it's not up to me to upgrade it. Now I have to port the whole thing to Visual Studio 2013 but I still can't figure out a proper way to build it. So, is there a way to make a vcproj that can be built with VS 2013?
Building boost basically is quite simple.
These guide lines describe the process:
http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows.html
http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html
Basically what you have to do is,
Open a VisualStudio Command Prompt
Change the current dir to your boost directory i.e:
CD c:\myStuff\boost\boost_1_54_0\
Call boptstrap:
bootstrap
start build i.e:
bjam address-model=32
This is the process that worked for me with VC2010. It should work with 2013 as well. If you have problems specific to VC2013, please report the error messages you receive in detail.
You can also use BlueGo to build boost:
BlueGo is a tool which builds Boost libraries using Visual Studio 2010/12/13. You just have to start the application, select your configuration and hit the Build button- everything else works automatically. The application downloads the library, extracts it and builds it.
Does anyone know where the Visual Studio 2010 (Service Pack 1 to be specific) build scripts are (I assume they're .vcxprojs these days, but can find neither these of .mak's).
I urgently need to build a instrumented set of release mode MFC DLLs that use the same coupling as the standard parts (i.e. these need to be extention DLLs - just pulling the MFC sources directly into the project is not going to hack it).
Any help pointers to the build scripts would be super helpful.
I don't understand your need. Maybe you simply need to use MFC in a static lib configuration?
Try 'Use MFC in a Static Library' on project settings.
If you are writing a dll maybe this help:
Regular DLLs Statically Linked to MFC
I've build a project with opencv, when I share my .exe on other pc they can't find some dlls, this happens in release and debug mode, I searched on the web and I know I must configure the properties of the project, I tried configure MFC but with all the configuration the problem persist.
thank you!
Are they SystemFramework libraries? Or are they libraries that your app specifically uses, ones that you have imported into the project?
If they are your custom/imported libraries, make sure you copy them to output, and send them with the exe. The point of an installer is to bring the client your executable will of the the files it need to reference, compiled into a single file.
It seems the runtime librarie of opencv are missing. I'm not familiar with opencv, but VS provides a way to find all dependencies: http://msdn.microsoft.com/en-us/library/vstudio/dd293568.aspx. You can build an installation package for your application.
Another way to find all dependencies is using depends.exe, details are in:http://msdn.microsoft.com/en-us/library/ms235265.aspx
I have been trying to run OpenCV through MVS 2012 with no succeess.
Here is an error i get:
1>LINK : fatal error LNK1104: cannot open file 'opencv_core242d.lib' 1> 1>Build FAILED.
Could someone provide me a tutorial? or how can i solve this problem?
I've written a blog post on Using OpenCV 2.4.2 with Visual Studio 2012 on Windows 7 (64-bit). With the step by step instructions provided, I think it should be pretty easy for you to get it done. Feel free to comment if you have any doubts.
Since OpenCV 2.4 does not work well with Visual Studio 2012. I think that's why you always got problems. Actually, it used me a lot of time to make all things work. So I wrote a very simple tutorial about how to use OpenCV 2.43 in Visual Studio 2012. Please check it. Good luck. If you still have questions, ask me again.
http://answers.opencv.org/question/6495/visual-studio-2012-and-rtlfreeheap-error/#6603
Some basic steps...
use cmake to create the .sln or the solution file ...make sure you choose right the compiler in cmake properly...use the address of the cmake file (CMakelist.txt) in the folder containing opencv files..
click on the .sln file (this will be found in the target folder whose path you have set in cmake to contain the build..) and open with VS2012
VS2012 will build your libraries and dlls...add the path of the dlls to the system variable PATH...put the path of the libs in the IDE..and the include files also..
restart VS2012 to make the changes in PATH variable to reflect
You have 2 options - one is to use the precompiled libraries and link them into your VS2012 projects.
The other is to use CMake to make the the right .SLN and .PRJX files so you can simply open them .SLN in VS2012 and compile everything for yourself.
Both have been discussed here, however, to add to the first option, you need to manually edit the top level CMAKElist.txt file with the following lines
if( MSVC ) # VS2012 doesn't support correctly the tuples yet
add_definitions( /D _VARIADIC_MAX=10 )
endif()
Before generating your solution files. This ensures that you don't have problems with the VARIADIC length issue with :tuple - which Visual studio 2012 has issues with.
there may be 2 option to solve your error:
1) You may use opencv 2.4.2 that may have some problems to connect with visual studio 2012
so use newer version of opencv
2) You need to restart your visual studio 2012 so that it can reconfigure its Setting as per requirements.
I have a DLL I wish to register with my GAC. I enter the command:
gacutil /i c:\temp\msvcr100.dll
and I get the error:
Failure adding assembly to the cache: The module was expected to contain an as
sembly manifest.
All I have is the DLL. Is there a way to create / fake / bypass it?
For those interested, I am attempting to extract the Visual Studio 2010 & .NET 4.0 CTP from the VHD and run it on my physical box. As a side note, has this been attempted?
Is this actually a GAC-able DLL? It doesn't seem like it. Maybe it's just reg-able? Why do you want to GAC it?
"For those interested, I am attempting to extract the Visual Studio 2010 & .NET 4.0 CTP from the VHD and run it on my physical box. As a side note, has this been attempted?"
FYI - At this point there is a full ISO image of Beta 1 you can download and legally run on your desktop if you want.
VS 2010 beta 1 on MSDN
It is only for MSDN subscribers at this point though. Will be added to Microsoft downloads later.
EDIT: It is now open for all to download
I've experienced this with (apparently) corrupt dlls (I assume failed copies from USB drives).
I suppose the same process is done when you drag and drop to C:\Windows\assembly?
Are you sure that "extract[ing] the Visual Studio 2010 & .NET 4.0 CTP from the VHD" doesn't violate the license agreement? If Microsoft wanted you to "run it [VS2010] on my physical box", they would have just made it available as a noraml install.
If you can create the manifest (I'm not sure what one should look like) it's easy enough to just load the DLL into Visual Studio's resource editor (File->Open->File->[select dll]->[click down chevron on the Open button]->Resource View) and just add the manifest to the dll.