Hacking Noob-Proof guide to compile RxTools source.

  • Thread starter Thread starter capito27
  • Start date Start date
  • Views Views 23,817
  • Replies Replies 132
  • Likes Likes 18
Iv been trying to find a solution for this error for quite some time on google, but the very few solutions that iv found so far havent been able to solve my issues, so heres a screen of the error i get every time i try to run pythonw or python, iv been told to post here to try to find a solution so this is like kind of my last resource for this :( heres a pic of the error:

View attachment 36178

Why are you running PYTHON or PYTHON.EXE? That's not how a development environment works. What exactly are you trying to do?
 
Why are you running PYTHON or PYTHON.EXE? That's not how a development environment works. What exactly are you trying to do?

its just an example to replicate the error, when i run the rxtools python scrip cdn_firm i always get that error, thats why im trying to fix it
 
Start by uninstalling python, then use the link in the first post to grab 2.7.10 or 2.7.11, and install that. You shouldn't be using a pythonw.exe...

Then, you may want to add Python to your path (adjust for wherever you install yours)

C:\Python27\;C:\Python27\Scripts

Then, instead of double-clicking the .py script (because your file associations may be messed up... we can fix that later) open a command prompt and type "python cdn_firm.py"
 
Last edited by urherenow,
its just an example to replicate the error, when i run the rxtools python scrip cdn_firm i always get that error, thats why im trying to fix it

If you haven't already, remove your existing Python installation.

Download a copy from https://www.python.org/downloads/ and let it modify the path and installation environment. There shouldn't be any additional setup unless you're running under a restricted user account.

Edit: I'd also check to see if you have any 32bit C++ Redistributables installed and remove them. In fact I'd note what you have and redo them all anyway.
 
Last edited by ,
Start by uninstalling python, then use the link in the first post to grab 2.7.10 or 2.7.11, and install that. You shouldn't be using a pythonw.exe...

Then, you may want to add Python to your path (adjust for wherever you install yours)

C:\Python27\;C:\Python27\Scripts

Then, instead of double-clicking the .py script (because your file associations may be messed up... we can fix that later) open a command prompt and type "python cdn_firm.py"

adding the path's to my system and using 2.7.11 fixed my issue, cant belive no one posted something like this b4 anywhere -.- but thxs once again for ur help :)
 
adding the path's to my system and using 2.7.11 fixed my issue, cant belive no one posted something like this b4 anywhere -.- but thxs once again for ur help :)

Glad to hear you got it working. If you installed 2.7, it was the last option to check (it's usually disabled) [labeled - Add Python to PATH for anyone wondering]
 
adding the path's to my system and using 2.7.11 fixed my issue, cant belive no one posted something like this b4 anywhere -.- but thxs once again for ur help :)
To be fair, it was *sort of* covered in this very thread long ago on page 4. It has only just reached 6 pages, so it's not like there's much to sort through...
 
I now have permission to edit the OP. I have already changed the instructions for the source code (installing git, and using git clone --recursive), and I have added a special note about the system path. This should really take care of any issues that aren't already covered in the rxTools README.md. Please let me know if any other adjustments need to be made. At this point, I've been building my own for quite a while with no issues, so my blinders are on :P
 
Help with this please, it gets as far as:

CONVERT build/font.bin

And then continues to create a font.bin file that grows and grows and grows until my HDD would eventually run out of space. I know I could just download the nightly, but there's some satisfaction in building it yourself. :)

Here's my path:
C:\Program Files\ImageMagick-6.9.3-Q16;C:\MinGW\bin;C:\devkitPro\msys\bin;C:\devkitPro\devkitARM\bin;C:\Python27\;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Users\Daren\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\cmd[/spoier]
 
Last edited by D34DL1N3R,
Help with this please, it gets as far as:

CONVERT build/font.bin

And then continues to create a font.bin file that grows and grows and grows until my HDD would eventually run out of space. I know I could just download the nightly, but there's some satisfaction in building it yourself. :)

try a different version of imagemagick.

Edit: and when you figure out which binary works, please post back the link, so I can update the main post. Only just realized that it isn't mentioned... (although it is mentioned on the rxTools GitHub page... but not which specific version to use...)
 
Last edited by urherenow,
try a different version of imagemagick.

Edit: and when you figure out which binary works, please post back the link, so I can update the main post. Only just realized that it isn't mentioned... (although it is mentioned on the rxTools GitHub page... but not which specific version to use...)

Just finished trying all 12 binaries. Same thing for all with the endlessly increasing size font.bin file.
 
did you "make clean" each time before trying again?

If so, maybe you need to delete the whole tree and re-clone it.

I made the clone, then backed it up in a different location. Completely deleted the main one and replaced it with the backup between each try.
 
Last edited by urherenow,
if there was a problem with your initial clone in the first place, doing this would never solve your problem.

@D34DL1N3R try temporarily renaming convert.exe and see what happens when you use this one: https://www.dropbox.com/s/guv1a7uc6nqtalk/convert.exe?dl=0

(I have ImageMagick-6.9.1-Q16 installed)
I'm in the same situation as @D34DL1N3R, We do have the same version...
I have ImageMagick-6.9.3-Q16 but on the 64-bit version...

It writes the font.bin but it eats up entire hdd..

EDIT: Tried your version but still the same thing @urherenow

EDIT 2: I always delete the rxtools folder and reclone it... Hmmm
 
Last edited by Sev501,
Edit: I just installed the latest ImageMagick and had the same issue. Went back to my installed ImageMagick-6.9.1-Q16 and it built fine...

If I don't find a good solution in a bit, I'll zip up my ImageMagick and upload it for you guys.

Edit2: removed. Need the installation executable for it to work.
 
Last edited by urherenow,
  • Like
Reactions: Sev501
https://mega.nz/#!BVtnhKAR!IeP8bc2GfXFVKNplMdgeMqQmM5MXScTordGD4NxoqJo

Please let me know if this works so I can add the link to the main page.

Now I get this (already had the Visual C++ runtime libraries):

CONVERT build/font.bin
convert.exe: RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagi
ckModulePath/662.
convert.exe: no decode delegate for this image format `BMP' @ error/constitute.c
/ReadImage/501.
convert.exe: no images defined `-' @ error/convert.c/ConvertImageCommand/3230.
convert.exe: no decode delegate for this image format `' @ error/constitute.c/Re
adImage/501.
convert.exe: no images defined `-' @ error/convert.c/ConvertImageCommand/3230.
convert.exe: no decode delegate for this image format `' @ error/constitute.c/Re
adImage/501.
convert.exe: no images defined `gray:build/font.bin' @ error/convert.c/ConvertIm
ageCommand/3230.
make[1]: *** [build/font.bin] Error 1
make[1]: Leaving directory `/c/rxTools/rxtools'
make: *** [all-target-rxtools] Error 2
 
Last edited by D34DL1N3R,
Edit: I just installed the latest ImageMagick and had the same issue. Went back to my installed ImageMagick-6.9.1-Q16 and it built fine...

If I don't find a good solution in a bit, I'll zip up my ImageMagick and upload it for you guys.

Edit2: Put this wherever and add the location to your path (remove your current installation from your path)

https://mega.nz/#!BVtnhKAR!IeP8bc2GfXFVKNplMdgeMqQmM5MXScTordGD4NxoqJo

Please let me know if this works so I can add the link to the main page.

@D34DL1N3R
@Sev501

and if it still doesn't work... did you do this?
Thank you @urherenow.. Will try it once I get home from work.

Yup I already have the runtime installed. Thanks. Will let you know later.

--Sev
 

Site & Scene News

Popular threads in this forum