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

Compile for Linux fails #3

Closed
MFernstrom opened this issue Feb 17, 2022 · 1 comment
Closed

Compile for Linux fails #3

MFernstrom opened this issue Feb 17, 2022 · 1 comment

Comments

@MFernstrom
Copy link

I'm trying to compile for linux but get:

(9022) Compiling resource D:\Development\Repos\TPocketSphinx\examples\colors\lib\i386-linux\PocketSphinxColors.or
(9015) Linking D:\Development\Repos\TPocketSphinx\bin\PocketSphinxColors
C:\fpcupdeluxe\fpc_3_2_2__laz_2_0_12\cross\bin\i386-linux\i386-linux-ld.exe: cannot find -lpocketsphinx
C:\fpcupdeluxe\fpc_3_2_2__laz_2_0_12\cross\bin\i386-linux\i386-linux-ld.exe: cannot find -lsphinxbase
C:\fpcupdeluxe\fpc_3_2_2__laz_2_0_12\cross\bin\i386-linux\i386-linux-ld.exe: cannot find -lsphinxad
D:\Development\Repos\TPocketSphinx\examples\colors\PocketSphinxColors.lpr(19,1) Error: (9013) Error while linking
D:\Development\Repos\TPocketSphinx\examples\colors\PocketSphinxColors.lpr(19,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\fpcupdeluxe\fpc_3_2_2__laz_2_0_12\fpc\bin\x86_64-win64\ppcross386.exe returned an error exitcode

The same for x64, rPI etc

@Kagamma
Copy link

Kagamma commented Feb 25, 2022

I haven't tried it myself but according to tutorial in README.md you need to build those libraries yourself. Or, compile it in Linux instead of using cross-compiler and install those missing libraries via Linux package managers.

@r1me r1me closed this as completed Mar 16, 2022
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

3 participants