[Coin-discuss] Alps MS-VS workspace

J P Fasano jpfasano at us.ibm.com
Tue Aug 15 14:08:01 EDT 2006


>fatal error C1083: Cannot open include file: 'configall_system.h'
This is from not specifiying Coin-Alps\BuildTools\headers in the include
path
This type of detail can be specified in the project files.

The other errors may need source code changes to put it in a form
acceptable by the MS compiler.
I was trying to ask if the Alps source code is written in a way that the
compiler accepts.

A possible way to test this without the project files is to build with the
MS compiler in the cygwin environment.
Something like the following should work:
   cd \cygwin\home\magala\COIN_NEW\Coin-Alps
   ./configure -C CXX=cl
   make
   make test
   make install
see: https://projects.coin-or.org/MSVisualStudio/wiki
The configure line indicates that the MS compiler (cl) should be used
rather than gcc.
Of course the cl compiler will need to be in your path for this to work.

JP


                                                                           
             Matthew Galati                                                
             <magh at lehigh.edu>                                             
             Sent by:                                                   To 
             coin-discuss-boun         Discussions about open source       
             ces at list.coin-or.         software for Operations Research    
             org                       <coin-discuss at list.coin-or.org>     
                                                                        cc 
                                                                           
             08/15/2006 01:35                                      Subject 
             PM                        Re: [Coin-discuss] Alps MS-VS       
                                       workspace                           
                                                                           
             Please respond to                                             
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           




I was unaware that v8 was freely available. We have VS2003 installed
here at work - and it runs v7.

When I put ALPs source into project workspace I get:

c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsConfig.h(38) :
fatal error C1083: Cannot open include file: 'configall_system.h': No
such file or directory
AlpsSubTree.cpp

among other errors like:
c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.cpp(29)
: error C2039: '__ctor' : is not a member of 'AlpsKnowledge'

c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.h(48) :
see declaration of 'AlpsKnowledge'
c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.cpp(30)
: error C2270: 'encode' : modifiers not allowed on nonmember functions
c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.cpp(32)
: error C2673: 'encode' : global functions do not have 'this' pointers
c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.cpp(32)
: error C2228: left of '.name' must have class/struct/union type
c:\cygwin\home\magala\COIN_NEW\Coin-Alps\Alps\src\AlpsKnowledge.cpp(33)
: error C2673: 'encode' : global functions do not have 'this' pointers


>>I'd like to build with v7
>>
>>
>Any reason not to use v8 since it is freely available?
>http://msdn.microsoft.com/vstudio/express/visualc/
>
>Does anyone know if the ALPS source code compiles with v7 or v8?
>
>
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss





More information about the Coin-discuss mailing list