← Back to team overview

cuneiform team mailing list archive

Re: Try build in MSVS2008

 




* Dmitry Polevoy <openocr.polevoy@xxxxxxxxx> [Wed, 17 Dec 2008 13:15:09 +0300]:
To produce lib file you should export some symbols from your library.
Try to
use __declspec(dllexport) for functions.

For exampes look at CCOM_FUNC and preprocessor definitions for library
building.


2008/12/9 Aleks Kuzemko <kuzemkoa@xxxxxxxxxx>

>
>
>
> * Dmitry Polevoy <openocr.polevoy@xxxxxxxxx> [Tue, 9 Dec 2008
15:25:57
> +0300]:
>
>> Did you use CMake or MSVC++ IDE (and vcproj files for projects)?
>>
>> 'Do not produce lib' is a project property.
>>
>> 2008/12/9 Aleks Kuzemko <kuzemkoa@xxxxxxxxxx>
>>
>> > I try build cuneiform-linux in MSVS2008. (I know that is not
build
>>
> at
>
>> this
>> > time)
>> > But there are some error message like windummy.lib not found.
>> > I see in Debug directory only 7 *.lib: ccom.lib, cpu.lib,
cstr.lib,
>> > dif.lib, mmx.lib, rdib.lib, rsadd.lib. There is a windummy.dll
but
>>
> not
>
>> lib
>> > file. Any idea?
>> >
>> > _______________________________________________
>> > Mailing list:
>> https://launchpad.net/~cuneiform
<https://launchpad.net/%7Ecuneiform><
>> https://launchpad.net/%7Ecuneiform>
>> > Post to     : cuneiform@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe :
>> https://launchpad.net/~cuneiform
<https://launchpad.net/%7Ecuneiform><
>> https://launchpad.net/%7Ecuneiform>
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
> I run Cmake then I open cuneiform.sln in MSVS2008.
> I dont found 'Do not produce lib' in project property. I use russian
Visual
> Studio Team System 2008
>
>
> _______________________________________________
> Mailing list:
https://launchpad.net/~cuneiform<https://launchpad.net/%7Ecuneiform>
> Post to     : cuneiform@xxxxxxxxxxxxxxxxxxx
> Unsubscribe :
https://launchpad.net/~cuneiform<https://launchpad.net/%7Ecuneiform>
> More help   : https://help.launchpad.net/ListHelp
>

_______________________________________________
Mailing list: https://launchpad.net/~cuneiform
Post to     : cuneiform@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~cuneiform
More help   : https://help.launchpad.net/ListHelp

With revision 335 cuneiform-linux build with MSVC 2008, but not work.

C:\Program Files\cuneiform\bin>cuneiform.exe test.bmp
Cuneiform for Linux 0.5.0
RSTR: Can't load recog tables
PUMA_Init failed.

On Linux this revision compile and work.



Follow ups

References