askim11 / topmod

Automatically exported from code.google.com/p/topmod
0 stars 0 forks source link

Linux binary needed #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Several people have emailed me asking for Linux sources. At this point I
don't think the source is in a form that can be released, but we should at
least be able to get a Linux binary out.

Original issue reported on code.google.com by vinod.sr...@gmail.com on 23 Apr 2007 at 6:38

GoogleCodeExporter commented 8 years ago
A linux binary is available at the top of this forum thread: 

http://www.topmod3d.org/forum/viewtopic.php?p=315#p315

I know it's a strange place to put it, but that's I have for now. Just check 
out the
source code and compile it, it will likely work better for you.

Original comment by dvmor...@gmail.com on 17 Jul 2008 at 3:17

GoogleCodeExporter commented 8 years ago
I am looking forward to haveing 64bit version available. And yes, preferably in
source form. 
Current version doesn't even compile on 64bits and therefore I cannot agree 
with this
issue as FIXED.

Original comment by hacx...@gmail.com on 21 Jun 2009 at 11:03

GoogleCodeExporter commented 8 years ago
It's NOT fixed, especially as topmod3d.org is now down.

Original comment by simonc...@gmail.com on 10 Jul 2010 at 4:12

GoogleCodeExporter commented 8 years ago
please I really need help with the program and I don't know where else to ask. 
Can someone explain to me how does the camera work? I want to rotate the 
render, but the only thing i can do is zoom in and out!
Thankyou

Original comment by da.fe...@gmail.com on 10 Jul 2010 at 5:38

GoogleCodeExporter commented 8 years ago
Try this file out:

http://www.ends170.com/topmod.zip

You will have to rename it to topmod.linux. I believe it was compiled for 
Fedora, but I have heard of people getting it to work on Ubuntu and a few other 
distro's as well. Let me know if you have any trouble with it,

Dave

Original comment by dvmor...@gmail.com on 10 Jul 2010 at 8:42

GoogleCodeExporter commented 8 years ago
That works great, thanks. :)

Sorry for the late reply.

Original comment by simonc...@gmail.com on 17 Jul 2010 at 9:33

GoogleCodeExporter commented 8 years ago
The file in comment #5 doesn't seem to be anything like the full program.  I 
tried running the Windows version in wine and got what looks like a very 
full-featured program--with all the menus and tool-tips in Tibetan.  The file 
in comment #5 runs and shows a simple demo (even titled "DFDL Demo"), nothing 
at all like the actual program.

I don't think you can rightly mark this as FIXED when there is not, in fact, a 
fix for it.

Original comment by mark.sho...@gmail.com on 13 Sep 2010 at 5:13

GoogleCodeExporter commented 8 years ago
I had check out the source file. The only trick that make source code 
successfully compiled under Ubuntu is somewhat like this:

install python2.5 with Debian/Ubuntu regular directory style(since the recent 
repository pkg under Ubuntu 10.04 or higher does not provide python2.5 and 
python2.5-dev)

modify the following line in makeall.sh
{{{
##  python dlfl_setup.py install  
  python2.5 dlfl_setup.py install
}}}
And modify the following line in topmod.pro
{{{
##      LIBS += -lpython2.5 -L/usr/lib/python2.5/config
        LIBS += -lpython2.5 -L/usr/lib/python2.5/config -lutil -lm
}}}
Alternatively, I simply edit the auto-generated Makefile by adding -lutil -lm

I hope those tips are useful for who wanna compile TopMod under Linux.

Original comment by yel...@gmail.com on 28 Oct 2011 at 6:49

GoogleCodeExporter commented 8 years ago
Hi, I've followed your instructions but it won't compile, I'm in Ubuntu 12.04 
64bits..I really liked this soft which I tested it on a live distro 
"openArtist" but I'd like to have it on my distro, it has been very frustrating 
trying to compile all this hours...this is what I get..I hope someone can help:

