Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Error #1

Open
fpiergen opened this issue Aug 8, 2019 · 7 comments
Open

Compile Error #1

fpiergen opened this issue Aug 8, 2019 · 7 comments

Comments

@fpiergen
Copy link

fpiergen commented Aug 8, 2019

Got this error on my MAC.

Undefined symbols for architecture x86_64:
"_FrontMtx_MT_factorInpMtx", referenced from:
_factor_MT in ccx_2.15.a(spooles.o)
"_FrontMtx_MT_solve", referenced from:
_fsolve_MT in ccx_2.15.a(spooles.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [ccx_2.15] Error 1

Any suggestions? Thanks for your efforts.

@fpiergen
Copy link
Author

fpiergen commented Aug 8, 2019

I looked at the spooles.a library file I created and do not see that symbol. I see FrontMtx_factorInpMtx.

@fpiergen
Copy link
Author

fpiergen commented Aug 8, 2019

Got it working. Had to uncomment some lines when building SPOOLES then add MT library when building ccx. Can provide details if anyone interested.

@uom0
Copy link

uom0 commented Dec 29, 2019

Hello @fpiergen,
I found a similar issue when compiling it on Mac OS Catalina.
Could you please provide further details on how did you solve this issue?
Thanks!.

@remijaboeuf
Copy link

hello! I would love some help too! thank you very much in advance.

@remijaboeuf
Copy link

remijaboeuf commented Apr 5, 2020

Hello, following the following steps, things work for me on MACOS 10.15.

  • download the files from https://github.com/bobmel/CalculiX

  • install Arpack

  • uncomment the lines of the Makefile in the folder SPOOLES.2.2.
    #cd MT; make lib
    #cd MT/src; make -f makeGlobalLib

  • run "make lib" for spooles

  • in the makefile of CalculiX change the following lines
    LIBS =
    $(DIR)/spooles.a
    ../../../ARPACK/libarpack_MAC.a

as follows

LIBS =
$(DIR)/MT/src/spoolesMT.a
$(DIR)/spooles.a
../../../ARPACK/libarpack_MAC.a

  • run make in the calculix/src folder.
  • everything should work fine now.

thanks so much to @bobmel & @fpiergen !
cheers!

@cubayang
Copy link

cubayang commented Jun 5, 2020

Hi, @fpiergen & @remijaboeuf,

I got some errors when compiling SPOOLES on MacOS Catalina. It seems that I cannot successfully install them by following the instructions in the pdf file. Could you please share some details about this?

Thanks!

@OxygenLiu
Copy link

Hello, following the following steps, things work for me on MACOS 10.15.

It works on 10.15.7 (19H15)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants