|
The problem is clearly stated in the error message: the linker can't find the file "libboost_filesystem-vc80-mt-gd-1_35.lib". So two questions occur:
1. Has this file been built (Boost.FileSystem is NOT a header only library)?
2. Has the path to this file been specified in the project settings?
Steve
|
|
|
|
|
H3y hi every1 please help me out i am Just creating a small program in c++, which is use to show all the content Of a directory .. i am Using BOOST LIBRARY beacuse there is nO other option for e if there nay other option plzz do tell me and tell me how to resolve this prob actually prog is compiling but i dont know whats wrong its keep on giving this Error i am Using Visual STudio 2005 ... please help me
|
|
|
|
|
Download and install "BoostPro 1.35.0 Installer" from this site.
http://www.boostpro.com/products/free[^]
Then link with the library "libboost_filesystem-vc80-mt-gd-1_35.lib" which is included with the installer.
-Saurabh
|
|
|
|
|
thanks FOr reply But my dear brother i have already installed that but still itx not working i dont know about the prob PLzz help me
|
|
|
|
|
Have you linked the lib file in the Project-->Settings menu as Saurabh.Garg told you above?
|
|
|
|
|
yes i have linked the folder of lib in addition libraris . but still not working
|
|
|
|
|
Ah my bad I didnt look at the error more carefully. Linker is not able to find the lib file. Try giving the full path to the library or set the folder where boost libraries are under Project->Properties->Linker->Genral->Addition Library Directories.
-Saurabh
|
|
|
|
|
Hi all
I am trying to take exchange server 2003 backup and restore
programmatically. I am using Visual C++ for coding.
My backup function works fine. But i am in problem in restoring
database. My HrESERestoreAddDatabase is not working well. The
HrESERestoreAddDatabase is returning HRESULT -939587631.
Will anyone give me any link related exchange server 2003 backup? Or
can anyone give me sample code or link to sample code related to
HrESERestoreAddDatabase() method?
Thanks in advance
Nasif
Nasif
|
|
|
|
|
CThree.h is :
template < class T ><br />
class CThree<br />
{<br />
private:<br />
T a, b, c;<br />
public:<br />
CThree(T t1, T t2, T t3);<br />
T Min();<br />
T Max();<br />
};
CThree.cpp is :
template < class T ><br />
T CThree< T >::Min()<br />
{<br />
T minab = a < b ? a : b;<br />
return minab < c ? minab : c;<br />
}<br />
<br />
template < class T ><br />
T CThree< T >::Max()<br />
{<br />
T maxab = a < b ? b : a;<br />
return maxab < c ? c : maxab;<br />
}<br />
<br />
template < class T ><br />
CThree< T >::CThree(T t1, T t2, T t3):a(t1), b(t2), c(t3)<br />
{<br />
return;<br />
}
compile is ok, but when I use this Template Classe, it take wrong.
Usage code is :
CThree< int > obj1(2, 5, 4);<br />
int MAX1 = obj1.Max();<br />
int MIN1 = obj1.Min();
part of the wrong is :
1>TemplateFunction.obj : error LNK2019: unresolved external symbol "public: __thiscall CThree<int>::CThree<int>(int,int,int)" (??0?$CThree@H@@QAE@HHH@Z) referenced in function _wmain
Anybody tell me why?
Thanks!
|
|
|
|
|
|
It's a perfect article, thanks a lot!
|
|
|
|
|
You are welcome.
-Saurabh
|
|
|
|
|
|
Code must be written to be read, not by the compiler, but by another human being.
good word, thinks!
|
|
|
|
|
|
Hi everyone,
I want to learn make services but I don't know any thing about it do you know good reference or book for it?
|
|
|
|
|
|
I'm developing a game application, with multiple windows, in C++ on Win32.
My sound needs is to play a few short sounds when some events happen, plus some background music in the main menu.
The thing I need to do : stop play sounds of window1 when switching focus to window2 in my application.
I CAN DO THIS PROGRAMMATICALLY, but I wonder if it's a built-in capability of the DirectSound API.
Note: it does auto-mutes my app sounds when switching focus to another app, but doesn't when switching windows inside my app.
|
|
|
|
|
I want to rotate view and also want to add a feature of viewing multiple documents (2/4) in single view (Just like Adobe PDF reader provides). Any help ?
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg."
- Bjarne Stroustrup
|
|
|
|
|
To make more documents but in different windows you can use multiple instance of an SDI application, if you want them in one only instance, then MDI app
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
it would see to me that If I have console application and want to do some Windows GUI CreateWindows, Dialog Box etc
I woould have to do a CreateProcess and have a .exe With a WinMain
Entry Point ???
|
|
|
|
|
|
I would then have to change the DOS app (MAIN) to A GUI App use WInMain
CHange the Subsystem in Visual Stuido right ????
|
|
|
|
|
ForNow wrote: I would then have to change the DOS app (MAIN) to A GUI App use WInMain
CHange the Subsystem in Visual Stuido right ????
Or just start a new project and share the required source files into the new project.
Also it's not a DOS app. Win32 has a console mode but there is no DOS, it's gone.
led mike
|
|
|
|
|