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

Undefined reference to main when trying to compile porthos #13

Closed
0xlimE opened this issue Feb 20, 2020 · 3 comments
Closed

Undefined reference to main when trying to compile porthos #13

0xlimE opened this issue Feb 20, 2020 · 3 comments

Comments

@0xlimE
Copy link

0xlimE commented Feb 20, 2020

Hello! I get this error when trying to compile porthos after the instructions.
image

@0xlimE
Copy link
Author

0xlimE commented Feb 20, 2020

It goes on with undefined references, I would love some assistance for fixing this :)

@mayank0403
Copy link
Collaborator

mayank0403 commented Feb 20, 2020

Hi,

Seems like you forgot to select one example neural net before compiling. Here is what you should do:
Go to: EzPC/Porthos/src/example_neural_nets/network_config.h and uncomment one of the neural network #define. For example, if you want to run ResNet50, then uncomment line 4 from

//#define F_RESNET50

to

#define F_RESNET50

@0xlimE
Copy link
Author

0xlimE commented Feb 20, 2020

Thank you for your help!

@0xlimE 0xlimE closed this as completed Feb 20, 2020
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