bitflow@bitflow-VPCEH2N1E:~/topmod-read-only/topmodx$ ./makeall.sh
cd vecmat && make -f Makefile
make[1]: ingresso nella directory 
"/home/bitflow/topmod-read-only/topmodx/include/vecmat"
make[1]: ***  Nessuna regola per generare l'obiettivo 
"/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf", necessario per "Makefile".  
Arresto.
make[1]: uscita dalla directory 
"/home/bitflow/topmod-read-only/topmodx/include/vecmat"
make: *** [sub-vecmat] Errore 2
Building DLFL Python Module...
running build
running build_ext
building 'dlfl' extension
gcc -mno-cygwin -mdll -O -Wall -I.. -I../vecmat -I../dlflcore -I../dlflaux 
-I/usr/include/python2.7 -c DLFLModule.cc -o 
build/temp.linux-x86_64-2.7/DLFLModule.o
cc1plus: error: unrecognized command line option ‘-mno-cygwin’
cc1plus: error: unrecognized command line option ‘-mdll’
error: command 'gcc' failed with exit status 1
make: *** [dlfl] Errore 1
running install
running build
running build_ext
building 'dlfl' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I.. -I../vecmat -I../dlflcore -I../dlflaux 
-I/usr/include/python2.5 -c DLFLModule.cc -o 
build/temp.linux-x86_64-2.5/DLFLModule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from ../dlflcore/DLFLCommon.hh:40,
                 from ../dlflcore/DLFLObject.hh:51,
                 from ../dlflcore/DLFLCore.hh:36,
                 from DLFLModule.cc:36:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated. [-Wcpp]
In file included from ../dlflcore/DLFLObject.hh:53:0,
                 from ../dlflcore/DLFLCore.hh:36,
                 from DLFLModule.cc:36:
../dlflcore/DLFLFaceVertex.hh: In member function ‘void 
DLFL::DLFLFaceVertex::assignID()’:
../dlflcore/DLFLFaceVertex.hh:97:25: error: cast from 
‘DLFL::DLFLFaceVertex*’ to ‘unsigned int’ loses precision [-fpermissive]
In file included from ../dlflcore/DLFLCore.hh:36:0,
                 from DLFLModule.cc:36:
../dlflcore/DLFLObject.hh: In member function ‘void 
DLFL::DLFLObject::makeEdgesUnique()’:
../dlflcore/DLFLObject.hh:362:56: error: cast from ‘DLFL::DLFLEdge*’ to 
‘unsigned int’ loses precision [-fpermissive]
../dlflcore/DLFLObject.hh: In member function ‘void 
DLFL::DLFLObject::makeFacesUnique()’:
../dlflcore/DLFLObject.hh:373:56: error: cast from ‘DLFL::DLFLFace*’ to 
‘unsigned int’ loses precision [-fpermissive]
../dlflcore/DLFLObject.hh: In member function ‘void 
DLFL::DLFLObject::addEdgePtr(DLFL::DLFLEdgePtr)’:
../dlflcore/DLFLObject.hh:417:45: error: cast from ‘DLFL::DLFLEdgePtr {aka 
DLFL::DLFLEdge*}’ to ‘unsigned int’ loses precision [-fpermissive]
../dlflcore/DLFLObject.hh: In member function ‘void 
DLFL::DLFLObject::addFacePtr(DLFL::DLFLFacePtr)’:
../dlflcore/DLFLObject.hh:429:45: error: cast from ‘DLFL::DLFLFacePtr {aka 
DLFL::DLFLFace*}’ to ‘unsigned int’ loses precision [-fpermissive]
In file included from ../dlflcore/DLFLCore.hh:36:0,
                 from DLFLModule.cc:36:
