v1.3.4 will not compile

Discuss development issues and submit patches here
Post Reply
PhilG57
Posts: 3
Joined: Sun Nov 20, 2011 12:02 am

v1.3.4 will not compile

Post by PhilG57 »

Tried to compile the source distributed with 1.3.4. Microsoft Visual C++ 2010 Express could not this file: #include <boost\date_time\posix_time\posix_time.hpp> required by source module ColumnManager.cpp in project ShellBrowser.

Can you please help? Thanks.
Greenhorn
Posts: 3
Joined: Sun Apr 10, 2011 11:53 pm

Re: v1.3.4 will not compile

Post by Greenhorn »

Hi,

I think you'll need the Boost library installed on your system (to read the "Readme.txt" is always a good idea ;) ).
http://www.boost.org/

Boost Visual Studio Installer
http://www.gordon-taft.net/Boost.html


Regards
Greenhorn
PhilG57
Posts: 3
Joined: Sun Nov 20, 2011 12:02 am

Re: v1.3.4 will not compile

Post by PhilG57 »

Thanks - that fixed the problem. I didn't read the 'readme' in the source file folder. It was kind of a problem getting MS VC++ 2010 configured to include the "boost" files, but I finally figured it out. Thanks again.
yokese
Posts: 4
Joined: Wed Oct 26, 2011 6:29 am

Re: v1.3.4 will not compile

Post by yokese »

I'd be very grateful if you (or anybody) explain what to set in BOOST and BOOST_LIB environment variables. I've tried with several versions of boost without success. The README settings doesn't work for an standard boost installation (also 'stage' directory setting example doesn't exist). Unfortunately, I'm not very experienced with Visual Studio.

I always get this error compiling:

Code: Select all

ClCompile:
  All outputs are updated.
  ColumnManager.cpp
c:\src\boost_1_46_1\boost\iterator\iterator_categories.hpp(17): fatal error C1083: Can't open file to include: 'boost/mpl/placeholders.hpp': No such file or directory

Compiling ERROR.
I've found 'iterator_categories.hpp' with other files in '\boost\mpl\aux_\preprocessed\[compiler] that I guess I have to copy to '\boost\mpl\' (?) or setting BOOS or BOOST_LIB in some way. Another problem is that I'm using Visual Studio 10 and I don't see a proper [compiler] directory to use.

Please help.
AlexBelgium
Posts: 2
Joined: Sun Oct 14, 2012 1:21 am

Re: v1.3.4 will not compile

Post by AlexBelgium »

I've this handy tutorial which solved my problem: http://beans.seartipy.com/2007/08/20/in ... -20032005/

Below are pictures of what you have to alter: (version of boost can be different) for each subproject.

http://beans.seartipy.com/wp-content/up ... erties.jpg & http://beans.seartipy.com/wp-content/up ... rties2.jpg

After that I get other error: Error 1 error MSB3073: The command "subwcrev.exe "C:\Explorer++ SRC\Explorer++\.." "C:\Explorer++ SRC\Explorer++\Explorer++\Version.h.tmpl" "C:\Explorer++ SRC\Explorer++\Explorer++\Version.h"
:VCEnd" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 103 6 Explorer++
Post Reply