Comments (19)
Great thread. I am eagerly awaiting resolution. Also want to build it on my Raspi-3-b.
(It lives on a GoPiGo right now)
from julius.
Fixed it, thanks for testing again!
from julius.
Now fixed, could you try the latest code on master branch?
from julius.
Yes sir I'll try and I will discuss if all went well
thank you very much.
from julius.
I do the ./configure step all went well, but wen I do the sudo make step this is the output:
gcc -g -O2 -Iinclude -DHAVE_CONFIG_H -o src/phmm/vsegment.o -c src/phmm/vsegment.c
gcc -g -O2 -Iinclude -DHAVE_CONFIG_H -o src/phmm/calc_dnn.o -c src/phmm/calc_dnn.c
src/phmm/calc_dnn.c: In function ‘dnn_setup’:
src/phmm/calc_dnn.c:542:10: error: ‘use_simd’ undeclared (first use in this function)
switch(use_simd) {
^
src/phmm/calc_dnn.c:542:10: note: each undeclared identifier is reported only once for each function it appears in
src/phmm/calc_dnn.c:543:8: error: ‘USE_SIMD_AVX’ undeclared (first use in this function)
case USE_SIMD_AVX:
^
src/phmm/calc_dnn.c:548:8: error: ‘USE_SIMD_SSE’ undeclared (first use in this function)
case USE_SIMD_SSE:
^
Makefile:12: recipe for target 'src/phmm/calc_dnn.o' failed
make[1]: *** [src/phmm/calc_dnn.o] Error 1
make[1]: Leaving directory '/home/pi/julius-master/libsent'
Makefile:56: recipe for target 'libsent' failed
make: *** [libsent] Error 2
I hope this can help sir.
thank you very much 4 your time.
from julius.
Having not tested on non-SSE/AVX environment. Fixed!
Thanks for your report.
from julius.
Everything was perfect, but it gave me an error near the end of step make install:
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include ../libsent/libsent-config --cflags
../libjulius/libjulius-config --cflags
-o charconv_iconv.o -c charconv_iconv.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include ../libsent/libsent-config --cflags
../libjulius/libjulius-config --cflags
-o julius main.o recogloop.o module.o output_module.o output_stdout.o output_file.o record.o charconv.o charconv_iconv.o -L../libjulius ../libjulius/libjulius-config --libs
-L../libsent ../libsent/libsent-config --libs
../libsent/libsent.a(calc_dnn.o): En la función dnn_setup': /home/pi/julius-master/libsent/src/phmm/calc_dnn.c:551: referencia a
cpu_id_check' sin definir ###reference to `cpu_id_check' undefined ###
collect2: error: ld returned 1 exit status
Makefile:57: recipe for target 'julius' failed
make[1]: *** [julius] Error 1
make[1]: Leaving directory '/home/pi/julius-master/julius'
Makefile:56: recipe for target 'julius' failed
make: *** [julius] Error 2
I'm very sorry not being able to fix the problem myself, my knowledge is limited, I would love to help more.
Thank you very much Mr Akinobu I really appreciate it
from julius.
Fixed it. Thanks for testing!
from julius.
This time i will paste all because maybe it help you more this is the output of configure:
checking for dlopen... ./configure: line 1588: ac_fn_c_try_link: command not found
no
checking for gethostbyname... ./configure: line 1735: ac_fn_c_try_link: command not found
no
checking for sf_open in -lsndfile... no
checking for sf_open_read in -lsndfile... no
configure: WARNING: libsndfile enables AIFF AU SND NIST format for Julius.
It's available at http://www.mega-nerd.com/libsndfile/
The output of make step:
make[1]: Leaving directory '/home/pi/julius-master/binlm2arpa'
make[1]: Entering directory '/home/pi/julius-master/man'
Nothing to build
make[1]: Leaving directory '/home/pi/julius-master/man'
Edited to safe some space.
from julius.
Seems no error.
from julius.
he he he ok my fault I'm afraid about warnings, I edit the message because is huge.
Just one more, in the last step make install show this error:
make[1]: Leaving directory '/home/pi/julius-master/adinrec'
make[1]: Entering directory '/home/pi/julius-master/adintool'
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c adintool /usr/local/bin
make -f Makefile.gui install.bin
make[2]: Entering directory '/home/pi/julius-master/adintool'
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include ../libsent/libsent-config --cflags
../libjulius/libjulius-config --cflags
-DUSE_SDL -o guiobj/adintool.o -c adintool.c
In file included from adintool.c:32:0:
adintool.h:21:17: fatal error: SDL.h: No such file or directory
compilation terminated.
Makefile.gui:9: recipe for target 'guiobj/adintool.o' failed
make[2]: *** [guiobj/adintool.o] Error 1
make[2]: Leaving directory '/home/pi/julius-master/adintool'
Makefile:37: recipe for target 'install.bin' failed
make[1]: *** [install.bin] Error 2
make[1]: Leaving directory '/home/pi/julius-master/adintool'
Makefile:56: recipe for target 'adintool' failed
make: *** [adintool] Error 2
I will try some recognition test to see what happens! I will enjoy with my raspberry a lot, Thank you again Mr. Akinobu
from julius.
OK, it seems that configure set SDL_CFLAGS to blank. I guess it may be fixed by installing "pkg-config". Could you try it if you have a time?
from julius.
Sure I'll do whatever it takes until it works,
pi@raspberrypi:~/julius-master $ sudo apt-get install pkg-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version
But I get the same error...
...Is there any problem by trying to compile from an ssh session?? I'll try directly
from julius.
May be a silly question, but do you have libsdl2-dev
installed?
from julius.
@GeorgesStavracas yes, it's true that installing libsdl2-dev
is a solution. But actually the SDL2 library is only for adintool-gui
and it's optional, so I want Julius to be compiled without SDL.
Anyway I found a bug in adintool/Makefile.in in that it wrongly tries to compile adintool-gui
even if SDL2 does not found in configure, when make install
is invoked.
I've already fixed the bug and pushed the fix to the latest master. I hope everything will go as I expect.
from julius.
it's true @GeorgesStavracas I do not have installed libsdl2-dev, Seems that it is no longer necessary so I'll test
Thank you both
Edit.
This time make step shows this:
src/phmm/calc_dnn.c:11:19: fatal error: cpuid.h: No such file or directory
#include <cpuid.h>
^
compilation terminated.
Makefile:12: recipe for target 'src/phmm/calc_dnn.o' failed
make[1]: *** [src/phmm/calc_dnn.o] Error 1
make[1]: Leaving directory '/home/pi/julius-master/libsent'
Makefile:56: recipe for target 'libsent' failed
make: *** [libsent] Error 2
from julius.
Updated ARM/NEON related codes (FMA is only supported on NEONv2, not NEON).
from julius.
Perfect yes sir. 100% fully working you made it, I have no words to thank enough.
I tested on my Ubuntu 16.04 too and work like a charm. Now I 'll try the recognition.
from julius.
Thanks for testing! this issue is closed.
from julius.
Related Issues (20)
- outpute file .out problem
- How to run ../julius/julius/julius -C julius.jconf -dnnconf dnn.jconf command
- Is there a tutorial to go with this app?
- Is the creation of DNN models with HTK + inference with julius still a good choice HOT 2
- About training
- having issues installing julius on a macbook with M1 chip
- Juliusを実行しようとするとエラーで動きません
- Deleted
- Possible data race issues HOT 1
- Suggestions to avoid communication deadlocks HOT 1
- too many arguments in call to 'connect_to_output_device'
- how to know the absolute start and end timestamps of each sentence
- Failed to recognize Audio
- mkgshmm does not install HOT 1
- Makefiles do not honour DESTDIR setting
- Julius does not run
- m_jconf error in the linux terminal HOT 1
- Why can't I use DNN and grammar together? HOT 2
- may be out of bounds
- breathing sounds when using a grammar model for speech recognition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julius.