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

compiling cmod-tools #7

Open
raeTen opened this issue Feb 22, 2015 · 0 comments
Open

compiling cmod-tools #7

raeTen opened this issue Feb 22, 2015 · 0 comments

Comments

@raeTen
Copy link

raeTen commented Feb 22, 2015

Compiler issue fixes:
I am not very experienced with qmake, but this may help you with
compiling cmod-tools, and help "qmake"-devs to fix in better manner

If you get errors while compiling the cmod tools in

src/tools/cmod
you might try:
(after qmake within)

First: Copy (or move) all files
    FROM src/tools/cmod/common TO
    src/tools/cmod/3dstocmod
    (maybe changing the makefile will do the job, too)

Compiler complains about not finding "io.h" [cmodsphere]
    replace
    #<include io.h>         with
    #<include sys/io.h>     in
    cmodsphere.cpp

Linker complains about undefined references to glu_Things... [cmodviews]
    Edit src/tools/cmod/cmodviews/makefile
    APPEND to the line which begins with "LIBS" (after -lpthread)
    -lglut -lGLU

Compiler complains "exit" not in that scope... [itokawa]
    Edit src/tools/cmod/itokawa/txt2cmod.cpp
    ADD the line
    #include <cstdlib>
    (below the one #include <iostream>

after "Make" that, I had all those nice tools up and running...
btw "make install" didn't work, too.

Missing parameters for "qmake"?

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

1 participant