LiChenPU / NetID

A global network optimization approach for untargeted LC-MS metabolomics data annotation and metabolite discovery
GNU General Public License v3.0
44 stars 25 forks source link

cplex.dll file not recognized:fill format not recognized #8

Open YUANMY2021 opened 2 years ago

YUANMY2021 commented 2 years ago

Excuse me : I followed your toturial in Stpe4(Figure 1), to change the file

but whether I change this cpxconst.h file or not, I always get the following errors in .dll file recognization (Figure 2)

Figure 1

image

Figure 2

image
zty12 commented 2 years ago

@YUANMY2021 It looks like the linker is not able to find cplexAPI, make sure you have modified these files correctly, including " Makevars.win" and "cpxconst.h". Then you can try the following commands: R CMD INSTALL --configure-args=" --with-cplex-dir='/Applications/CPLEX_Studio1210/cplex'" /Users/{your name}/cplexAPI_1.4.0.tar.gz The first path is your CPLEX_Studio1210 installlation path, the secong path is the location of the package.

YUANMY2021 commented 2 years ago

I checked all your suggestions and all the things are right (Follow the window's install pipeline), and I searched that the dll can not be recognized maybe the environment have gcc32 & gcc64 at the same time, and some complications occurred.

But I managed to successfully install it on my mac!

But when running the demo the "NetID_run_script.R"

I got the following errors:

-----Original Messages----- From:zty12 @.> Sent Time:2022-04-01 11:03:52 (Friday) To: LiChenPU/NetID @.> Cc: YUANMY2021 @.>, Mention @.> Subject: Re: [LiChenPU/NetID] cplex.dll file not recognized:fill format not recognized (Issue #8)

@YUANMY2021 It looks like the linker is not able to find cplexAPI, make sure you have modified these files correctly, including " Makevars.win" and "cpxconst.h". Then you can try the following commands: R CMD INSTALL --configure-args=" --with-cplex-dir='/Applications/CPLEX_Studio1210/cplex'" /Users/{your name}/cplexAPI_1.4.0.tar.gz The first path is your CPLEX_Studio1210 installlation path, the secong path is the location of the package.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

YUANMY2021 commented 2 years ago

And this is due to my version of CPLEX

-----Original Messages----- From:"袁梦一" @.> Sent Time:2022-04-01 12:29:35 (Friday) To: LiChenPU/NetID @.> Cc: Subject: Re: Re: [LiChenPU/NetID] cplex.dll file not recognized:fill format not recognized (Issue #8)

I checked all your suggestions and all the things are right (Follow the window's install pipeline), and I searched that the dll can not be recognized maybe the environment have gcc32 & gcc64 at the same time, and some complications occurred.

But I managed to successfully install it on my mac!

But when running the demo the "NetID_run_script.R"

I got the following errors:

-----Original Messages----- From:zty12 @.> Sent Time:2022-04-01 11:03:52 (Friday) To: LiChenPU/NetID @.> Cc: YUANMY2021 @.>, Mention @.> Subject: Re: [LiChenPU/NetID] cplex.dll file not recognized:fill format not recognized (Issue #8)

@YUANMY2021 It looks like the linker is not able to find cplexAPI, make sure you have modified these files correctly, including " Makevars.win" and "cpxconst.h". Then you can try the following commands: R CMD INSTALL --configure-args=" --with-cplex-dir='/Applications/CPLEX_Studio1210/cplex'" /Users/{your name}/cplexAPI_1.4.0.tar.gz The first path is your CPLEX_Studio1210 installlation path, the secong path is the location of the package.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>