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

Build does not work #20

Open
MarcusE1W opened this issue Oct 30, 2019 · 2 comments
Open

Build does not work #20

MarcusE1W opened this issue Oct 30, 2019 · 2 comments

Comments

@MarcusE1W
Copy link

Hi.

I could not build the editor with the build instructions.

First when using make I get the error message:

/bin/sh: -std-c99: command not found

I guess tis cmes from the variable CPP in the make file:

CXX = -std-c99 gcc

Just to try I have replaced that with gcc -std=c99 but then I get:

/usr/bin/ld: cannot find -lerl_interface
/usr/bin/ld: cannot find -lei

and am quite far out of my depth and stopped experimenting.

I am using Archlinux ARM

@jacksonbenete
Copy link

Well, I was not able to compile in macOS although macOS do have wxWidgets support.

I didn't tried a workaround for your problem on ARM Linux, but if you only want to experiment the software you can cd into src and start from the erlang repl.

Compile all the four files:
1> c(smoltext). {ok,smoltext} 2> c(menu_file). {ok,menu_file} 3> c(menu_edit). {ok,menu_edit} 4> c(menu_tools). {ok,menu_tools}

Then smoltext:start(). will start the text editor.

@ijm7
Copy link
Owner

ijm7 commented Nov 7, 2022

I think the issue might be caused by using a newer version of Erlang with the included erlang.mk. You might be able to solve it by pulling in a newer erlang.mk and using that instead.

Or as mentioned above you can skip building the executable and just compile the files on their own without using make.

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