Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: damiko193 on August 25, 2022, 02:27:09 PM



Title: Error Compiling Litecoin
Post by: damiko193 on August 25, 2022, 02:27:09 PM
Code:
In file included from ./libmw/include/mw/file/FilePath.h:26:0,
                 from ./libmw/include/mw/file/File.h:4,
                 from ./libmw/include/mw/file/AppendOnlyFile.h:3,
                 from ./libmw/include/mw/mmr/MMR.h:8,
                 from ./libmw/include/mw/node/CoinsView.h:9,
                 from ./coins.h:13,
                 from ./txmempool.h:17,
                 from blockencodings.cpp:13:
./libmw/include/mw/exceptions/FileException.h:3:10: fatal error: mw/exceptions/ALCException.h: No such file or directory
 #include <mw/exceptions/ALCException.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:11962: recipe for target 'libbitcoin_server_a-blockencodings.o' failed
make[2]: *** [libbitcoin_server_a-blockencodings.o] Error 1
make[2]: Leaving directory '/home/damian/Desktop/alcoholcoin/src'
Makefile:20694: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/damian/Desktop/alcoholcoin/src'
Makefile:811: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any solutions?


Title: Re: Error Compiling Litecoin
Post by: vv181 on August 25, 2022, 02:48:20 PM
Are you sure you are compiling Litecoin directly from the code base? Did you change something or try to fork any of it?

Based on their current master branch, FileException.h (https://github.com/litecoin-project/litecoin/blob/4ae03b3f04ae273c64d8613182fb7c5e83e87705/src/libmw/include/mw/exceptions/FileException.h#L3) file does contain LTCException.h header, which the file exists correctly on there(https://github.com/litecoin-project/litecoin/blob/master/src/libmw/include/mw/exceptions/LTCException.h).

You seem like you have been renaming all the "LTC" words with "ALC".


Title: Re: Error Compiling Litecoin
Post by: damiko193 on August 25, 2022, 03:11:16 PM
Are you sure you are compiling Litecoin directly from the code base? Did you change something or try to fork any of it?

Based on their current master branch, FileException.h (https://github.com/litecoin-project/litecoin/blob/4ae03b3f04ae273c64d8613182fb7c5e83e87705/src/libmw/include/mw/exceptions/FileException.h#L3) file does contain LTCException.h header, which the file exists correctly on there(https://github.com/litecoin-project/litecoin/blob/master/src/libmw/include/mw/exceptions/LTCException.h).

You seem like you have been renaming all the "LTC" words with "ALC".


yes bro already fixed, thanks <3