| |

VerySource

 Forgot password?
 Register
Search
View: 685|Reply: 3

Use of Xcimage

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-21 23:20:01
| Show all posts |Read mode
The relevant instructions for download are:
To use CxImage in your project, you must edit these settings:

Project Settings
|-C / C ++
| |-Code Generation
| | |-Use run-time library: Multithreaded DLL (must be the same for
| | | all the linked libraries)
| | |-Struct member alignment: must be the same for all the linked
| | | libraries
| |-Precompiled headers: not using precompiled headers
| |-Preprocessor
| |-Additional Include Directories: ..\cximage
|-Link
    |-General
        |-Object / library modules: ../png/Debug/png.lib
                                    ../jpeg/Debug/jpeg.lib
                                    ../zlib/Debug/zlib.lib
                                    ../tiff/Debug/tiff.lib
                                    ../cximage/Debug/cximage.lib ...
The several libraries that need to be added in the above Link option settings, but when the program runs, an error occurs, "cximage.lib could not be found", all the added * .lib libraries are not found, how can this happen? ? ?

(Note: The WIN32 project is created, convert the jpg to bmp format and save)

This is my first time using the xcimage library. Thank you for your help! !! !!
Reply

Use magic Report

1

Threads

27

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-2-7 00:30:01
| Show all posts
CxImage can be compiled directly, I am
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-2-9 00:00:01
| Show all posts
I just tried CxImage, which can be compiled and run directly, but now if you want to use it in the program, you need to add jpeg.lib and cximage.lib, but I can't find these two libraries!

Everyone know what to say, thank you! !! !!

Or use the xcimage class library to make a "jpg conversion to bmp format and save" program to tell me where the problem is, thank you! !! !!
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-19 12:30:01
| Show all posts
It’s been a long time since I’ve been online, the problem has been solved, come up to make a conclusion, ha ha

It's the problem of the directory path I copied. Change it to: ./cximage/Debug/cximage.lib in the setting and it's OK
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list