../dlflcore/DLFLObject.hh: In member function ‘DLFL::DLFLMaterial* 
DLFL::DLFLObject::addMaterial(RGBColor)’:
../dlflcore/DLFLObject.hh:617:51: warning: format ‘%d’ expects argument of 
type ‘int’, but argument 3 has type 
‘std::list<DLFL::DLFLMaterial*>::size_type {aka long unsigned int}’ 
[-Wformat]
DLFLModule.cc: In function ‘PyObject* dlfl_kill_obj(PyObject*, PyObject*)’:
DLFLModule.cc:238:23: warning: unused variable ‘obj’ [-Wunused-variable]
DLFLModule.cc: In function ‘PyObject* dlfl_switch_obj(PyObject*, 
PyObject*)’:
DLFLModule.cc:261:39: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
DLFLModule.cc: In function ‘PyObject* dlfl_subdivide_edge(PyObject*, 
PyObject*)’:
DLFLModule.cc:374:36: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
DLFLModule.cc: In function ‘PyObject* dlfl_corner_walk(PyObject*, 
PyObject*)’:
DLFLModule.cc:639:34: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
DLFLModule.cc: In function ‘PyObject* dlfl_walk(PyObject*, PyObject*)’:
DLFLModule.cc:663:33: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
DLFLModule.cc:667:34: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
DLFLModule.cc: In function ‘void initdlfl()’:
DLFLModule.cc:1614:57: warning: deprecated conversion from string constant to 
‘char*’ [-Wwrite-strings]
../dlflaux/DLFLCrust.hh: At global scope:
../dlflaux/DLFLCrust.hh:38:14: warning: ‘DLFL::crust_num_old_faces’ defined 
but not used [-Wunused-variable]
../dlflaux/DLFLCrust.hh:39:14: warning: ‘DLFL::crust_min_face_id’ defined 
but not used [-Wunused-variable]
../dlflaux/DLFLCrust.hh:43:14: warning: ‘DLFL::crust_min_vert_id’ defined 
but not used [-Wunused-variable]
../dlflaux/DLFLCrust.hh:44:14: warning: ‘DLFL::crust_num_old_verts’ defined 
but not used [-Wunused-variable]
error: command 'gcc' failed with exit status 1
Could not find qmake configuration directoryCould not find qmake configuration 
fileUsing OS scope before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(10): 
Querying unknown property QT_VERSIONProject MESSAGE: PYTHON support will be 
included/home/bitflow/topmod-read-only/topmodx/topmod.pro(83): Using OS scope 
before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(125): Using 
OS scope before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(141): Using 
OS scope before setting MAKEFILE_GENERATOR/usr/include/limits.h:125: circular 
inclusion of /usr/include/limits.h
/usr/include/wchar.h:37: circular inclusion of /usr/include/stdio.h
/usr/include/wctype.h:34: circular inclusion of /usr/include/wchar.h
/home/bitflow/topmod-read-only/topmodx/include/dlflcore/DLFLMaterial.hh:36: 
circular inclusion of 
/home/bitflow/topmod-read-only/topmodx/include/dlflcore/DLFLFace.hh
/home/bitflow/topmod-read-only/topmodx/VerseTopMod.hh:42: circular inclusion of 
/home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/TMPatchObject.hh:170: Cannot invoke tr() 
like this
/home/bitflow/topmod-read-only/topmodx/MainWindow.hh:56: circular inclusion of 
/home/bitflow/topmod-read-only/topmodx/BasicsMode.hh
/home/bitflow/topmod-read-only/topmodx/ExtrusionsMode.hh:46: circular inclusion 
of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/RemeshingMode.hh:41: circular inclusion 
of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/HighgenusMode.hh:44: circular inclusion 
of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/ConicalMode.hh:43: circular inclusion of 
/home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/TexturingMode.hh:50: circular inclusion 
of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/ExperimentalModes.hh:43: circular 
inclusion of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/include/ColorableRenderer.hh:54: 
Discarding unconsumed meta data
/home/bitflow/topmod-read-only/topmodx/TopModPreferences.hh:49: circular 
inclusion of /home/bitflow/topmod-read-only/topmodx/MainWindow.hh
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:695: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:734: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:772: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:801: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:818: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:842: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:867: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GLWidget.cc:892: Cannot invoke tr() like 
this
/home/bitflow/topmod-read-only/topmodx/GeometryRenderer.cc:51: Cannot invoke 
tr() like this
/home/bitflow/topmod-read-only/topmodx/qshortcutdialog.cc:263: Class 
'ShortcutGetter' lacks Q_OBJECT macro
Updating 'lang/topmod_de.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_it.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_en.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_ca.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_es.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_fr.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_hi.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Updating 'lang/topmod_tr.ts'...
    Found 831 source text(s) (0 new and 831 already existing)
