[Cbc] Cbc test & example compilation problem

Iain Dunning iaindunning at gmail.com
Thu Oct 27 11:57:53 EDT 2011


https://projects.coin-or.org/Cbc/wiki/VSSetup
I made this earlier this year, hopefully you can adapt this to your
particular needs.

- Iain
 On Oct 26, 2011 5:34 PM, "Ted Ralphs" <ted at lehigh.edu> wrote:

> Christos,
>
> Please see the comment on the ticket here for a suggestion to fix your
> problem:
>
> https://projects.coin-or.org/BuildTools/ticket/92#comment:3
>
> You will save yourself a lot of trouble, though, if you just open the Cbc
> solution file and modify the examples there rather than building your own
> from scratch.
>
> Cheers,
>
> Ted
>
> On Wed, Oct 26, 2011 at 4:29 PM, Christos <chtsolak at gmail.com> wrote:
>
>>  I am a student and i make research. I use windows 7 and MS visual studio
>> 2010 ultimate.
>>
>> I want to run gamsTest.cpp which is in Cbc-2.7.4\Cbc\test directory in Cbc
>> package, in order to compare with the gams model.
>>
>> I make a new visual studio project and i copy-paste the code in the source
>> code .cpp file.
>>
>> I put the .h and .cpp files needed from the
>> C:\Users\Christos\Desktop\Cbc-2.7.4\Cbc\src
>> C:\Users\Christos\Desktop\Cbc-2.7.4\Cgl\src
>> C:\Users\Christos\Desktop\Cbc-2.7.4\Clp\src
>> C:\Users\Christos\Desktop\Cbc-2.7.4\Osi\src
>>
>> in the same folder with the project.
>>
>> But i get 17 errors all like this:
>> Error    1    error LNK2019: unresolved external symbol "void __cdecl
>> WindowsErrorPopupBlocker(void)" (?WindowsErrorPopupBlocker@@YAXXZ)
>> referenced in function _main
>> C:\Users\Christos\Desktop\dipl_test\dipl\dipl\dipl.obj    dipl
>>
>> (there is attached photo)
>>
>> Can anyone help?
>> Thank you
>>
>> _______________________________________________
>> Cbc mailing list
>> Cbc at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/cbc
>>
>>
>
>
> --
> Dr. Ted Ralphs
> Associate Professor, Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20111027/b7f65925/attachment.html>


More information about the Cbc mailing list