Hello everybody,
I am having troubles with compiling the LIGGGHTS project. Everytime I call make makelist I receive the error "grep: cfd_regionmodel_*.h: No such file or directory". I am able to compile the project with g++ from terminal, but I need to fix this error because I want to compile the project with Codeblocks so I can debug it. I had the similar error with the atom_*.h and dihedral_*.h but I fixed it by installing the package CLASS2. I am using the serial_debug makefile.
I would greatly appreciate any help.
Thanks Tomas
ckloss | Tue, 03/22/2011 - 08:11
>>Everytime I call make
>>Everytime I call make makelist I receive the error "grep: cfd_regionmodel_*.h: No such file or directory
Normally this should not be a problem... why do you need to fix this - can you explain a bit more?
Best,
Christoph
tomasbym | Tue, 03/22/2011 - 11:15
compile problem
Hi,
I am trying to compile the project in Codeblocks so I would be able to debug it.Unfortunately the debugging through CB.But the debugging doesn't work probably due to this error.
Do you know where is defined in the make file to search for this file?
Thank you for reply,
T.
ckloss | Tue, 03/22/2011 - 11:25
i am pretty sure your
i am pretty sure your debugging problem has nothing to do with that, this "grep" happens pre-compile
Christoph
tomasbym | Wed, 03/23/2011 - 19:55
Hello, I know it is not a
Hello,
I know it is not a debugging problem, but I reckon, that because of any error during the compiling or precompiling stage the Codeblocks is not able somehow to debug the code with GDB.
I ve spent lot of time trying to figure out but without success. Can you please help me how to modified the makefile so I don't recieve this error?
Or if this solution doesn't work, can you recommend me any other IDE for linux which I can use for debugging Liggghts. I ve been programming my whole life in VS but just because of Liggghts I ve install Ubuntu and I am still looking for a convenient IDE.
Thanks for the reply,
T.
ckloss | Wed, 03/23/2011 - 21:03
>>I know it is not a
>>I know it is not a debugging problem, but I reckon, that because of any error during the compiling or precompiling stage the Codeblocks is not able somehow to debug the code with GDB.
But that is no error... anyway, you have to modify the make.sh file in the /src dir to get rid of it. Each "grep" command corresponds to one line in the makefile that you have to remove completely. Look at the style_XX errormessage, and if you look for XX, you will find the line
>>an you recommend me any other IDE for linux
well, I don't know, I debug the old fashioned way...printing messages with "hello" :-)
Christoph