[Coin-discuss] Alps MS-VS workspace

Ted Ralphs tkralphs at lehigh.edu
Tue Aug 15 15:41:02 EDT 2006


Matt,

Can you submit a ticket for these changes? If you still don't have
TICKET_CREATE privileges, let's try to figure out why. Thanks.

Cheers,

Ted

Matthew Galati wrote:
> This works.... Thanks Andreas. The ALPs lib compiles in MSVS7 now. I'll
> try ABC next.
> 
> The only other change I had to make was:
> 
> magala at l11062 ~/COIN_NEW/Coin-Alps/Alps
> $ svn diff
> Index: src/AlpsKnowledge.cpp
> ===================================================================
> --- src/AlpsKnowledge.cpp       (revision 301)
> +++ src/AlpsKnowledge.cpp       (working copy)
> @@ -26,7 +26,7 @@
> //#############################################################################
> 
> 
> AlpsEncoded*
> -AlpsKnowledge::AlpsKnowledge::encode() const
> +AlpsKnowledge::encode() const
> {
>     AlpsEncoded* encoded =
>        new AlpsEncoded(const_cast<char*>(typeid(*this).name()));
> 
> 
>> Hi,
>>
>>> 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
>>
>>
>> You need to include
>>
>> c:\cygwin\home\magala\COIN_NEW\Coin-Alps\BuildTools\headers
>>
>> into your include file directory search path if you use the developer
>> studio.
>>
>> Andreas
>>
>>>
>>> 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
>>>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss


-- 
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2



More information about the Coin-discuss mailing list