|
[Sponsors] |
undefined reference to `caffe2::Workspace::RunNet(std::__cxx11::basic_str ing<char, st |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 19, 2021, 22:26 |
undefined reference to `caffe2::Workspace::RunNet(std::__cxx11::basic_str ing<char, st
|
#1 |
New Member
Join Date: May 2020
Posts: 8
Rep Power: 6 |
When I compiling a solver. I met an eroor"undefined reference to `caffe2::Workspace::RunNet(std::__cxx11::basic_str ing<char, std::char_traits<char>, std::allocator<char> > const&)'"
It seems that I fail builidng a link between caffe2 and openfoam. Here's my option file. Code:
EXE_INC = \ -I/home/cbq/anaconda3/envs/mytorch/lib/python3.6/site-packages/torch/lib \ -I/home/cbq/anaconda3/envs/mytorch/lib \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I/home/cbq/run/test/TurbulenceModels/testincompressible/lnInclude \ -I/home/cbq/run/test/transportModels \ -I/home/cbq/run/test/transportModels/testincompressible/testsinglePhaseTransportModel \ -I/home/cbq/run/test/TurbulenceModels/turbulenceModels/reynoldsNet/lnInclude \ -I/home/cbq/run/test/TurbulenceModels/turbulenceModels/lnInclude \ -I/home/cbq/run/test/TurbulenceModels/testincompressible/lnInclude \ EXE_LIBS = \ -lprotobuf -lglog -lgflags -lpthread \ -L/home/cbq/OpenFOAM/cbq-4.1/platforms/linux64GccDPInt32Opt/lib \ -L/home/cbq/anaconda3/envs/mytorch/lib/python3.6/site-packages/torch/lib \ -lc10 \ -lreynoldsnet \ -ltestturbulenceModels \ -ltestincompressibleTurbulenceModels \ -ltestincompressibleTransportModels \ -lfiniteVolume \ -lmeshTools \ -lfvOptions \ -lsampling \ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding Libraries to OpenFOAM | MCrossover97 | OpenFOAM Programming & Development | 10 | February 23, 2024 03:34 |
can not complie fluentDataToFoam in OF2.1.1 | hewei | OpenFOAM Pre-Processing | 20 | September 8, 2018 10:19 |
LiencubiclowRemodel | nzy102 | OpenFOAM Bugs | 14 | January 10, 2012 09:53 |
compile error about FJMPI | chiven | OpenFOAM Installation | 11 | March 31, 2010 07:27 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |