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

More documentation is wanted #3

Closed
adah1972 opened this issue Aug 6, 2024 · 5 comments
Closed

More documentation is wanted #3

adah1972 opened this issue Aug 6, 2024 · 5 comments
Assignees

Comments

@adah1972
Copy link

adah1972 commented Aug 6, 2024

Describe the bug
The document is lacking, and it is difficult to start. There need to be installation steps.

Desktop (please complete the following information):

  • OS: Ubuntu Linux
  • Version 22.04 LTS

Additional context
After the Linux build steps, I find icpp under build/src/. However, although it starts, it fails to work. The interactions:

$ src/icpp
ICPP v0.1.1.255. Copyright (c) vpand.com.
Running C++ in anywhere like a script.
>>> #include <iostream>
>>> std::cout << "Hello\n";
/tmp/9ff57889.cc:1:10: fatal error: 'iostream' file not found
    1 | #include <iostream>
      |          ^~~~~~~~~~
1 error generated.
11:58:33 R - Failed to compile: ./icpp -w -O1 -c /tmp/9ff57889.cc -o /tmp/9ff57889.o -no-canonical-prefixes -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-#pragma-messages -Wno-unknown-argument -std=c++23 -I/home/adah/Programming/icpp/build/src/./../include/c++/v1 -nostdinc++ -nostdlib++ -target x86_64-unknown-linux-gnu -fprebuilt-module-path=/home/adah/Programming/icpp/build/src/./../include/linux/module -I/home/adah/Programming/icpp/build/src/./../include
@GeekNeo
Copy link
Contributor

GeekNeo commented Aug 6, 2024

The newly built naked icpp of course doesn't work. It needs the include/lib related stuff. The simplest way to run your own version is to replace the binary in the official release package. If you want to run it in the build directory, you need to construct the directory layout like the release package.
e.g:
build:
---include
------hdr-related
---src
------icpp
---lib
------lib-related

@adah1972
Copy link
Author

adah1972 commented Aug 6, 2024

The newly built naked icpp of course doesn't work. It needs the include/lib related stuff. The simplest way to run your own version is to replace the binary in the official release package. If you want to run it in the build directory, you need to construct the directory layout like the release package. e.g: build: ---include ------hdr-related ---src ------icpp ---lib ------lib-related

My bug report was on documentation. :-)

As a user, I want the stuff to be well documented. I have no ideas where I should copy the files to or what other stuff I should combine with. Anything apparent to you developers are probably not so to me.

@GeekNeo
Copy link
Contributor

GeekNeo commented Aug 6, 2024

OK, I'll describe this in the next release.

@adah1972
Copy link
Author

adah1972 commented Aug 6, 2024

OK, I'll describe this in the next release.

Next release? If it is not very complicated, just provide the instructions in README, please.

@adah1972
Copy link
Author

adah1972 commented Aug 8, 2024

So there is no way to build and install completely from source?...

Anyway, I built from source only because the table in README says Executable Binary is not yet available. Since it is available, I am not in hurry.

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

2 participants