Could not find qmake configuration directoryCould not find qmake configuration 
fileUsing OS scope before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(10): 
Querying unknown property QT_VERSIONProject MESSAGE: PYTHON support will be 
included/home/bitflow/topmod-read-only/topmodx/topmod.pro(83): Using OS scope 
before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(125): Using 
OS scope before setting 
MAKEFILE_GENERATOR/home/bitflow/topmod-read-only/topmodx/topmod.pro(141): Using 
OS scope before setting MAKEFILE_GENERATORUpdating 
'/home/bitflow/topmod-read-only/topmodx/lang/topmod_de.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_it.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_ca.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_es.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_fr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_hi.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
Updating '/home/bitflow/topmod-read-only/topmodx/lang/topmod_tr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 831 untranslated source text(s)
topmod.pro:42: Unknown test function: CONFIG
topmod.pro:68: Unknown test function: CONFIG
topmod.pro:73: Unknown test function: CONFIG
topmod.pro:78: Unknown test function: CONFIG
topmod.pro:131: Unknown test function: CONFIG
topmod.pro:135: Unknown test function: CONFIG
topmod.pro:138: Unknown test function: CONFIG
topmod.pro:281: Unknown test function: CONFIG
WARNING: Failure to find: ui_shortcutdialog.h
WARNING: Failure to find: ui_stylesheeteditor.h
Makefile:1696: attenzione: sovrascrittura dei comandi per l'obiettivo 
"tmp/stylesheeteditor.o"
Makefile:1663: attenzione: comandi obsoleti per l'obiettivo 
"tmp/stylesheeteditor.o" ignorati
Makefile:2568: attenzione: sovrascrittura dei comandi per l'obiettivo 
"tmp/moc_stylesheeteditor.o"
Makefile:2562: attenzione: comandi obsoleti per l'obiettivo 
"tmp/moc_stylesheeteditor.o" ignorati
Makefile:2628: attenzione: sovrascrittura dei comandi per l'obiettivo 
"tmp/moc_stylesheeteditor.cpp"
Makefile:2622: attenzione: comandi obsoleti per l'obiettivo 
"tmp/moc_stylesheeteditor.cpp" ignorati
g++ -c -pipe -g -w -O0 -pg -D_REENTRANT  -DVER=\"'\\"2.\\"'\" 
-DQT_VER=\"'\\"\\"'\" -DQCOMPLETER -DLINUX -DQT_THREAD_SUPPORT -DQT_SHARED 
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. 
-Iinclude -Iinclude/Graphics -Iinclude/Light -Iinclude/vecmat 
-Iinclude/dlflcore -Iinclude/dlflaux -Iinclude/verse -I/usr/include/qt3 -Itmp/ 
-o tmp/TopModPreferences.o TopModPreferences.cc
In file included from TopModPreferences.cc:34:0:
TopModPreferences.hh:33:17: fatal error: QtGui: File o directory non esistente
compilation terminated.
make: *** [tmp/TopModPreferences.o] Errore 1
bitflow@bitflow-VPCEH2N1E:~/topmod-read-only/topmodx$ 

Original comment by mashar...@gmail.com on 16 May 2012 at 12:24

GoogleCodeExporter commented 8 years ago
builds and runs for me on Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-34-generic x86_64)

modify the following line in makeall.sh
{{{
##  python dlfl_setup.py install  
  python2.7 dlfl_setup.py install
}}}

And modify the following lines in topmod.pro
{{{
##      LIBS += -lpython2.5 -L/usr/lib/python2.5/config
        LIBS += -lpython2.7 -L/usr/lib/python2.5/config -lutil -lm
                LIBS += -lGLU
}}}

fix casting precision issues by changing (unsigned int) to (unsigned long) in 
DLFLFaceVertex.hh, DLFLObject.hh, ...  

Original comment by BrentATh...@gmail.com on 19 Dec 2012 at 3:24

GoogleCodeExporter commented 8 years ago
I have compiled tompod 253 from source in ubuntu 12.04 64 bit, but when I run 
the topmod binary, it's freeze, no gui showin, from the terminal it's show 
northing, cpu get 100% used, what is the problem?

Original comment by Xsit...@gmail.com on 8 May 2013 at 9:23