oryol icon indicating copy to clipboard operation
oryol copied to clipboard

Missing ETC converter tools on Linux and Windows (convert and etcpack)

Open HaronK opened this issue 11 years ago • 4 comments

I'm trying to build web samples but getting exception in toETC function in tools/texexport.py. This is caused by missing convert and etcpack binaries in tools/linux folder.

UPD. I just commented to calls to the toETC function and started build again. Now I'm getting following error message:

IOError: [Errno 2] No such file or directory: '.../projects/fips_projects/fips-deploy/oryol-webpage/websamples.yml'

Probably it caused by problem with missing tools.

HaronK avatar Feb 26 '15 14:02 HaronK

The websamples.yml file is created during a cmake. Try doing a './fips clean all' and then do another './fips webpage build'. I think this is a bug in oryol/fips-verbs/webpage.py, where the websamples.yml is deleted together with the oryol-webpage directory.

Looks like I forgot to add the precompiled ETC tools for Linux and Windows. I edited the ticket title accordingly.

floooh avatar Feb 26 '15 17:02 floooh

'./fips clean all' helped, but:

/fips_projects/oryol$ ./fips webpage serve
[ERROR] FIXME: Linux not supported yet

:(

HaronK avatar Feb 26 '15 18:02 HaronK

Ah I totally forgot about that. As a workaround you can start a local http server with 'python -m SimpleHTTPServer' in ../fips-deploy/oryol-webpage, and then in a webgl-capable browser, navigate to http://localhost:8000

I'll see if I can fix the not yet supported yet stuff right away.

floooh avatar Feb 26 '15 19:02 floooh

I have added a fix for './fips webpage serve' for Linux (and Windows), let me know if it works for you. This uses xdg-open to open a http url in the default browser (tested on Linux Mint with Cinnamon desktop)

floooh avatar Feb 26 '15 19:02 floooh