CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

wmake libso Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2019, 15:35
Default wmake libso Error
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
I am trying to implement a motion solver linearMotionLayersFvMesh, which is motion solver with layer additional and removal. I have created a folder within topoChangerFvMesh and copied the .c and .h files over. The 'files' and 'options' files have also been changed. When I run wmake libso from within the topoChangerFvMesh folder I get the following error. Could anyone shine a lot on this. I run wclean lib before wmake libso, and I am using BlueCFD on Windows 10.

Code:
$ wmake libso
wmake libso .
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file linearMotionLayersFvMesh.C
could not open file Time.H for source file linearMotionLayersFvMesh/linearMotionLayersFvMesh.C
could not open file Function1.H for source file linearMotionLayersFvMesh/linearMotionLayersFvMesh.C
Making dependency list for source file topoChangerFvMesh.C
could not open file Time.H for source file topoChangerFvMesh/topoChangerFvMesh.C
$(/home/ofuser/blueCFD/OpenFOAM-5.x/wmake/scripts/makeReinterpretExePath x86_64-w64-mingw32-g++) -std=c++11 -Dmingw_w64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -DWIN64 -DLITTLE_ENDIAN -DWIN64 -DLITTLE_ENDIAN -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O2 -DNDEBUG -gdwarf  -DNoRepository -ftemplate-depth-100 -D_FILE_OFFSET_BITS=64 -D_MODE_T_ -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/finiteVolume/lnInclude -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/dynamicFvMesh/lnInclude -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/dynamicMesh/lnInclude -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/topoChangerFvMesh/lnInclude -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/meshTools/lnInclude @Make/mingw_w64GccDPInt32Opt/includeHeaderPaths -IlnInclude -I. -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/OpenFOAM/lnInclude -I/home/ofuser/blueCFD/OpenFOAM-5.x/src/OSspecific/MSwindows/lnInclude   -c topoChangerFvMesh/topoChangerFvMesh.C -o C:/Program Files/blueCFD-Core-2017/OpenFOAM-5.x/src/topoChangerFvMesh/Make/mingw_w64GccDPInt32Opt/topoChangerFvMesh/topoChangerFvMesh.o
X8E3D3~1.EXE: error: Files/blueCFD-Core-2017/OpenFOAM-5.x/src/topoChangerFvMesh/Make/mingw_w64GccDPInt32Opt/topoChangerFvMesh/topoChangerFvMesh.o: No such file or directory
make: *** [/home/ofuser/blueCFD/OpenFOAM-5.x/wmake/rules/General/transform:26: Make/mingw_w64GccDPInt32Opt/topoChangerFvMesh/topoChangerFvMesh.o] Error 1
Sean95 is offline   Reply With Quote

Old   January 6, 2019, 15:30
Default
  #2
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
Update:

It seems that this issue was caused by the fact that OpenFOAM was being run using blueCFD as it worked perfectly on Ubuntu.

Last edited by Sean95; January 6, 2019 at 16:37.
Sean95 is offline   Reply With Quote

Old   January 6, 2019, 16:28
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Unfortunately wmake with blueCFD-Core doesn't always work as intended, either due to spaces in the folder names or due to very long path names, which is why we've provided instructions on our FAQ page on how to work around these issues: http://bluecfd.github.io/Core/FAQ/#p...om-source-code - section "Problems with building from source code"
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 09:34.