Compile my own c++ class
Hi, Foamers!
I'm using openFoam v2106 to program my own solver. For convenience, I write a new C++ class. My problem: when I complie the new class alone, it works and corresponding file libIBSystem.so has been created successfully. However, when I complie the whole solver project(the solver's main file .C and new class .C), it doesn't work. I think my options file is not appropriate, but I don't know how to modify it. If someone can help me, I will be very grateful. Thank you! This is my options files (my new class name: IBSystem): Code:
EXE_INC = \ Code:
Make/linux64GccDPInt32Opt/options:60: *** missing separator. Stop. http://www.tfd.chalmers.se/~hani/kur...InOpenFOAM.pdf |
Aren't you missing a backslash?
Quote:
|
Quote:
By the way. What is the role of this backslash? when I should use this symbol? When I learned others' cases, this symbol sometimes appears and sometimes it doesn't. |
Quote:
Backslash with a newline means a line continuation when using pre-processing macros. Be certain that you do not have something like "backslash spaces newline" - this will not work! |
All times are GMT -4. The time now is 06:53. |