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

#define SOL /* Compile as a shared object library */ #5

Closed
jmpmcmanus opened this issue Aug 17, 2017 · 1 comment
Closed

#define SOL /* Compile as a shared object library */ #5

jmpmcmanus opened this issue Aug 17, 2017 · 1 comment

Comments

@jmpmcmanus
Copy link

I have not been able to compile swmm5 as a shared object file, on a linux (fedora) system. I have been able to compile it as an executable, by commenting out the references to Windows in swmm5.c and uncommenting #define CLE. However, if I try the same thing with #define SOL I get the following error:

/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/crt1.o: In function _start': (.text+0x20): undefined reference to main'
collect2: error: ld returned 1 exit status
make: *** [Makefile:12: swmm5] Error 1

There are no reference to SOL further down in swmm5.c. What do I have to do to get this option to work?

Thanks
Jim

@bemcdonnell
Copy link

@jmpmcmanus, I copied this issue over to pyswmm#74

michaeltryby pushed a commit that referenced this issue Jun 3, 2018
easyteacher pushed a commit to easyteacher/Stormwater-Management-Model that referenced this issue Nov 24, 2021
add double pointer back to swmm_getSubcatchPollut
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